A mold (1) is for molding a one-sided encapsulated electronic device. The mold (1) includes a first mold section (2) defining a mold cavity (4), and a second mold section (3) including a first recessed portion (6) adapted to receive a layer of material (15) attached to a leadframe (10), but not the leadframe (10).