The utility model discloses a toy gun which comprises a gun body, the rear portion of the gun body is provided with a first trigger, the middle of the gun body is provided with an installation groove used for installing a
cartridge clip, the front portion of the gun body is provided with a
gun barrel and a loading device, the
gun barrel and the loading device are installed in parallel up and down, and the loading device is installed on the gun body in a sliding mode. The gun further comprises a gun cover piece, a gun stock piece and a gun
handle piece, the gun cover is arranged on the gun body and the
gun barrel in a sleeving mode and fixedly connected with the gun body and the gun
barrel, the gun stock piece is fixedly connected with the loading device, one end of the gun
handle piece is hinged to the gun cover piece through a hinge block, and the other end of the gun
handle piece is fixedly connected with the rear portion of the gun body. According to the gun handle piece, a user can take the gun handle piece more conveniently, mistaken touch prevention protection on the first trigger is achieved, the gun handle body is rotationally connected with the safety pin, the safety pin is matched with the second trigger, whether the second trigger can move or not can be controlled by rotating the safety pin, and the mistaken touch prevention function is achieved.