We demonstrate that a focused ion beam can deposit magnetic coatings on cantilevers used for
atomic force microscopy, thereby producing a sensor for magnetic force microscopy. This technique
is highly versatile, allowing the convenient deposition of complex or expensive materials, such as
Co71Cr17Pt12. A second material chosen for this demonstration was the permalloy
(Ni80Fe20). We show magnetic images acquired with these cantilevers to illustrate their excellent
properties and the differences between coatings. In principle, multilayer coatings could be
easily made with this technique.