A method for encapsulating with encapsulating material an electronic component, in particular a semiconductor, fixed on a carrier, comprising the processing steps of:
- A) placing the carrier on a first mould part such that at least one projecting edge connected to the first mould part lies on the side opposite the side of the carrier supporting on the first mould part,
- B) reducing the distance between the projecting edge and a support part of the first mould part supporting the carrier such that a part of the carrier is clamped between the part of the first mould part supporting the carrier and the projecting edge,
- C) closing a second mould part onto the first mould part such that at least one mould cavity is formed closing onto the carrier, and
- D) feeding liquid encapsulating material to the mould cavity, wherein during step B) the support part is moved in the first mould part towards the projecting edge that is kept stationary.