The utility model relates to the technical field of toy guns, and discloses a toy long gun which comprises a gun shell, a
gun barrel hole, a baffle ring arranged in the middle of the
gun barrel hole, a first end of the
gun barrel hole arranged in the gun shell, and a second end of the gun
barrel hole penetrating through the gun shell; the air
nozzle is arranged at the first end of the gun
barrel hole, the air
nozzle is provided with an inlet and an outlet, and the inlet of the air
nozzle is configured to be communicated with an
air compressor through an
electromagnetic valve; the trigger
assembly is arranged on the gun shell and used for controlling opening and closing of the
electromagnetic valve; the sliding
assembly is arranged in the gun
barrel hole and comprises a sliding body, a sealing ring, a sliding
pipe and a first spring, the sliding body is arranged on the side, close to the air nozzle, of the baffle ring, an
insertion hole is formed in the side, away from the baffle ring, of the sliding body, the sealing ring is arranged in the
insertion hole, and the air nozzle is inserted into the
insertion hole in a sliding mode and abuts against the inner wall of the sealing ring; the first end of the first spring abuts against the sliding body, and the second end of the first spring abuts against the baffle ring. The toy long gun can generate the dynamic effect of shooting
recoil force.