The design of biodegradable magnetic nanoparticles for use in in-vivo biomedical applications. The particles can include Fe in combination with one or more of Mg, Zn, Si, C, N, and P atoms or other particles. The nanoparticles can be degraded in-vivo after usage. The nanoparticles can cease heating upon reaching a predetermined temperature or other value.