Yes, hamster tanks do need a lid. This will keep them safe from other pets and small children, also effectively prohibiting them from escaping. Opt for a mesh lid, as it provides much better ventilation.