The invention discloses power supply equipment firm to plug. The power supply equipment comprise a socket part and a plug part, wherein the plug part is plugged into the socket part in a matching way, an accommodating cavity is arranged in the socket part, first sliding grooves are correspondingly formed in inner walls of a left side and a right side of the accommodating cavity, a second sliding groove is formed in one side of the top, deviating from the accommodating cavity, of each first sliding groove, a sliding block and a moving guide rod are arranged in the second sliding groove, the moving guide rod is connected with the sliding block in a sliding and matching way, an inner side of the sliding rod penetrates through the first sliding groove and is matched with the first sliding groove in a sliding way, a clamping piece is arranged at the bottom of the sliding block in the first sliding groove, a plug-in rod is arranged at a top wall in the accommodating cavity and extends downwards, a left hollow cavity and a right hollow cavity are arranged in a lower part of the plug-in rod and are corresponding to each other, baffle blocks are arranged in the hollow cavities in the left side and the right side, a third sliding groove is formed in the top of each hollow cavity, and a push block is arranged in the hollow cavity. The power supply equipment is simple structure and stable in plug and has functions of electric shock prevention and loosening prevention, and the safety and the stability during power supply are improved.