The invention discloses a cleaning agent for a charging barrel of a plastic product extruder, and relates to the technical field of device cleaning. The cleaning agent is prepared from, by mass, 100 parts to 110 parts of calcined diatomite, 15 parts to 20 parts of nano-titanium dioxide, 40 parts to 45 parts of tea seed powder, 20 parts to 25 parts of coconut powder, 15 parts to 20 parts of polyoxyethylene monostearate, 15 parts to 20 parts of rosin water, 12 parts to 15 parts of octaphenyl polyoxyethyiene, 12 parts to 15 parts of rust-proof additives, 10 parts to 15 parts of soda powder, 10 parts to 15 parts of banana oil, 8 parts to 12 parts of polyacrylamide, 8 parts to 12 parts of epoxypropane butyl ether, 6 parts to 10 parts of sodium sulfite, 4 parts to 8 parts of triolein, 80 parts to 100 parts of diesel and 150 parts to 200 parts of ethyl alcohol. According to the cleaning agent, the calcined diatomite serves as a main raw material and is modified through the nano-titanium dioxide, assistants such as the tea seed powder and the coconut powder achieve the assisting effect, the prepared cleaning agent is good in cleaning effect, short in use time and easy to remove, and after the cleaning agent is used, the cleaning agent left on the charging barrel can be removed in the mode that the charging barrel is wiped through ethyl alcohol once.