The disclosure provides a magnetic film which includes a titania nanosheet which is formed on a transparent substrate and contains a layered titanium oxide in which at least one magnetic element is substituted for a Ti lattice position, the titanium oxide being expressed by a formula: Ti2-xMxO4 where M is at least one kind of transition metal elements chosen from among V, Cr, Mn, Fe, Co, Ni, and Cu, and 0<x<2, a dispersant surrounding the nanosheet, and a water-soluble organic compound.