The basic pathway: how bacteria or viruses get into your ear

An ear infection happens when bacteria or viruses get past your ear's natural defenses and multiply in the space behind your eardrum, called the middle ear. The most common route is through the Eustachian tube—a small passage that connects your middle ear to the back of your throat. When you swallow, chew, or yawn, this tube normally opens to let air in and drain fluid out. If the tube gets blocked or stops draining properly, fluid builds up, and germs that have traveled up from your throat can grow in that trapped fluid.

The germs themselves usually come from a cold, sinus infection, or sore throat you already have. Your body's immune system is fighting those germs in your upper respiratory tract, but sometimes they move into the Eustachian tube before your immune system clears them out. This is why ear infections often follow a cold by a few days.

Key Takeaways

  • Ear infections happen when bacteria or viruses from your throat travel up the Eustachian tube and multiply in fluid trapped behind your eardrum.
  • A blocked or poorly draining Eustachian tube is the main reason fluid builds up—this can happen from congestion, allergies, or enlarged adenoids.
  • Children get more ear infections than adults because their Eustachian tubes are shorter, more horizontal, and drain less efficiently.
  • Secondhand smoke, bottle feeding while lying flat, and pacifier use past age 2 increase the risk in young children.
  • Most ear infections clear on their own within a few days, though some need antibiotics if bacteria are the cause.

Why the Eustachian tube gets blocked in the first place

The Eustachian tube is lined with tissue that swells when you have a cold, allergies, or sinus infection. That swelling narrows the tube and makes it harder for fluid to drain. Mucus from congestion also clogs the opening. If you have seasonal allergies or year-round allergies, your Eustachian tube may stay partially swollen for weeks, which is why people with allergies get more ear infections.

In children, the problem is structural. A child's Eustachian tube is shorter and more horizontal than an adult's, which means fluid doesn't drain as easily by gravity. The tube is also narrower and more easily blocked by swollen tissue. This is why children under age 3 get ear infections much more often than older children or adults—their anatomy works against them.

Enlarged adenoids (lymph tissue in the back of the throat) can also block the Eustachian tube opening. Adenoids swell when your body is fighting an infection, and in some children they stay enlarged even after the infection clears. If adenoids are very large, they can physically press on the tube and prevent drainage.

How fluid buildup leads to infection

When the Eustachian tube is blocked, fluid that normally drains out stays trapped in the middle ear. This creates a warm, moist environment where bacteria and viruses thrive. The longer the fluid sits, the more the germs multiply. Your eardrum, which is normally tight and flexible, bulges outward from the pressure of the fluid behind it. This bulging is what causes ear pain.

Not all fluid buildup becomes an infection. Sometimes you have fluid in your ear with no germs in it—this is called otitis media with effusion, and it causes hearing problems but not pain or fever. However, if bacteria or viruses are present in that fluid, the infection develops quickly. Your immune system sends white blood cells to fight the germs, which causes inflammation and more pressure behind the eardrum.

Why children are more vulnerable than adults

Children get ear infections more often for three reasons: their Eustachian tubes drain poorly, they catch more colds and respiratory infections, and their immune systems are still developing. A child in daycare or preschool is exposed to many more viruses than an adult, so they get sick more frequently. Each cold is a chance for germs to travel into the middle ear.

Certain habits also increase risk in young children. Bottle feeding while lying flat allows milk and formula to flow into the Eustachian tube opening. Prolonged pacifier use past age 2 can affect how the muscles around the Eustachian tube work. Secondhand smoke irritates the lining of the Eustachian tube and makes swelling worse. Children who spend time in smoky environments get more ear infections than those who don't.

Other factors that make infection more likely

Seasonal changes matter. Many people get more ear infections in winter when colds and flu are circulating. Altitude changes and air pressure changes (like during airplane flights) can also affect how the Eustachian tube functions and may trigger an infection if you're already vulnerable.

Cleft palate and Down syndrome are associated with higher ear infection rates because the muscles that control the Eustachian tube don't work properly. Immunodeficiency disorders—conditions where your immune system is weaker than normal—also increase risk because your body can't fight off germs as quickly.

The difference between bacterial and viral ear infections

Most ear infections start as viral infections because viruses cause most colds and upper respiratory infections. A viral ear infection usually clears on its own within a few days as your immune system fights the virus. You'll have pain and possibly fever, but antibiotics won't help because they don't kill viruses.

Some viral infections are followed by bacterial infection. The virus damages the lining of the middle ear and Eustachian tube, making it easier for bacteria to take hold. Bacteria can also be the first infection if bacteria from your throat travel up the Eustachian tube. Bacterial infections are more likely to cause high fever and severe pain, and they usually need antibiotics to clear.

What happens if an infection goes untreated

Most ear infections resolve without treatment, but some get worse. If pressure from fluid and infection builds up too much, your eardrum can rupture—it will perforate and drain fluid or pus into your ear canal. This actually relieves the pain temporarily, but it means your eardrum has a hole in it. Most perforations heal on their own within a few weeks, but some don't.

Repeated infections over months or years can cause permanent damage to the eardrum or the tiny bones inside the middle ear that transmit sound. This can lead to hearing loss. In rare cases, infection spreads beyond the middle ear to the mastoid bone (behind the ear) or into the bloodstream, but this is uncommon in developed countries where infections are usually treated.

Frequently Asked Questions

Can you catch an ear infection from someone else?

You can't catch an ear infection directly, but you can catch the cold or virus that causes it. If someone with a cold sneezes near you, you might catch that cold, and then your own Eustachian tube might get blocked and lead to an ear infection. The infection itself stays in the middle ear behind the eardrum, where it's not contagious.

Why do ear infections hurt so much?

Pain happens because fluid and infection build pressure behind your eardrum, pushing it outward. The eardrum is very sensitive to pressure changes. As inflammation increases, the pressure gets worse. The pain is usually worst at night when you're lying flat, because gravity isn't helping fluid drain, and pressure builds up more.

Can swimming cause an ear infection?

Swimming doesn't cause middle ear infections, but water in the ear canal can cause a different type of infection called swimmer's ear (external otitis). Middle ear infections come from germs traveling up the Eustachian tube from your throat, not from water entering your ear from outside. However, if you already have a cold or congestion, swimming might make it worse by putting pressure on a blocked Eustachian tube.

Do teething babies get more ear infections?

Teething itself doesn't cause ear infections, but the age when babies teethe (around 6 months) is when they're also more likely to catch colds and respiratory infections from their environment. Those infections can lead to ear infections. The timing makes it seem connected, but the real cause is increased exposure to germs, not the teething process.

Is it normal to get ear infections several times a year?

Getting three or more ear infections in six months, or four or more in a year, is considered recurrent. This is common in young children, especially those in daycare, but less common in older children and adults. If recurrent infections are happening, your doctor may want to check for structural problems with the Eustachian tube, enlarged adenoids, or other factors that make drainage difficult.