Polarization and related spin properties are important characteristics of electromagnetic waves and their manipulation is crucial in almost all photonic applications. Magnetic materials are often used for controlling light polarization through the magneto-optical Kerr or Faraday effects. Recently, complex topological structures of the optical spin have been demonstrated in the evanescent light field, which in the presence of the spin–orbit coupling may form photonic skyrmions. Here, we investigate the optical spin–orbit coupling in the presence of magnetization and the interaction between photonic skyrmions and magnetic domains. We demonstrate that the magnetization is responsible for the modulation of the optical spin distribution, resulting in twisted Neel-type skyrmions. This effect can be used for the visualization of magnetic domain structure with both in plane and polar orientation of magnetization, and in turn for creation of complex optical spin distributions using magnetization patterns. The demonstrated interplay between photonic skyrmions and magneto-optical effects may also provide novel opportunities for investigation and manipulation of magnetic skyrmions using optical spin–orbit coupling.