a method and device for winding and baking compact coils of wire with at least one baked enamel layer on a heated winding mandrel . the method includes providing the winding mandrel at the beginning of winding with a temperature which is above the softening temperature of the baked lacquer . the device includes at least one electrical heating cartridge arranged in the interior of the winding mandrel .