Having your dog pace all night looking for a place to sleep isn’t very fun. You could lose sleep trying to get your dog to lie down and relax if he doesn't know exactly where he should go each night. Most family dogs will attach themselves to at least one member of the family. Your dog may want to sleep with your or with this chosen family member. But that doesn’t mean the dog has to be in your bed. Just in your bedroom. Or even in the hallway just outside your bedroom.
Wherever you place his bed is where he should stay each night. You can teach him where his bed is and to go to bed when it is time to settle down for the night. Once your dog understands where his bed is and that he is supposed to stay in at all night, you both should be getting a full night's sleep.
Training your dog to go to bed--in his bed--is a matter of repetition and comfort. There is a fine balance between finding the correct bed for your dog's needs and putting it in the correct spot to ease any fears or separation anxieties he may have. It may take a few weeks to train your dog to sleep in his own bed, but if it does, it's probably because you need to find a different spot for the bed. Many dog owners don't want their dog in bed with them but don't mind a dog bed in their bedroom. If your dog's bed is already in your bedroom, consider placing it closer to your bed so your dog can look up and see you at night and hear you breathing. He's going to feel safe knowing you or at least another family member is nearby.
Make sure before you get started training your dog to sleep in his bed you know how your dog sleeps. If you have a small dog who sleeps in a little round ball, he may be more comfortable in a small bed with raised sides he can snuggle into. If you have a larger dog who spreads out once he's in a deep sleep or lies on his back with his feet straight up in the air, you may need a larger bed. If your dog is older, memory foam mattresses provide great support for achy bones. Be sure you have the proper bed for your dog's size, breed, and needs. You will also want some extra treats on hand, possibly even in the sleeping space, to reward your dog for a job well done. Have some patience with this and be open to change. Your dog may not be happy sleeping in the dining room if you're upstairs on the opposite side of the house.