The electrodeposition of soft magnetic iron and iron-silicon alloys for magnetic measurements is presented. The preparation of these materials in 1-butyl-1-methylpyrrolidinium trifluoromethylsulfonate, [Py1,4]TfO, at 100 °C with FeCl2 and FeCl2 +SiCl4 was studied by using cyclic voltammetry. Constant-potential electrolysis was carried out to deposit either Fe or FeSi, and deposits of approximately 10 μm thicknesses were obtained. By using scanning electron microscopy and X-ray diffraction, the microstructure and crystallinity of the deposits were investigated. Grain sizes in the nanometer regime (50-80 nm) were found and the presence of iron-silicon alloys was verified. Frequency-dependent magnetic polarizations, coercive forces, and power losses of some deposits were determined by using a digital hysteresis recorder. Corresponding to the small grain sizes, the coercive forces are around 950-1150 A m(-1) and the power losses were at 6000 J m(-3), which is much higher than in commercial Fe(3.2 wt %)Si electrical steel. Below a polarization of 1.8 T, the power losses are mainly caused by domain wall movements and, above 1.8 T, by rotation of magnetic moments as well as domain wall annihilation and recreation.