The invention relates to a method for producing a lamp according to which th e lamp tube (1), with the open end (5) thereof, is inserted in a gas-tight manner into a pump head (2) with a support (6), which supports a closing pla te (7) that is provided with an electrode system and with connection pins (10). Said closing plate (7) has an outer contour which is slightly smaller than t he inner contour of the open end (5) of the lamp tube (1) so that the lamp tube (1) can be pumped via the pump head (2) and can be filled with gases. The ed ge of the closing plate (7) and the lamp tube (1) are subsequently heated so th at the lamp tube (1) matches the height of the closing plate (7) and connects t o the edge of the closing plate (7) in a gas-tight manner. The protruding end (5) of the lamp tube (1) is then removed.