Magnetosomes are unique organelles that 'magnetize' bacteria. In this Review, Uebe and Schüler discuss our current understanding of the mechanisms of magnetosome biogenesis, and consider how recent genetic advances in this area may lead to the development of exciting biotechnological applications.