Our dog sleeps under our bed. When she was a puppy we used to put her in the laundry at night until she was fully toilet trained. Now we take her outside before we go to bed and let her out as soon as we wake up. She rarely has accidents inside.