A pulsed power supply with a compact and low-cost electric-double-layer-capacitor (EDLC) is developed for generating pulsed magnetic fields with a long pulse duration of a few seconds. The system is demonstrated in three experimental setups using a 10.7 F- or 50 F-EDLC capacitor bank. By using the 10.7 F-EDLC capacitor bank with a 27 mm wide-bore magnet, the pulsed magnetic field with a peak field strength of 24.3 T and a pulse duration of ∼1 s is generated. The field profiles are reproduced in the theoretical calculations taking Joule heating into account. The calculations are also used to discuss possible variations of the field profile for future investigations.