2 year old adult will need bigger then 40 gallon. My beardies are in a 6x2x2. Never had an issue with them getting out but if I'm a little late feeding them my 1 yr old likes to knock everything over and play Spider-Man jump from his log onto his UVB fixture lol.