The invention discloses a garden insect trapping device based on the Internet of things, which comprises two main bodies, an upright post, a transverse plate, a photovoltaic panel and a base, whereinthe transverse plate is transversely arranged at the middle part of the upright post; the two main bodies are arranged above the two ends of the transverse plate; the top of each main body is providedwith a lamp cover; a medicine box is arranged above the inner part of the main body; a lamp wall is arranged on the main body, through holes with the same sizes are uniformly arranged on the lamp wall, a lighting lamp is arranged at the bottom of the inner part of the main body, insect trapping boxes are arranged at the two sides of the lighting lamp, a bottom plate is arranged below the main bodies, a collecting box is arranged below the bottom plate, the photovoltaic panel is arranged at the upper end of the upright post, a light sensor is arranged on the upper side of the photovoltaic panel, the photovoltaic panel is arranged on the base, a rotating shaft is arranged in the base, a motor is arranged at the lower end of the rotating shaft, a storage battery is arranged below the motor,the device is simple in structure, the operation is convenient, the use is safe, hormone pesticide is used, not only can that the garden plants are not affected by insect pests and the plants can growhealthy be ensured, but also the environmental pollution can be reduced and the fish birds and insects can be protected.