Hinges with an electrical switching function pivotably hold and fasten doors and covers to machines and housings and additionally allow integrated, electrical safety switches to monitor their status. When the doors are opened, several switch contacts are actuated that, for example, interrupt a safety circuit and simultaneously sig-nal that the door has opened.