The invention relates to the technical field of connectors, in particular to an electric connector, which comprises a first connector and a second connector, and is characterized in that the first connector comprises a first shell and a first connecting terminal, and the end part of the first connecting terminal is provided with a first contact plane; the second connector comprises a fixing piece, a second shell, a second connecting terminal and an elastic shell pushing piece, the second connecting terminal is provided with a second contact plane, the second shell is installed on the fixing piece in a sliding mode, the elastic shell pushing piece is arranged between the fixing piece and the second shell, the second shell is detachably connected with the first shell, and the second contact plane is in contact with the first contact plane. According to the electric connector provided by the invention, the first connecting terminal and the second connecting terminal adopt a plane contact mode, the plugging operation of a user is facilitated, and the elastic shell pushing piece applies force to the second shell, so that the first connecting terminal and the second connecting terminal can be in close and good contact, and the technical problem that the existing electric connector with good contact is inconvenient to use is solved.