17 or 18 years is the ideal time to join a gym. However, one can join a gym at a later age also.