A power socket includes a main body and a latch member. The main body includes a connection seat, a receiving recess and a latching slot. The connection seat is disposed within the receiving recess and configured to electrically connect with a plug passing, when the power plug is fitted in the receiving recess along a first direction. The latching slot is in communication with the receiving recess. The latch member includes an arm slidable along the latching slot from a first position to a second position along a second direction. The arm includes at least one protrusion configured to slide into the receiving recess for engaging with a lateral wall of the power plug when the arm slides towards the second position.