It's 2 a.m. and your newborn is crying. Will you ever get a good night's sleep again?

Although life with a newborn is a round-the-clock adventure, don't lose hope. By ages 3 to 4 months, many babies can sleep at least five hours at a time. At some point during your baby's first year, nighttime stretches of 10 hours are possible. In the meantime, a little creativity can help you sneak in as much sleep as possible.

While there's no magical formula for getting enough sleep, these strategies can help:

Sleep when your baby sleeps. Silence your phone, hide the laundry basket and ignore the dishes in the kitchen sink. Calls and chores can wait.

Set aside social graces. When friends and loved ones visit, don't offer to be the host. Instead, ask if they could watch the baby while you take a nap.

Don't 'bed share' during sleep. It's OK to bring your baby into your bed for nursing or comforting — but return your baby to the crib or bassinet when you're ready to go back to sleep.

Split up nighttime duties. Work out a schedule with your partner that allows both of you to rest and care for the baby. If you're breast-feeding, perhaps your partner could bring you the baby and handle nighttime diaper changes. If you're using a bottle, take turns feeding the baby.

Give watchful waiting a try. Sometimes, middle-of-the-night fussing or crying is simply a sign that your baby is settling down. Unless you suspect that your baby is hungry or uncomfortable, it's OK to wait a few minutes to see what happens.

The rigors of caring for a newborn might leave you so exhausted that you could fall asleep anytime, anywhere — but that's not always the case.

If you have trouble falling asleep, make sure your environment is suited for sleep. Keep your bedroom cool and dark. Avoid nicotine, caffeine and alcohol late in the day or at night. Get regular physical activity — not to close to bedtime, if possible. Also, avoid stimulating light and noise around bedtime. In addition, don't agonize over falling asleep. If you're not nodding off within a reasonable amount of time, get up and do something else until you feel sleepy. Then try going back to bed.

If you think you have a sleep problem, consult your health care provider. Identifying and treating any underlying conditions can help you get the rest you need. Remember, taking good care of yourself — including getting adequate sleep — will help you take the best care of your baby.

SIDS and other sleep-related infant deaths: Expansion of recommendations for a safe infant sleeping environment. American Academy of Pediatrics Policy. http://pediatrics.aappublications.org/site/aappolicy/index.xhtml. Accessed July 18, 2014.

Reprint Permissions

A single copy of these materials may be reprinted for noncommercial personal use only. "Mayo," "Mayo Clinic," "MayoClinic.org," "Mayo Clinic Healthy Living," and the triple-shield Mayo Clinic logo are trademarks of Mayo Foundation for Medical Education and Research.