The dataset contains magnetisation and magnetic force microscopy data, with measurements performed on single crystals of the ferromagnetic iron-based superconductor EuFe2(As1-xPx)2, with x~0.21, Tc~24 K and T_FM~19 K. Magnetisation data was collected using a Quantum Design SQUID magnetometer at the University of Bristol, at temperatures ranging from 5.0 to 25.0 K and magnetic fields ranging in magnitude up to 10,000 Oe (1 Tesla). The measurements were primarily in the form of magnetic hysteresis loops, with some further measurements of magnetic relaxation. From this data, quantities such as magnetic susceptibility, coercive field, critical current density and effective pinning potential are derived. Magnetic force microscopy (MFM) data were acquired using a home-built oscillating magnetic nanowire microscope at the University of Basel. Scan data were acquired in temperatures ranging from approximately 22 K down to 4.3 K, and in magnetic fields ranging in magnitude up to 10,000 Oe (1 Tesla). Line profiles were derived from these 2D scan data.