Sleep is harder with an ear infection, but specific positions and simple changes make it possible

An ear infection causes pain that worsens when you lie flat, because pressure builds inside the ear canal and fluid shifts. You cannot cure the infection by changing position, but you can reduce the pain enough to sleep. The fastest relief comes from elevating your head, keeping the infected ear away from the pillow, and using over-the-counter pain relief before bed.

Most ear infections improve within a few days to a week, even without treatment. If yours lasts longer than a week, gets worse, or comes with fever above 102°F, contact your doctor — those are signs you may need antibiotics or that something else is happening.

Key Takeaways

  • Sleep with your head elevated at least 30 degrees, using extra pillows or a wedge pillow to keep pressure off the infected ear.
  • Lie on your side with the uninfected ear on the pillow, so the infected ear faces up and away from pressure.
  • Take ibuprofen or acetaminophen 30 minutes before bed to reduce pain during sleep.
  • A warm compress held against the ear for 10 to 15 minutes before bed can ease discomfort, but do not use heat if you have drainage or pus.
  • If pain is severe or you cannot sleep after three nights, contact your doctor — you may need prescription treatment.

Position your head to reduce ear pressure

Lying flat puts pressure on the middle ear and makes pain worse. Instead, prop yourself up so your head is at least 30 degrees higher than your body. Use two or three pillows stacked behind you, or buy a wedge pillow designed for this purpose.

Once your head is elevated, lie on your side with the uninfected ear on the pillow. This keeps the infected ear facing upward and away from direct pressure. If you do not know which ear is infected, try both sides for a few minutes and stay on whichever feels better.

Some people find that sleeping in a recliner works better than a bed because the angle is already set. If you have a recliner, try it for one night to see if it helps.

Use pain relief before bed

Take ibuprofen (Advil, Motrin) or acetaminophen (Tylenol) about 30 minutes before you plan to sleep. This gives the medication time to work before you lie down. Follow the dosage on the bottle — do not exceed the daily maximum.

Ibuprofen often works better for ear infection pain because it reduces inflammation as well as pain. If you have a stomach condition or take blood thinners, check with your doctor or pharmacist before using ibuprofen regularly.

Do not rely on pain relief alone. The position change matters as much as the medication.

Apply warmth carefully

A warm compress can reduce ear pain for 30 minutes to an hour. Soak a clean cloth in warm (not hot) water, wring it out, and hold it against the ear for 10 to 15 minutes. You can also use a heating pad on low, held against the side of your head.

Do not use heat if you see drainage or pus coming from the ear — that means the eardrum may have ruptured, and heat can make it worse. If you are not sure, skip the heat and stick with elevation and pain relief.

Apply warmth in the hour before bed, not right before you lie down. This gives you time to feel the benefit while you are still upright.

Keep the ear dry

Water or moisture in the ear canal makes infection worse and can prevent sleep because it increases pressure and discomfort. If you shower or bathe, protect your ear with a cotton ball lightly coated in petroleum jelly, or wear an earplug designed for swimmers.

Do not try to clean the ear or remove fluid yourself. Let it drain naturally. If you feel like something is stuck in your ear, see a doctor rather than poking at it.

Know when to contact a doctor

Most ear infections go away on their own within a week. Contact your doctor if pain is severe enough that you cannot sleep after three nights, if you have fever above 102°F, if you see pus or blood draining from the ear, or if pain gets worse instead of better after three days.

Children under six months with fever, or anyone with signs of infection spreading (swelling behind the ear, stiff neck, confusion), need medical attention the same day. Do not wait until morning.

Your doctor can prescribe stronger pain relief or antibiotics if needed. Some infections do require antibiotics, and a doctor can tell you whether yours does.

Create a sleep-friendly environment

Beyond position and pain relief, the room itself matters. Keep it cool — heat makes inflammation worse. Use a white noise machine or fan to mask the sound of your own heartbeat, which can feel louder and more painful when you have an ear infection.

Avoid sleeping with earbuds or headphones, even at low volume. The pressure and sound can make pain worse. If you use a white noise app, play it from a speaker across the room instead.

If you have a humidifier, run it during sleep. Moisture in the air can help, especially if the infection came after a cold or sinus problem.

Frequently Asked Questions

Can I use over-the-counter ear drops to help me sleep?

Ear drops designed for pain (like those with benzocaine) can numb the area for a few hours, which may help you fall asleep. However, do not use them if you see drainage or pus, because they can trap infection inside. If you use them, apply them 30 minutes before bed so they have time to work. Stop using them after three days and see a doctor if pain continues.

Is it safe to sleep with an ear infection?

Yes. Sleep itself does not make the infection worse, but lying flat makes pain worse. Elevation and position changes let you sleep safely. If you cannot sleep because of pain, that is a sign to contact your doctor — you may need stronger pain relief or treatment.

Should I sleep sitting up all night?

You do not need to sit completely upright. A 30-degree angle (about three pillows or a wedge pillow) is enough to reduce pressure and let most people sleep. If that angle is not comfortable, try adjusting it slightly until you find what works.

What if the pain is worse on both sides?

If both ears hurt, you may have a different problem — sinus pressure, jaw tension, or something other than an ear infection. Contact your doctor to find out what is causing it. In the meantime, elevation and pain relief still help, but a doctor needs to know both ears are involved.

Can I use alcohol or sleep medication to help me sleep through the pain?

Avoid alcohol — it can make inflammation worse and dehydrate you, which slows healing. Over-the-counter sleep aids are not necessary and may not help ear pain specifically. Stick with ibuprofen or acetaminophen, elevation, and position. If you still cannot sleep after three nights, tell your doctor — they can prescribe something stronger if needed.