The length of time a dog should stay in a crate varies depending on their age and training progress. Puppies can only hold their bladder for a few hours, while adult dogs can go longer. As a general rule, dogs should not be crated for more than 5-6 hours at a time to prevent discomfort or anxiety.