Abstract : In this work, we present a detailed investigation of the magnetic properties of cobalt nanospheres grown on cantilever tips by focused electron beam induced deposition (FEBID). The cantilevers are extremely soft and the cobalt nanospheres are optimized for magnetic resonance force microscopy (MRFM) experiments, which implies that the cobalt nanospheres must be as small as possible while bearing high saturation magnetization. It was found that the cobalt content and the corresponding saturation magnetization of the nanospheres decrease for nanosphere diameters less than 300 nm. Electron holography measurements show the formation of a magnetic vortex state in remanence, which nicely agrees with magnetic hysteresis loops performed by local magnetometry showing negligible remanent magnetization. As investigated by local magnetometry, optimal behavior for high-resolution MRFM has been found for cobalt nanospheres with a diameter of ≈200 nm, which present atomic cobalt content of ≈83 atom % and saturation magnetization of 10$^6$ A/m, around 70% of the bulk value. These results represent the first comprehensive investigation of the magnetic properties of cobalt nanospheres grown by FEBID for application in MRFM.