An electromagnet comprising a plurality of coils of superconductive material, monolithically embedded in an embedding material, which is solid at the temperature of operation of the superconductive electromagnet, and a method for producing an electromagnet comprising a plurality of coils of superconductive material, comprising the steps of winding coils of superconductive material, retaining the coils at predetermined relative positions, and monolithically embedding the plurality of superconducting coils in an embedding material, which is solid at the temperature of operation of the superconductive electromagnet.