Most dogs will be content to spend around three or four hours in a playpen. However, if your dog is super excited and restless, they may want to leave sooner. Ultimately, it’s up to you how much time you want to allow them in the playpen.