he behavior of magnetization in films of ferromagnetic inverted opallike nanostructures basedon cobalt and nickel is studied. The remagnetization curves M(H) and temperature dependences M(T) in theranges of H from –50 000 to +50 000 Oe and T = 5–350 K are measured by magnetometry using a superconducting quantum interference device (SQUIDmagnetometry). It is demonstrated that at T > 70 K, the totalmagnetization of the inverted nanostructures is composed of four local magnetizations, the vectors of whichare oriented along the [111] anisotropy axes of a spatial opallike structure. At low temperatures, the anisotropy of the film is found to make an additional significant contribution. The critical magnetic fields corresponding to reorientation of the local magnetization vectors along the [111] anisotropy axes are determinedfrom the M(H) experimental curves. The data obtained for ferromagnetic inverted opallike nanostructuresare compared with the behavior of magnetization in continuous nickel and cobalt films