What you can do right now

Most ear infections stop on their own within a few days to a week, especially if they are viral. While you wait, you can reduce pain and swelling with over-the-counter pain relievers like ibuprofen or acetaminophen, taken at the dose on the package. A warm compress—a clean cloth heated with warm (not hot) water—held against the ear for 10 to 15 minutes can ease discomfort. Some people find that lying on the unaffected side helps.

If the infection is bacterial, it may need antibiotics to clear. You cannot tell whether yours is bacterial or viral just by how it feels, so the next step is to see a doctor or nurse practitioner who can look inside your ear with an otoscope. They can see whether fluid is present and whether the eardrum is inflamed or bulging, which tells them what is happening.

Do not put anything into your ear canal—no cotton swabs, no drops without a doctor's instruction, no water. If you have drainage from your ear, let it drain onto a clean tissue rather than pushing it back in.

Key Takeaways

  • Pain relievers and warm compresses reduce discomfort while the infection runs its course, which usually takes a few days to a week.
  • A doctor or nurse practitioner can see inside your ear and determine whether you need antibiotics, which only work against bacterial infections.
  • Avoid putting anything in your ear canal, including cotton swabs and water, as this can trap bacteria or irritate the eardrum further.
  • If you have a high fever, severe pain, drainage, or hearing loss, seek care the same day rather than waiting to see if it improves.

When to see a doctor the same day

Some ear infections need faster attention. Contact a doctor or urgent care clinic the same day if you have a fever above 102°F (39°C), severe ear pain that pain relievers do not touch, fluid or pus draining from your ear, or sudden hearing loss. These signs can mean the infection is spreading or the pressure behind your eardrum is building dangerously.

If you have an ear infection and also have a stiff neck, severe headache, or confusion, go to an emergency room. These combinations are rare but can signal that infection is spreading to the brain or spinal cord.

How antibiotics work and when you need them

Antibiotics kill bacteria. They do nothing against viruses. Many ear infections are viral—caused by the same viruses that cause colds—and will clear without antibiotics. A doctor can usually tell the difference by looking at your eardrum and asking about your symptoms, though sometimes they may wait a day or two to see whether the infection improves on its own before prescribing.

If a doctor prescribes antibiotics, take the full course even if you feel better after a few days. Stopping early can allow bacteria to survive and regrow. Most oral antibiotics for ear infection are amoxicillin or amoxicillin-clavulanate, taken by mouth for 7 to 10 days. If you are allergic to penicillin, tell your doctor before they prescribe.

Preventing ear infections from coming back

Ear infections often follow a cold or sinus infection because fluid backs up in the Eustachian tube, the narrow passage that drains the middle ear. You cannot always prevent this, but you can reduce the risk. Wash your hands often, especially during cold season. Avoid secondhand smoke and air pollution when you can, as these irritate the passages that lead to your ear.

If you swim, keep water out of your ears. Wear a swim cap or earplugs, and dry your ears gently with a towel after swimming. If water does get in, tilt your head to let it drain and use a clean cloth to dry the outer ear. Do not use cotton swabs to dig it out.

If you have chronic ear infections—more than three in six months—ask your doctor whether you should see an ear, nose, and throat specialist (ENT). They can check whether your Eustachian tubes are draining properly and whether anything is blocking them, like enlarged adenoids.

Pain relief options and what works best

Over-the-counter pain relievers are the first choice. Ibuprofen (Advil, Motrin) and acetaminophen (Tylenol) both reduce pain and fever. You can alternate them—take ibuprofen, wait three hours, then take acetaminophen, then wait three hours before ibuprofen again—to keep pain more steady. Always follow the dose on the package for your age and weight.

Ear drops that contain a pain reliever (like benzocaine) can numb the ear canal and provide quick relief, but only use them if your eardrum is not ruptured. If you have drainage from your ear, do not use drops unless a doctor says it is safe. Prescription ear drops with antibiotics or steroids are sometimes used for outer ear infections or after the eardrum has healed, but they are not standard for middle ear infection.

Why your ear feels full or muffled

During an ear infection, fluid builds up behind the eardrum in the middle ear space. This fluid muffles sound and makes your ear feel plugged, the way it does when you are on an airplane. This sensation usually goes away as the infection clears and the fluid drains, which can take a week or two even after pain stops.

If muffled hearing lasts more than three weeks after the infection started, or if it happens in only one ear, mention it to your doctor. Rarely, fluid stays trapped and needs to be drained by an ENT specialist, but this is uncommon in adults.

Frequently Asked Questions

Can I treat an ear infection without seeing a doctor?

Many viral ear infections clear on their own with pain relievers and warm compresses. However, you cannot tell whether yours is viral or bacterial without a doctor looking inside your ear. If pain is severe, you have a fever, or symptoms do not improve in two to three days, you should see a doctor to know whether antibiotics will help.

Is it safe to use hydrogen peroxide or vinegar in my ear?

Hydrogen peroxide and vinegar are sometimes suggested for outer ear infections (swimmer's ear), but they can damage the eardrum if it is ruptured and should only be used under a doctor's direction. For middle ear infection, they do not reach the infected area and can trap bacteria inside. Stick with warm compresses and pain relievers until you see a doctor.

How long does it take for antibiotics to work?

Pain usually starts to improve within 24 to 48 hours of starting antibiotics, though some people feel better sooner. The infection itself takes the full 7 to 10 days to clear completely, which is why you should take the entire course even if you feel better after a few days.

What should I do if my ear infection keeps coming back?

Repeated infections—more than three in six months—warrant a visit to an ear, nose, and throat specialist. They can check whether your Eustachian tubes are draining properly, whether you have chronic sinus problems that are backing up fluid, or whether something is blocking drainage. Treatment depends on what they find.