Dental fillings can cause headaches, and the connection is more common than many people realize. The pain usually traces back to changes in your bite, irritation of the nerve inside the tooth, or stress placed on the surrounding tooth structure by the filling material itself. Most post-filling headaches are temporary and resolve within days, but persistent ones deserve attention because they signal a fixable problem rather than something you need to live with.
How a New Filling Changes Your Bite
The most frequent reason a filling triggers a headache is a subtle change in the way your upper and lower teeth meet. When your dentist places a filling, the new material sits slightly higher or in a different contour than your original tooth surface. Even a fraction of a millimeter matters. If the filling is too high, that single tooth absorbs more force every time you chew or clench, and the muscles around your jaw compensate by working asymmetrically. The temporalis muscles on the sides of your head and the masseter muscles along your jaw are powerful, and when they fire unevenly for hours or days, the result can feel like a tension headache wrapping from your temples to the back of your skull.
This kind of headache tends to show up within the first day or two after your appointment and gets worse with chewing. You might also notice that biting down feels slightly “off,” or that one side of your jaw gets sore before the other. A case study examining a patient with headaches linked to bite-force imbalance found that once the bite was adjusted and the interfering contact points were removed, the headaches improved substantially.1PubMed. Incidence of headaches related to occlusion and bite force imbalance: a case study The fix is usually quick: your dentist marks the high spots with articulating paper and shaves down the excess filling material in a visit that rarely takes more than a few minutes.
Nerve Irritation Inside the Tooth
Every tooth has a soft core of nerve tissue and blood vessels called the pulp. Drilling into a tooth to remove decay and place a filling generates heat, vibration, and physical disruption close to that nerve bundle. In most cases the pulp recovers, but sometimes the procedure pushes an already-inflamed pulp past its tipping point into a state of irreversible inflammation. When that happens, the nerve tissue releases a cocktail of inflammatory chemicals that directly stimulate pain fibers. Researchers have described this process as the “inflammatory soup” irritating intradental nerves, and in severe cases it may involve not just local nerve sensitization but also changes in how the brain’s pain-processing centers respond, a phenomenon called central sensitization.2PubMed Central. Pulpitis in a dens invaginatus presenting as a Trigeminal Neuralgia: A case report
The reason this matters for headaches specifically is the trigeminal nerve. This is the major sensory nerve of the face, and it has three branches that cover your forehead, cheek, and jaw. Inflammation inside a lower molar can send signals that “spill over” into branches serving the temple or forehead. Animal research has shown that when the dental pulp becomes inflamed, pain-signaling receptors are upregulated not just locally but across the wider trigeminal ganglion, including divisions that serve the upper face.3PubMed. LPS-induced dental pulp inflammation increases expression of ionotropic purinergic receptors in rat trigeminal ganglion In plain terms, a problem tooth can make nerve cells far from that tooth more excitable, which is why a filling in a back molar sometimes produces pain that feels like it’s behind your eye or across your forehead.
Shrinkage Stress in Composite Fillings
Modern tooth-colored fillings are made of resin composite, and they have one well-known drawback: they shrink as they harden. The light-curing process that sets the material triggers a chemical reaction that pulls the filling inward. That contraction tugs on the walls of the cavity it sits in. Research on resin composite behavior has confirmed that polymerization shrinkage leads to high tensile strains around the restoration, pulling on the surrounding tooth walls and causing what’s called cuspal deflection, where the sides of the tooth flex outward.4PubMed Central. Shrinkage of dental composite in simulated cavity measured with digital image correlation Polymerization shrinkage remains one of the major disadvantages of resin composites over older amalgam materials.5Materials. Review: Resin Composite Filling
For you, this means the tooth can become sensitive to temperature changes and biting pressure in the days after the filling is placed. If the shrinkage is enough to create a micro-gap between the filling and the tooth wall, bacteria can seep in and cause secondary inflammation of the pulp, restarting the nerve irritation cycle described above. That lingering sensitivity and low-grade inflammation can contribute to headaches, particularly if the affected tooth is in the upper jaw where the nerve branches are closer to the temples and forehead. Dentists minimize this by placing composite in thin layers rather than one large mass, but the shrinkage cannot be entirely eliminated with current materials.
When Metallic Fillings Create Electrical Currents
If you have older amalgam fillings or metal crowns, you may have experienced a sharp, unpleasant jolt when biting on aluminum foil. That sensation comes from galvanic currents: tiny electrical charges generated when two different metals sit in saliva, which acts as an electrolyte. Some patients report chronic oral discomfort and headaches they attribute to these currents. The reality, however, is more complicated than the popular narrative suggests.
A controlled study comparing patients who complained of symptoms from oral galvanism to matched controls found no statistical difference in the actual electrical currents, potential, or energy measured at their metallic restorations. What the researchers did find was that the symptomatic patients had a significantly lower sensitivity threshold and more mental-health disturbance than the controls.6PubMed Central. Pain in oral galvanism This doesn’t mean the patients weren’t suffering real pain. It suggests the discomfort was driven more by heightened nerve sensitivity and psychological factors than by the electrical activity of the metals themselves. For someone considering having all their amalgam fillings replaced purely to stop headaches, this finding is worth weighing carefully.
Headaches from the Dental Appointment Itself
Sometimes the headache isn’t really about the filling at all. It’s about the process of getting one placed. Holding your mouth wide open for 30 to 60 minutes puts strain on the jaw joints and muscles. The injection of local anesthetic involves a needle penetrating muscle tissue, and that can cause localized swelling or a small hematoma. A review of neurological complications from dental local anesthesia noted a range of possible side effects including hematoma, trismus (limited jaw opening), and neuralgia.7PubMed Central. Neurological Complications of Local Anesthesia in Dentistry: A Review Any of these can produce a dull headache that starts an hour or two after you leave the office and lasts through the evening.
Jaw-related headaches from the appointment tend to be one-sided and concentrated near the ear or temple. They typically fade within 24 to 48 hours. Applying a warm compress to the jaw muscles and taking an over-the-counter anti-inflammatory can help. If you’re someone who tends to clench during dental procedures, ask your dentist about taking breaks during longer appointments to let your jaw rest.
Why Migraine Sufferers Are More Vulnerable
If you already live with migraines, dental work of any kind can be a trigger. The trigeminal nerve, which carries sensation from your teeth, is the same nerve that plays a central role in migraine attacks. A study comparing migraine patients to non-migraine controls found that migraine sufferers reported headaches during or after dental treatment significantly more often than people without migraines. Environmental factors in the dental office, such as the sound of drilling, were among the strongest triggers increasing their headache sensation.8PubMed Central. Dental anxiety among migraine patients
Migraine patients in that study also used analgesics more frequently after dental visits than controls did. If you have migraines and need a filling, it’s worth telling your dentist upfront. Some practical adjustments help: scheduling the appointment during a time of day when your migraines tend to be less active, keeping the procedure as short as possible, and having your rescue medication on hand. None of this means you should avoid dental care, but being proactive about your triggers can keep a routine filling from spiraling into a multi-day migraine episode.
The Role of Anxiety and Pain Perception
How much pain you expect from a filling can influence how much pain you actually feel afterward. Research on dental pain perception has found that a psychological trait called pain catastrophizing, the tendency to ruminate on, magnify, and feel helpless about pain, is directly linked to how intensely people experience dental discomfort. Brain imaging showed that people who scored higher on catastrophizing measures had increased activity in the hippocampus, a region involved in learning to associate certain situations with unpleasant outcomes.9PubMed Central. Pain catastrophizing is associated with dental pain in a stressful context Unpredictability about what was going to happen also amplified their pain.
This doesn’t mean post-filling headaches are “all in your head.” It means that two people with the same filling, placed the same way, can walk out with very different levels of discomfort based on how their brains process the experience. If dental anxiety is something you struggle with, strategies like discussing each step with your dentist in advance, using noise-canceling headphones, or exploring sedation options can reduce the unpredictability that dials up pain perception. A calmer appointment often means a calmer recovery.
What To Do When a Filling Gives You a Headache
The first step is figuring out whether the headache is coming from the bite, the nerve, or the muscles. Each calls for a different response.
- Bite check: If the headache started within a day of the appointment and gets worse with chewing, call your dentist and ask for a bite adjustment. This is a fast, painless fix. It’s the most common cause of post-filling headaches and the easiest to resolve. Studies confirm that balancing the bite and removing interference points leads to significant headache improvement.1PubMed. Incidence of headaches related to occlusion and bite force imbalance: a case study
- Nerve sensitivity: If you have sharp, lingering pain in the filled tooth that radiates into your head, the pulp may be inflamed. Mild cases settle down within a few weeks. If the pain intensifies or you develop spontaneous throbbing, you may need further treatment to address the nerve. Treating the inflamed pulp directly has been shown to provide meaningful pain relief.10SpringerLink / Odontology. The effect of pulpotomy using a calcium-enriched mixture cement versus one-visit root canal therapy on postoperative pain relief in irreversible pulpitis: a randomized clinical trial
- Muscle strain: If the headache is more of a dull ache around the temples and jaw, and you had a long appointment, jaw-muscle fatigue is the likely culprit. Rest, warm compresses, and soft foods for a couple of days usually take care of it.
- Clenching and grinding: If you notice the headaches keep coming back, especially in the morning, you may be grinding your teeth at night. A stabilization splint worn during sleep can protect both the filling and your jaw muscles. Research on these devices in patients with jaw-joint problems shows improvement in symptoms, with patients treated for longer periods reporting the most relief.11CrossRef / Mustansiria Dental Journal. Stabilization Splint (Night Guard, Mouth Guard) Comparative Research
Over-the-counter pain relievers like ibuprofen can help bridge the gap while you sort out the underlying cause, but they’re not the long-term answer. If you find yourself reaching for painkillers daily after dental work, that pattern itself can become a problem: chronic analgesic use can lead to medication-overuse headaches, which feel like the original headache but are actually sustained by the medications taken to treat them. Breaking that cycle requires tapering off the painkillers and addressing the root cause of the dental discomfort.
When a Post-Filling Headache Needs Urgent Attention
Most post-filling headaches are annoying but not dangerous. A few warning signs suggest something more serious is going on and should prompt a call to your dentist or doctor sooner rather than later:
- Fever with facial swelling: This may indicate an infection spreading from the tooth, and infections near the jaw can become serious quickly.
- Numbness that doesn’t wear off: Local anesthetic should fade within a few hours. Persistent numbness or tingling in the lip, tongue, or chin after that window could signal nerve injury from the injection.7PubMed Central. Neurological Complications of Local Anesthesia in Dentistry: A Review
- Headache that worsens steadily over days: A headache that peaks at 24 hours and fades is normal post-procedure discomfort. One that keeps building over three or more days may mean the nerve inside the tooth is dying and needs treatment.
- Vision changes or drooping eyelid: Rare, but documented as possible complications of dental anesthesia. These need immediate medical evaluation.
Fillings on Teeth That Have Already Had Work
A tooth that’s being filled for the first time is less likely to cause headache problems than one that’s had multiple restorations. Each time a tooth is drilled, the remaining wall of natural tooth structure gets thinner, the pulp gets closer to the surface, and the nerve becomes more susceptible to irritation. Replacement fillings are larger than the originals and leave less natural tooth to absorb chewing forces, which can make bite imbalances more pronounced.
Teeth with large, old amalgam fillings being swapped for composite can be especially tricky. The removal process generates additional heat and vibration, and the new composite material shrinks during curing as described earlier, creating stress on walls that are already compromised. If your dentist recommends a crown instead of a replacement filling, it’s often because the remaining tooth structure is too thin to reliably support another filling without risking fracture or persistent sensitivity. A crown distributes chewing forces more evenly across the tooth, which can actually reduce headache-triggering bite problems compared to a bulky direct filling in a heavily restored tooth.
If you’ve had repeated work on the same tooth and keep getting headaches after each appointment, the cumulative trauma to the nerve may be the real issue. At some point, the pulp simply can’t recover anymore, and definitive treatment of the nerve becomes the path to lasting relief rather than another round of filling replacement.