In this report b-cyclodextrin has been grafted onto cotton fabric and the magnesium ions were loaded onto the resulted grafted fabric to impart antibacterial activity. Both the prepared b-cyclodextrin grafted fabric and magnesium ions loaded grafted fabric were characterized by scanning electron microscope and Fourier transform infrared techniques. The antibacterial character of magnesium ions loaded fabric was tested by agar diffusion test against E. coli and S. aureus. The results show that Gram positive (S. aureus) bacteria shows better antibacterial character than Gram negative bacteria (E. coli).