The invention relates to a connector with protection, and belongs to the field of electric connectors. In order to solve the problems of water resistance, corrosion resistance, interference resistance, high stability, high-speed transmission, protection and the like of an existing electric connector, the plug and the socket are provided with the sealing assemblies, the embedded design is adopted,errors are prevented through the mistake-proof insertion block and the mistake-proof insertion groove, and connection is convenient through the base point indication mark. And the differential component is arranged in the middle to ensure the transmission of high-speed signals, and the annular shielding plate is arranged outside the differential component and the interface, so that the anti-interference performance is strong. Before the plug and the socket are connected, the top ends of the pins contact with the protection plate to form short-circuit protection, and when the plug and the socket are connected, the sliding teeth of the plug jacket are placed in the sliding grooves of the socket, pressed down and rotated, so that the plug and the socket are tightly connected, the plug protection plate is ejected downwards by the socket base, the pins are disconnected from the protection plate, and protection is canceled. The electric connector is favorable for achieving waterproof, anti-corrosion, anti-interference, high-stability and protective performances while the device is miniaturized.