A 12-week old puppy can typically sleep for up to 7 hours at night, but may need to go outside to relieve themselves once or twice during the night. It is important to establish a regular bedtime routine and provide your puppy with a comfortable and cozy sleeping area to help them get the rest they need. Remember, puppies need plenty of rest and sleep to grow and develop properly.