Method for producing a button cell which comprises a. a housing (101, 102, 103) having an interior space in which • a positive electrode and • a negative electrode and • a separator are arranged, wherein b. the housing comprises • a cup-shaped, metallic first housing part and • a cup-shaped, metallic second housing part and • an electrically insulating sealing element between the housing parts (101, 102), and c. the housing parts (101, 102) each comprise • a circular bottom (101a, 102a), • a hollow-cylindrical side wall (101b, 102b), • a circumferential transition region (101c, 102c) connecting the bottom and the side wall, and • an opening periphery (101d, 102d) defining a circular opening, wherein d. the bottoms (101a, 102a) and side walls (101b, 102b) each have an inner side facing into the interior space and an outer side facing in the opposite direction and the opening peripheries (101d, 102d) each lie in a plane oriented parallel to the respective bottom, wherein the method comprises the following steps: e. the inner side and the outer side of the side wall and the opening periphery of the first housing part are coated with a liquid polymer precursor, f. the liquid polymer precursor is dried and/or cured to form a solid polymer coating on the first housing part, wherein the opening periphery of the first housing part is perpendicular for at least part of the time or points downward with a deviation of not more than 5° from the vertical direction, and g. the housing is made up of the first housing part and the second housing part, wherein the polymer coating forms the sealing element. a. a housing (101, 102, 103) having an interior space in which • a positive electrode and • a negative electrode and • a separator are arranged, wherein • a positive electrode and • a negative electrode and • a separator b. the housing comprises • a cup-shaped, metallic first housing part and • a cup-shaped, metallic second housing part and • an electrically insulating sealing element between the housing parts (101, 102), and • a cup-shaped, metallic first housing part and • a cup-shaped, metallic second housing part and • an electrically insulating sealing element between the housing parts (101, 102), and c. the housing parts (101, 102) each comprise • a circular bottom (101a, 102a), • a hollow-cylindrical side wall (101b, 102b), • a circumferential transition region (101c, 102c) connecting the bottom and the side wall, and • an opening periphery (101d, 102d) defining a circular opening, wherein • a circular bottom (101a, 102a), • a hollow-cylindrical side wall (101b, 102b), • a circumferential transition region (101c, 102c) connecting the bottom and the side wall, and • an opening periphery (101d, 102d) defining a circular opening, wherein d. the bottoms (101a, 102a) and side walls (101b, 102b) each have an inner side facing into the interior space and an outer side facing in the opposite direction and the opening peripheries (101d, 102d) each lie in a plane oriented parallel to the respective bottom, e. the inner side and the outer side of the side wall and the opening periphery of the first housing part are coated with a liquid polymer precursor, f. the liquid polymer precursor is dried and/or cured to form a solid polymer coating on the first housing part, wherein the opening periphery of the first housing part is perpendicular for at least part of the time or points downward with a deviation of not more than 5° from the vertical direction, and g. the housing is made up of the first housing part and the second housing part, wherein the polymer coating forms the sealing element.