Painful swelling in front of the ear or under the jaw that gets worse when you eat is often a salivary gland that has become inflamed or infected. Doctors call this sialadenitis, and when it affects the large gland beside the ear, parotitis. Many cases settle with fluids, warmth and, when bacteria are involved, antibiotics. A swelling that is hot, hard and growing quickly, or that makes it hard to swallow, breathe or open your mouth, needs medical care the same day.
Three pairs of glands, one weak point
Most saliva comes from three pairs of major glands: the parotid glands in front of and below each ear, the submandibular glands beneath the jaw, and the sublingual glands under the tongue. Each drains into the mouth through a small duct, and the steady flow of saliva normally keeps bacteria from travelling back up it.
That flow is the weak point. When saliva slows, because of dehydration, a stone lodged in the duct, a medicine that dries the mouth, or an illness that leaves someone eating and drinking very little, bacteria from the mouth can move up the duct and infect the gland. Viruses take a different route and reach the glands through the bloodstream, which is how mumps produces its well-known facial swelling.

Viral and bacterial infections feel different
Mumps is the classic viral cause. According to healthdirect, it commonly causes fever, tiredness and swelling of the salivary glands on one or both sides of the face, and it spreads through coughs, sneezes and contact with saliva, sometimes before the swelling appears. Other viruses can also inflame the parotid glands.
Bacterial infections usually affect a single gland. The pain tends to come on quickly and strongly, the gland feels firm and tender, and pus may drain from the duct opening inside the cheek or under the tongue, leaving a bad taste. Because reduced saliva flow sets the scene, people who are dehydrated, unwell or recovering from surgery are more prone to them.
| Feature | Often viral, such as mumps | Often bacterial |
|---|---|---|
| Sides | One or both | Usually one |
| Onset | Over a day or two, with feeling generally unwell | Rapid and sharply painful |
| Pus at the duct | Not expected | Sometimes |
| Usual treatment | Rest, fluids, pain relief | Antibiotics plus measures to restore flow |
Symptoms that point to a gland problem
Swelling and tenderness over the gland are the main signs. Pain often increases at mealtimes, when the gland is stimulated to make more saliva against a blocked or inflamed duct. Some people notice a changed taste, a dry mouth or a fever.
Get same-day medical help if you have a high fever with the swelling, a gland that is hot, hard and enlarging, trouble opening your mouth or swallowing, or any swelling that affects breathing. These can mean the infection is spreading.
Getting saliva moving again
Because poor flow is behind so many episodes, restoring it is central to recovery, and it works alongside any medicine your doctor prescribes rather than replacing it:
- Drink plenty of water.
- Apply a warm compress over the swollen gland.
- Gently massage the gland towards the mouth if it is not too painful.
- Suck sugar-free sour lollies to prompt saliva.
Viral infections such as mumps usually settle on their own with rest, fluids and pain relief. Healthdirect notes that a person with mumps remains contagious until nine days after the swelling starts, so they should stay home from work, school or childcare. Mumps is largely preventable: the vaccine is part of routine childhood immunisation in Australia, usually given at 12 and 18 months.
Bacterial infections are treated with antibiotics, and a collection of pus sometimes needs draining. If a stone is blocking the duct, it needs to be removed so the gland can drain, as our guide to salivary gland stones explains. Repeated or complicated episodes are usually referred for imaging and assessment by an ear, nose and throat or oral and maxillofacial surgeon.

Where a dentist fits in
Salivary gland infections are often managed by a GP, but dentists see them too, sometimes because the swelling is first mistaken for a tooth problem. A dentist can examine the gland and duct openings, rule out a dental abscess as the cause of facial swelling, and look for a stone. Long-term dry mouth raises the risk of repeat episodes and of tooth decay, so managing it matters; our dry mouth guide covers practical steps.
Not every salivary lump is an infection. A soft bluish swelling under the tongue may be a ranula, and a small bubble on the inside of the lip is often a mucocele. Both are caused by trapped saliva rather than germs.
Common questions
Can a salivary gland infection be passed on?
A bacterial gland infection is not usually passed between people. Viral causes such as mumps are contagious, so follow your doctor's advice about staying home.
Why does it hurt more when I eat?
Eating signals the glands to make saliva. If the duct is narrowed, blocked or inflamed, that saliva builds up and stretches the gland, which causes pain and swelling.
Will it come back?
It can, particularly if there is an ongoing cause such as a stone or a dry mouth. Treating that cause and keeping saliva flowing lowers the chance of another episode.
If you have painful swelling near your ear or jaw, our team at Lumi Dental in Melrose Park can examine it and advise on next steps, including if a visit to your GP is needed. Learn more about our general dental care or see our current offers.
This article is general information only and is not a substitute for personalised advice from a dental or medical professional. If a swelling is hot, rapidly worsening, or affecting breathing or swallowing, seek urgent care.









