The utility model relates to a rack anti-theft lock which is safer and more reliable and comprises a lock box and a lock tongue. The inner part of the lock box is provided with a lock head and a lockcylinder, and the outer surface of the lock box is provided with an outer handle and a lock hole. The lock tongue is a rack type lock tongue. The outer handle is connected with an inner gear by a wireshaft, the gear is engaged with the rack type lock tongue, and the lock head is matched with the rack type lock tongue. The rack anti-theft lock manufactured by the utility model is adopted, as the rack type lock tongue can be stretched out in a longer length, for a single leaf door, the rack type lock tongue can be inserted into a lock nose more deeply and firmly; for a double-leaf door, the rack type lock tongue can effectively connect the two doors, playing a better fixing role.