The development of laboratory electromagnets is sketched from the very beginning to the present state of the art. The demand for higher fields in the scientific community is briefly discussed. The influence of Joule heating and magnetic stress on the performance of solenoid magnets is illustrated by means of scaling laws and examples for the optimisation of internally reinforced coils. The generation of megagauss fields by means of destructive devices is reviewed, and the conditions under which such high fields can be obtained are clearly stated. Experimental results are compared with this simple theoretical analysis. An outlook to further development is given.