What Do Tonsils Do? Function, Problems & Removal

Tonsils are part of your immune system, stationed at the back of your throat where they act as a first line of defense against germs entering through your mouth and nose. They sample bacteria, viruses, and other particles from everything you breathe and swallow, then trigger immune responses to neutralize threats before they reach deeper into your body. Most people only think about tonsils when they’re swollen and painful, but these small lumps of tissue play a surprisingly active role in training your body to fight infections, especially during childhood.

Where Tonsils Are and Why There Are Four Types

When people say “tonsils,” they usually mean the two visible lumps on either side of the throat, called the palatine tonsils. But your body actually has four sets of tonsillar tissue arranged in a ring around the entrance to your throat and nasal passages. This ring includes the pharyngeal tonsil (better known as the adenoid) sitting on the roof of the space behind your nose, the tubal tonsils near the openings of the ear canals, the palatine tonsils on either side of the throat, and the lingual tonsils at the base of your tongue.

Together, these form a complete circle of immune tissue surrounding the two main entry points into your body. Every breath you take and every bite you swallow passes through this ring, giving the tonsils constant exposure to whatever the outside world sends in.

How Tonsils Fight Infection

Tonsils are packed with immune cells, particularly B cells, which are responsible for producing antibodies. The surface of each tonsil is covered in deep pits called crypts that trap bacteria, food particles, and viruses. Once trapped, these foreign materials are presented to immune cells inside the tonsil, essentially showing them what threats look like so they can mount a targeted response.

Inside the tonsils, specialized structures called germinal centers serve as training grounds for B cells. When a germ is detected, helper cells deliver signals that push B cells to multiply, refine their antibodies to be more precise, and switch to producing different types of antibodies depending on the threat. This refinement process, called affinity maturation, means the antibodies get better and better at recognizing a specific pathogen each time the tonsils encounter it.

One of the most important products of this process is a type of antibody called secretory IgA. This antibody coats the moist surfaces of your throat, nose, and mouth, where it blocks germs from attaching to your tissue in the first place. Secretory IgA works through a process sometimes called “immune exclusion,” where it clumps pathogens together, traps them in mucus, and clears them out before they can establish an infection. It can also directly interfere with the way certain bacteria and viruses latch onto cells, acting as a competitive blocker.

Why Tonsils Matter Most in Childhood

Tonsils are most active during childhood, when the immune system is still learning to recognize common pathogens. They tend to be largest in early school-age years, which is also when children encounter a flood of new germs from classmates and shared spaces. A Japanese longitudinal study tracking tonsil growth found that tonsil and adenoid size gradually decreases between early primary school age and young adulthood, a span of roughly 15 years, though the shrinkage is gradual rather than dramatic.

This slow reduction in size reflects a shift in immune responsibility. As children grow, other parts of the immune system become more experienced and take over much of the pathogen surveillance tonsils once handled. By adulthood, tonsils are still functional but play a smaller relative role in overall immunity.

Tonsillitis: When Tonsils Become the Problem

Because tonsils are constantly exposed to germs, they sometimes become infected themselves. Tonsillitis causes a sore throat, swollen tonsils, fever, and sometimes white or yellow patches on the tonsil surface. It can be caused by viruses (most commonly) or bacteria, with group A streptococcus being the bacterial culprit doctors screen for.

Doctors often use a simple scoring system to judge whether a sore throat is likely bacterial. The four criteria are: fever of 38°C (about 101°F) or higher, no cough, swollen lymph nodes at the front of the neck, and visible swelling or pus on the tonsils. Each criterion scores one point, and higher scores make a bacterial cause more likely and antibiotic treatment more appropriate. A low score, especially with a cough, points toward a viral infection that antibiotics won’t help.

Tonsil Stones

Those deep crypts that help tonsils trap germs can also trap food debris, dead cells, and mucus. Over time, this trapped material can harden into small, pale, foul-smelling lumps called tonsil stones. They’re made primarily of calcium carbonate along with smaller amounts of magnesium, sodium, and other minerals, held together by a sticky bacterial biofilm. Tonsil stones are common and usually harmless, though they can cause bad breath and a sensation of something stuck in the throat. People with deeper or more branching crypts tend to develop them more frequently.

Enlarged Tonsils and Sleep Problems

In some children, the palatine tonsils and adenoid grow large enough to partially block the airway. Doctors grade tonsil size on a four-point scale: grade I tonsils sit within the tonsillar pillars, while grade IV tonsils are so large they meet in the middle of the throat. In normal-weight children, larger tonsils and adenoids are directly correlated with more frequent breathing pauses during sleep, a condition called obstructive sleep apnea. The repeated airway obstruction also creates mechanical stress on the throat lining, promoting local inflammation that can make the swelling worse.

In overweight children, the relationship is more complicated. Excess tissue around the throat and changes in airway tone contribute to sleep apnea independently, so enlarged tonsils may not be the primary driver.

What Happens If Tonsils Are Removed

Tonsillectomy is one of the most common childhood surgeries. Current clinical guidelines suggest considering removal when a child has at least seven documented throat infections in a single year, five per year for two consecutive years, or three per year for three consecutive years, with each episode involving fever, swollen neck glands, tonsillar pus, or a positive strep test. Tonsillectomy is also recommended when enlarged tonsils cause significant sleep-disordered breathing.

The body does adapt after tonsil removal, but research suggests the adjustment isn’t seamless. A study comparing children four to six years after tonsillectomy with healthy peers found that the children who had their tonsils removed had significantly lower blood levels of all three major antibody types: IgA, IgM, and IgG. The tonsillectomy group also showed reduced levels of a marker associated with B cell development. These findings point to a measurable decrease in antibody production capacity, which makes biological sense given that tonsils are a major site where B cells mature and learn to produce antibodies.

That said, most people who have their tonsils removed don’t experience obvious health consequences. The rest of the immune system, including lymph nodes, the spleen, and immune tissue throughout the gut, compensates for the loss. The decision to remove tonsils balances the real, repeated harm of chronic infections or disrupted sleep against a subtle, long-term shift in immune function that most people never notice in daily life.