A switch element is provided for directly inserting into a circuit board, wherein the switch element comprises a switch element circuit and a plurality of plug contacts, wherein the plug contacts comprise a connection portion, which is connected to the switch element circuit, and a fastening portion, wherein the fastening portion is adapted such that it is directly insertable into the circuit board, and wherein the fastening portion comprises a safety element which is adapted such that an unintentionally detaching of the plug connection is prevented.