Biofouling is a major problem in all natural and artificial settings where solid surfaces meet liquids in the presence of living microorganisms. Microbes attach to the surface and form a multidimensional slime that protects them from unfavorable environments. These structures, known as biofilms, are detrimental and very hard to remove. Here, we used SMART magnetic fluids [ferrofluids (FFs), magnetorheological fluids (MRFs), and ferrogels (FGs) containing iron oxide nano/microparticles] and magnetic fields to remove bacterial biofilms from culture tubes, glass slides, multiwell plates, flow cells, and catheters. We compared the ability of different SMART fluids to remove biofilms and found that commercially available, as well as homemade, FFs, MRFs, and FGs can successfully remove biofilm more efficiently than traditional mechanical methods, especially from textured surfaces. In tested conditions, SMARTFs reduced bacterial biofilms by five orders of magnitude. The ability to remove biofilm increased with the amount of magnetic particles; therefore, MRFs, FG, and homemade FFs with high amounts of iron oxide were the most efficient. We showed also that SMART fluid deposition can protect a surface from bacterial attachment and biofilm formation. Possible applications of these technologies are discussed.