Milk of magnesia helps canker sores mainly by coating the ulcer with a protective film of magnesium hydroxide, blocking irritants and oral bacteria from the exposed nerve endings. Because it is alkaline, it also neutralizes the mild acidity of saliva and wound fluid at the sore's surface, reducing the stinging that acid triggers. The result is less pain and faster comfort while the tissue heals, though it does not cure the underlying cause of recurrent aphthous ulcers.
The coating mechanism: a physical barrier over exposed tissue
A canker sore, or aphthous ulcer, is a break in the non-keratinized lining of the mouth that exposes the lamina propria and its free nerve endings. Those endings are what make a minor ulcer hurt out of proportion to its size. Milk of magnesia is a suspension of magnesium hydroxide particles, typically about 7 to 8.5 percent by weight in water, that forms a thin, adherent layer when swabbed onto a wet mucosal surface. That layer sits between the nerve endings and the chemical and mechanical insults that keep the sore firing.
The barrier does two jobs. First, it physically separates the ulcer base from saliva-borne irritants, food acids, and bacterial byproducts. Second, it lowers the local concentration of protons at the wound surface. Magnesium hydroxide is a weak base that consumes hydrogen ions, so the microenvironment at the sore shifts toward neutral. Since acid amplifies the burning sensation of an open ulcer, neutralizing that acid directly blunts the pain signal. The coating is temporary, which is why application has to be repeated.
A plain-language way to hold it: the antacid acts like a raincoat over a scrape, keeping the stuff that stings off the raw tissue while the skin underneath closes.
Why the alkalinity matters more than the magnesium
Most people assume milk of magnesia works because of the magnesium. The more defensible explanation is that the base is doing the therapeutic work and the magnesium is largely incidental. The hydroxide ion is what buffers acid at the ulcer surface. Magnesium is the counterion that keeps the suspension stable and gives the product its laxative effect when swallowed in volume, but that effect is irrelevant when a small amount is dabbed on a mouth sore.
This matters for interpreting the evidence. Milk of magnesia has not been the subject of large randomized trials for aphthous ulcers, so what exists is a mechanistic rationale plus small studies and clinical experience with related alkaline and coating agents. Clinicians and professional reviews frequently place it among first-line comfort measures for minor ulcers, but they classify it as symptomatic relief rather than proven disease-modifying therapy. That distinction should shape expectations: the goal is pain control and a less irritated healing environment, not a demonstrated reduction in ulcer frequency or duration.
There is also a counterintuitive detail worth flagging. The oral environment is already well buffered by bicarbonate in saliva, so the alkalizing effect of a dab of milk of magnesia is modest and short-lived. The barrier effect is probably the bigger contributor to symptom relief. Anyone who notices benefit should not assume it proves an "acid cause" of canker sores, because no such simple cause is established.
Quantified context: how common, how long, how big
Minor aphthous ulcers are among the most common oral mucosal conditions. They affect roughly 20 percent of the general population at some point, according to reviews in the dental and dermatology literature, with higher rates in younger adults and in people with a family history. A typical minor ulcer measures under 1 centimeter, heals in 10 to 14 days without scarring, and causes pain that peaks in the first few days.
Recurrence is the defining feature. Many people get one to several episodes per year, and a subset experience near-continuous crops of ulcers. Major aphthous ulcers are larger than 1 centimeter, can persist for weeks, and may scar; herpetiform ulcers appear as clusters of pinpoint sores. Milk of magnesia is reasonable for minor and herpetiform ulcers but is not adequate as the sole measure for major or persistent ulcers.
Timeline of a typical minor ulcer and where coating helps:
| Day | Ulcer stage | What milk of magnesia does |
|---|---|---|
| Day 0 | Prodrome, tingling before the break appears | Little benefit; no open wound yet |
| Day 1-2 | Ulcer opens, pain rises sharply | Coating reduces contact with irritants and acid |
| Day 3-5 | Peak pain and inflammation | Repeated application blunts burning, supports eating |
| Day 6-9 | Granulation, pain declining | Helps tolerance of food and drink |
| Day 10-14 | Re-epithelialization, healing | Adjunct comfort; sore usually closes |
| Beyond 14 days | Should prompt evaluation | Not a signal to keep self-treating |
Those day ranges are typical rather than fixed; healing time varies with ulcer size, location, and host factors. The practical point is that the product's usefulness tracks the open, painful phase, not the tingling before it or the healing after it.
Comparison with other over-the-counter options
Milk of magnesia competes with several other non-prescription approaches, and knowing where it fits clarifies when to reach for it.
| Option | Main mechanism | Onset | Duration | Best for |
|---|---|---|---|---|
| Milk of magnesia | Alkaline coating and barrier | Minutes | Short, needs reapplication | Minor ulcers, mealtime comfort |
| Benzocaine gel | Local anesthetic | Minutes | About 15-45 minutes | Rapid but brief pain relief |
| Triamcinolone dental paste | Topical corticosteroid | Hours to days | Prolonged with adhesion | Slowing inflammation in larger ulcers |
| Chlorhexidine rinse | Antimicrobial | Gradual | Hours | Reducing bacterial load, adjunct use |
| Saltwater or bicarbonate rinse | Mechanical cleansing, mild buffering | Minutes | Minutes | Gentle cleaning between meals |
| Oral analgesic (systemic) | Central pain relief | 30-60 minutes | Hours | Pain interfering with sleep or intake |
Milk of magnesia's niche is the barrier-plus-buffer role. It is not an anesthetic, so it will not numb a sore the way benzocaine does. It is not an anti-inflammatory in the steroid sense. It is cheap, widely available, and low-risk when used as directed, which is why it appears so often in home-care advice. Prices vary by brand and size, generally in the single-digit to low-double-digit USD range for a standard bottle, so it is among the least expensive options.
Edge cases: who should be cautious
Milk of magnesia is generally low-risk for topical use in the mouth, but several situations warrant caution or a clinician's input.
Known kidney disease: magnesium is cleared by the kidneys, and even small swallowed amounts add to the body's load; people with impaired renal function should not use magnesium-containing products without medical advice. Allergy or sensitivity to magnesium hydroxide or product excipients: stop if rash, swelling, or worsening irritation appears. Very large or deep ulcers, or ulcers lasting more than two weeks: these need evaluation, not continued self-treatment, because they can signal another condition. Ulcers with fever, spreading redness, or difficulty swallowing: seek care promptly rather than coating over the problem. Children: use only with a clinician's guidance, since swallowing the product in quantity has different risks than dabbing it on a sore.
A professional caveat that often gets lost: a canker sore that does not behave like a canker sore is the main thing to worry about. A single non-healing ulcer, an ulcer with rolled or indurated edges, or one accompanied by unexplained weight loss or a neck lump should be examined. Coating a suspicious lesion with antacid delays diagnosis.
Misconceptions worth correcting
Several beliefs about milk of magnesia and canker sores do not survive scrutiny.
The first is that it cures the sore. It does not. There is no established cure for recurrent aphthous stomatitis; management aims at symptom control and, in some cases, reducing recurrence frequency. Milk of magnesia addresses comfort, not cause.
The second is that swallowing it treats sores from the inside. The evidence supports topical action at the ulcer surface. Systemic absorption of a dab is negligible, and there is no basis for swallowing doses to treat mouth ulcers, which also introduces the laxative effect and, in kidney impairment, magnesium load.
The third is that a stronger base works faster. Concentrated alkaline products can irritate mucosa, and there is no evidence that more alkalinity produces better healing. The goal is a gentle, temporary barrier, not a chemical burn.
The fourth is that if it helps, the sore must be acid-caused. As noted, the barrier effect likely dominates, and canker sores have no single established acid trigger. Benefit is a comfort signal, not a diagnostic one.
Practical use: steps and thresholds
These are general comfort measures, not a prescription. Anyone with frequent, severe, or non-healing ulcers should see a dentist or physician for an individualized plan.
Start when the ulcer is visibly open and painful, not during the pre-ulcer tingling. Shake the bottle well, then dab a small amount onto the sore with a clean cotton swab or clean finger, avoiding vigorous rubbing. Apply before meals and at bedtime to reduce irritation from food and to protect through the night. Expect to reapply several times a day, because the coating washes away with saliva and swallowing. Do not swallow the product as a treatment for mouth sores; spit or allow the small excess to rinse away. Keep a simple log of ulcer frequency, size, and duration if recurrences are frequent, so a clinician can judge whether further workup is warranted.
Explicit threshold reconciliation: minor ulcers typically heal within 10 to 14 days, and the common clinical rule is to seek evaluation for any mouth ulcer persisting beyond two weeks, or sooner if it is large, worsening, or accompanied by systemic symptoms. Those thresholds are consistent rather than competing: the 10 to 14 day figure describes expected healing, while the two-week mark is the trigger for reassessment. If an ulcer is not clearly improving by day 14, stop relying on comfort measures alone.
Limitations and what the evidence does not show
The honest bottom line is that milk of magnesia is a reasonable, low-cost comfort measure for minor canker sores with a coherent mechanism, but it lacks robust trial evidence specific to aphthous ulcers. Most of what clinicians know comes from its use as a coating and buffering agent, from small studies of related alkaline agents, and from decades of low-risk clinical experience. That is enough to justify trying it, not enough to promise faster healing or fewer recurrences.
It also does not replace etiologic evaluation when ulcers are frequent, severe, or atypical. Recurrent aphthous stomatitis can accompany nutritional deficiencies, immune conditions, and other systemic disease, and those possibilities are not addressed by any over-the-counter coating. Readers should treat milk of magnesia as one tool for symptom relief, pair it with gentle oral hygiene and avoidance of known triggers, and escalate to professional care when the pattern crosses the thresholds above.