How Do You Get a Tooth Infection: Causes & Risks

A tooth infection starts when bacteria reach the soft, living tissue inside your tooth or the gum tissue surrounding it. This usually happens through a cavity that has gone deep enough, a crack in the tooth, or advanced gum disease. The process can take weeks, months, or sometimes just days depending on the cause, and it often builds silently before you feel any pain.

How Decay Opens the Door

The most common path to a tooth infection is an untreated cavity. Your tooth has layers: a hard outer shell of enamel, a softer layer called dentin underneath, and a core of living tissue (the pulp) that contains nerves and blood vessels. Bacteria in your mouth feed on sugars and produce acid that slowly dissolves enamel. At first, this shows up as a chalky white spot on the tooth surface, barely noticeable.

If the decay keeps progressing, it eats through the enamel and enters the dentin, which is softer and breaks down faster. Once bacteria reach the dentin, the process accelerates. They can spread sideways along the boundary between enamel and dentin, undermining what looks like a healthy tooth surface from the outside. Eventually, the bacteria reach the pulp. That’s when the tissue becomes inflamed and infected, and pain typically follows. From there, the infection can travel down through the root and form a pocket of pus at the tip, known as an abscess.

How long this takes varies enormously. Some abscesses form in one or two days, particularly when a crack or injury is involved. Others develop over weeks or months as a cavity slowly deepens. Many people don’t notice anything until the infection is well established.

Other Ways Bacteria Get In

Cavities aren’t the only entry point. A cracked or chipped tooth can expose the inner tissue directly, giving bacteria a shortcut past the enamel. Even a hairline fracture you can’t see can create enough of an opening.

Physical trauma to a tooth, like a blow to the face during sports, can cause infection without any visible damage to the surface. The impact disrupts blood flow to the pulp, causing the tissue inside to die. Dead tissue becomes a breeding ground for bacteria, and an infection can develop from the inside out. This is why a tooth that was injured years ago sometimes becomes infected much later.

Gum disease creates a different pathway entirely. When the gum tissue around your teeth becomes chronically inflamed, pockets form between the gum and the tooth root. Bacteria colonize these pockets and can cause a gum-based abscess alongside the root. This type of infection starts in the supporting structures around the tooth rather than inside the tooth itself.

Two Main Types of Tooth Abscess

Tooth infections generally fall into two categories based on where they originate:

  • Periapical abscess: This is the most common type. It starts inside the tooth, near the nerve, and forms at the root tip. Decay, cracks, or chips in the enamel are the usual causes. The infection works its way down through the tooth and collects as a pocket of pus at the base of the root.
  • Periodontal abscess: This one starts in the gum tissue and supporting structures around the tooth rather than inside it. It typically results from gum disease or an injury to the gum. Infected pockets of tissue form alongside the tooth roots.

Both types involve bacterial infection and can cause significant pain, swelling, and further complications if left untreated. But they require different treatment approaches because the source of infection is different.

The Bacteria Behind It

Your mouth naturally contains hundreds of bacterial species, and most of them are harmless or even beneficial. The trouble starts when specific types gain access to tissue they don’t belong in. Streptococcus species are among the most widespread bacteria in the mouth and play a major role in the early stages of tooth infection.

As an infection progresses and oxygen levels drop inside the damaged tissue, the bacterial population shifts. Anaerobic bacteria, the types that thrive without oxygen, gradually take over. This shift is why deeper, more established infections tend to be more aggressive and harder to treat than early ones. The bacterial mix in a fresh cavity looks very different from the mix in a full-blown abscess.

What Raises Your Risk

Anything that weakens your teeth’s defenses or increases bacterial activity in your mouth raises the odds of developing an infection.

Dry mouth is a significant and often overlooked risk factor. Saliva does more than keep your mouth comfortable. It washes away food particles, neutralizes bacterial acid, and contains compounds that help keep harmful germs in check. When saliva production drops, whether from medications, medical conditions, or simply chronic dehydration, bacteria multiply more freely and cavities form faster. Hundreds of common medications list dry mouth as a side effect, including antidepressants, antihistamines, and blood pressure drugs.

High sugar intake feeds the bacteria that produce tooth-destroying acid. Poor oral hygiene lets plaque build up, giving bacteria a persistent foothold. Previous dental work like old fillings or crowns can develop gaps over time where bacteria sneak in. A weakened immune system, whether from diabetes, chemotherapy, or other conditions, makes it harder for your body to fight off infections before they take hold.

How Fluoride Helps Prevent Infection

Fluoride strengthens enamel and makes it more resistant to the acid that bacteria produce. Professional fluoride treatments applied to teeth reduced the rate of new cavities by about 28% in a controlled trial over two years. Regular fluoride exposure through toothpaste and treated water provides ongoing, lower-level protection by helping to remineralize enamel in its earliest stages of damage, before a cavity fully forms.

This matters for infection prevention because every cavity that doesn’t form is one less potential pathway for bacteria to reach the inner tooth. Brushing twice daily with fluoride toothpaste and flossing remain the most effective everyday defenses.

When an Infection Spreads

Most tooth infections stay localized, but bacteria can spread into surrounding tissues, and this is where things become dangerous. The floor of the mouth, the jaw, and the neck contain soft tissue spaces that are interconnected. An infection that breaks out of the tooth or gum can track through these spaces rapidly.

One of the most serious complications is a condition called Ludwig’s angina, a fast-moving infection of the tissue beneath the tongue and in the floor of the mouth. It causes severe swelling that can push the tongue upward and forward, block the airway, and become life-threatening. Warning signs include difficulty breathing or swallowing, fever, jaw or neck swelling, a protruding tongue, and slurred speech. About 8% of people who develop this condition die from airway obstruction.

In rare cases, bacteria from a tooth infection can enter the bloodstream and cause sepsis, a dangerous whole-body inflammatory response. They can also spread to the chest cavity or lungs. These complications are uncommon, but they underscore why a tooth infection that’s getting worse, spreading to the jaw or neck, or accompanied by fever and difficulty swallowing needs urgent attention.

What Treatment Looks Like

Treatment depends on how far the infection has progressed. If bacteria have reached the pulp but the tooth can be saved, a root canal removes the infected tissue from inside the tooth and seals it. If the infection has caused too much structural damage, the tooth may need to be extracted. Antibiotics are sometimes prescribed alongside these procedures, particularly when the infection has spread beyond the tooth itself or when there’s significant swelling.

For gum-based infections, treatment focuses on draining the abscess and addressing the underlying gum disease, which may involve deep cleaning of the pockets around the tooth roots. In either case, the core principle is the same: the source of infection has to be physically removed or drained. Antibiotics alone won’t resolve a tooth abscess because they can’t penetrate well into dead tissue or pockets of pus.