When you hit the hay at night, is there a cold wet canine nose snuggling under the covers with you? You're definitely not alone.

Half of the 78 million dogs owned in the U.S. sleep in a person's bed — either an adult's or child's — according to a 2015 survey by the American Pet Products Association. And all those dogs aren't tiny. The survey found that 61 percent of small dogs, 45 percent of medium dogs, and 47 percent of large dogs sleep in someone’s bed instead of a crate or a dog bed of their own.

That's a lot of bed hogging and cover stealing going on.

If you've chosen to share your bed with your best furry friend, you know things aren't always dreamy. You've likely been awakened by imaginary cat-chases, fought for room on the mattress, and maybe heard a growl when you tried to move a pup that didn't want to budge.

Here are some tips to keep the bedroom from being a battleground.

If you're a light sleeper

dog hogging bed with man on coversIf you're not a heavy sleeper, it can be hard to get any rest when your dog is a bed hog. (Photo: Soloviova Liudmyla/Shutterstock)

About 53 percent of people who sleep with their pets say their animals disturb their sleep, according to a survey by the MayoClinic Sleep Disorders Center.

"I suspect that the degree of sleep disruption experienced may be significantly greater than the owners admit, but I have no objective data," says Dr. John Shepard, medical director of the center. "Every patient has to weigh the advantages and disadvantages of sleeping with pets and make a personal decision about the sleeping arrangements in the household. Some people are very attached to their pets and will tolerate poorer sleep in order to be near them at night."

If you can't sleep through the snoring and the doggie dream noises, it may be time to find Fido a spot in the house where he's free to sleep as noisily as he'd like.

If your dog isn't housebroken

puppy on bedIf your new puppy isn't housebroken, you're taking your chances by letting her sleep on the bed. (Photo: Michelle/flickr)
Puppies are adorable — and it's sweet to roll over and smell puppy breath instead of your partner's icky morning breath. But puppies don't always have the best bladder control and it's really hard to clean a mattress.

Plus, your smells are all over your bed, says certified professional dog trainer and canine behavioral consultant Lisa Matthews, owner of Pawsitive Practice Training in Johns Creek, Georgia.

"Dogs that aren’t house-trained may be a bit more prone to tinkle up there. It could be a marking situation, especially if other dogs have been up on that bed, and they may want to claim the bed as theirs."

Even if your puppy knows he's supposed to go outside, he may be too young or too little to jump down and let you know he has to hit the backyard.

Your best bet? Use the crate until housebreaking is over — or buy a very waterproof mattress pad.

If you have health issues

dog rolling in the grassWhen your dog rolls in the grass and runs through the pollen, he brings it all inside to you. (Photo: otsphoto/Shutterstock)
If you have pet allergies or asthma, not only should you keep your dog out of your bed, you should keep him out of your bedroom, suggests the Asthma and Allergy Foundation of America. Leave your bedroom door shut at all times and don't even let your dog visit you there.

If you have seasonal allergies to pollen, remember that when your dog runs through the backyard, she's bringing the pollen inside and tossing it all over your covers.

Unless you want to give your dog a bath every night during allergy season and wash your sheets frequently, you may want to consider crating your dog or moving her to another part of the house when pollen is bad. Of course that can be hard on pets that haven't seen a crate since their house-training days.

That's why Matthews suggests that all dogs get a little positive crate time every day.

"The dog should always have a kennel that stays in play throughout the dog's life and is used an hour a day every day," she says. "When you keep that kennel in play, you can go back and use it and it's not been associated with 'the dog is bad, let's throw the dog in the kennel.'"

Give your dog a great toy or a Kong stuffed with peanut butter, so the crate becomes a great place to go.

"That way, if you ever have to use it later on, it's not used as a punishment."

If your dog has health issues

cute puppy scratchingMake sure your pup is up-to-date on flea and tick control or those critters could be sharing your bed too. (Photo: Christian Mueller/Shutterstock)

It's rare, but there are zoonotic diseases — ranging from campylobacter to salmonella infections — that can be passed from dogs to people. There are all sorts of parasites and fungi, like tapeworm, ringworm and roundworm, and you definitely don't want to wake up with fleas and ticks.

To be safe, make sure you take your dog to the vet regularly for immunizations and exams and be sure she's up-to-date on flea and tick prevention.

If your dog doesn't like your bedmate

poodle growlingIf your dog isn't too happy to share the bed, it may be time to kick him out. (Photo: greg westfall/flickr)
You may think it's cute if your dog growls at your partner when he creeps over to your side of the bed. But a jealous dog can cause more than disharmony in the bedroom. This guarding behavior can lead to biting.

It's best to work with a trainer or behavioral specialist to work through the issue. Until then, it's a good idea to keep Buddy out of the bed.

"Which tack I take depends on the dog, the level of aggression, and what’s motivating it," says certified professional dog trainer Pat Miller, training editor for Whole Dog Journal. "If it’s a classic case of owner-guarding — wife is in the bed, dog growls at husband when he tries to get in bed — then yes, bed privileges need to be revoked. The dog’s, not the husband’s!"

Miller takes a similar approach if the dog is guarding the bed, not just a person on the bed.

"The dog needs to be evicted unless and until the behavior can be modified."

If your dog thinks bedtime is playtime

tiny puppy with toy ball on top of the bedIf you want to have peace and quiet at night, make sure your dog's bedtime toys don't squeak. (Photo: Anna Hoychuk/Shutterstock)

In certain situations, you may want to have a "no toys in the bed" rule.

"It depends on what kind of relationship you have with your dog and what kind of relationship your dog has with his toys and if your dog is well-trained," says Matthews. If your dog knows basic commands and will "leave it" and "drop it" when it's time to stop playing and sleep, then toys in the bed shouldn't be a problem. But if your bed buddy guards his toys, you could risk a not-so-pleasant reaction if you get too close at night.

Some toys — particularly those with squeakers — probably should be banned from the bedroom, at least after lights-out.

"If your goals are to sleep and sleep with a dog that is not making noise with a toy, then limit to quiet toys or toys not making noise."

If your dog is pushy

dog lying on the floor Trainers suggest you make your dog wait patiently before you let him hop up onto the bed. (Photo: Grisha Bruev/Shutterstock)
Trainers will tell you it's a good idea to teach your dog manners. You should train them to sit and wait before eating or rushing out the door, for example. The same holds true for jumping up onto the bed.

"We call that the 'mother, may I' program so that the dog doesn't assume that he can do whatever, whenever he wants," says Matthews.

You may want to have your dog wait beside the bed while you're getting ready and then while you get in bed, without him jumping and whining and pawing to get up. When he has patiently waiting, call him and invite him up when you're ready.

If you're concerned about your sex life

couple in bed with small dogSome people aren't bothered when their dog's around during intimate moments. (Photo: Phase4Studios/Shutterstock)

Can pets in the bedroom mess with your private time? That depends, love and marriage expert Elizabeth Schmitz, tells WebMD.

"Many, many of our successful couples have pets and many sleep with them," says Schmitz, author of "Golden Anniversaries: The Seven Secrets of Successful Marriage."

People can successfully deal with intimacy and pets in different ways, she says.

"Some put them outside the bedroom because they don’t want them to watch," she says. "Some give them a treat to distract them. Some don’t mind if the pet stays on the bed."

If you don't know how big your dog is going to get

huge dog sleeping in bed with womanThat cute little puppy could grow up to be a huge dog that ends up stealing all the covers. (Photo: paul prescott/Shutterstock)
So you've adopted a puppy or adolescent dog of mixed origins that fits perfectly into the crook of your knees as you sleep. What happens if that 20-pound bundle of fluff goes through a serious growth spurt and is tipping the scales at 75 pounds by his first birthday?

You may want to wait on bedsharing until you know how big the dog is going to be. It'll be a lot harder to train a dog to stop sleeping in your bed after he's been accustomed to it nearly his whole life.

If you've been using the part-time crate all along, you're in good shape, and it will be easier to make the transition once your pup outgrows the foot of the bed.

Or there's a simple solution that will make everyone happy, says Matthews, who points out that she sleeps in a big bed with two 75-pound dogs and a husband that gets kicked out occasionally for snoring.

"You can just buy a king-sized bed which is big enough for everybody."

Mary Jo DiLonardo Mary Jo writes about everything from health to parenting — and anything that helps explain why her dog does what he does.