The safety socket contains a cover with a proximity sensor panel and two holes with contact slots for the plug pins; the proximity sensor is connected to the control unit in the inner part of the socket. At least one of the contact slots contains a contact element that, when it interacts with the plug pin, deactivates the proximity sensor. A safety socket will ensure uninterrupted operation of electrical appliances, expand operational capabilities, protect against unauthorized access, and protect against electric shock