Belonging to the field of material science, the invention relates to a biological template preparation based preparation method for magnetic photonic crystals. The method comprises the following steps of: step one, conducting surface pretreatment on a biological template; step two, preparing a precursor metal sol-gel solution; step three, putting the well treated biological template into the prepared precursor solution for dipping treatment; step four, after dipping, taking out of a sample, flushing it with distilled water, and conducting drying and roasting to remove the biological template, thus obtaining a ferric oxide material maintaining a photonic crystal structure; and step five, carrying out further sintering and reducing in a mixed gas of hydrogen and argon, thus obtaining a magnetic ferroferric oxide material maintaining a photonic crystal structure. Compared with prior art, the magnetic material with a natural photonic crystal structure prepared in the invention has good response to magnetism-light, thus having potential application prospects in the field of magneto-optical communication devices.