Magnetosome biomineralization and chain formation in magnetotactic bacteria are two processes that are highly controlled at the cellular level in order to form cellular magnetic dipoles. However, even if the magnetosome chains are well characterized, controversial results about the microstructure of magnetosomes were obtained and its possible influence in the formation of the magnetic dipole is to be specified. For the first time, the microstructure of intracellular magnetosomes was investigated using high-resolution synchrotron X-ray diffraction. Significant differences in the lattice parameter were found between intracellular magnetosomes from cultured magnetotactic bacteria and isolated ones. Through comparison with abiotic control materials of similar size, we show that this difference can be associated with different oxidation states and that the biogenic nanomagnetite is stoichiometric, i.e. structurally pure whereas isolated magnetosomes are slightly oxidized. The hierarchical structuring of the magnetosome chain thus starts with the formation of structurally pure magnetite nanoparticles that in turn might influence the magnetic property of the magnetosome chains.