TL;DR
Magic mouthwash is a compounded prescription rinse — typically a 1:1:1 mixture of viscous lidocaine, diphenhydramine, and an antacid like Maalox. It provides real, effective pain relief, which is worth something when a canker sore is making it hard to eat. What it doesn't do: reduce healing time, address the underlying immune process, or outperform plain lidocaine in the one well-powered trial that compared them directly. It's a legitimate prescription tool for pain management, not a treatment for the ulcer itself. If pain is severe and OTC benzocaine isn't cutting it, it's a reasonable ask from your dentist. Don't expect it to shorten your outbreak.
What Is Magic Mouthwash?
"Magic mouthwash" isn't a single product or FDA-approved formulation — it's a catch-all term for a class of compounded prescription oral rinses. Because it's compounded (mixed by a pharmacist to order, not manufactured at scale), the exact recipe varies by prescriber, institution, and pharmacy.
The classic three-component formula:
- Viscous lidocaine 2% — topical anesthetic; the workhorse of the combination
- Diphenhydramine (Benadryl) 12.5mg/5mL — antihistamine with mild topical anesthetic properties
- Aluminum/magnesium hydroxide (Maalox) — antacid that coats the mucosal surface
Typically mixed in equal parts (1:1:1), prescribed as "swish for 30–60 seconds, then spit" — 5–10mL per dose, up to every 3–4 hours as needed.
Some prescribers add additional components depending on the indication:
- Nystatin — for concurrent oral fungal infections
- Dexamethasone or hydrocortisone — corticosteroid to reduce inflammation
- Tetracycline — antibacterial, used in some older canker sore formulas
- Sucralfate — adds an additional mucosal coating layer
There is no standardized magic mouthwash formula. What your dentist or doctor prescribes may not be identical to what someone else received.
What Each Component Actually Does
Viscous lidocaine is a local anesthetic that works by blocking sodium channels in sensory nerve fibers — preventing them from generating an action potential. Applied topically, it numbs the surface within minutes. Duration: 20–45 minutes. This is the active ingredient doing the most work in the combination. Viscous lidocaine 2% is also available as a standalone prescription product (not compounded).
Diphenhydramine is primarily an H1 antihistamine, but it also has mild local anesthetic properties via sodium channel blockade — similar mechanism to lidocaine but much weaker. It contributes marginally to pain relief and may have a small anti-inflammatory effect. The rationale for including it in an oral rinse for mucosal pain is not strongly supported by evidence.
Antacid (Maalox) creates a thin coating over the mucosal surface. This physical barrier provides modest protection against food, saliva, and pH changes. It also neutralizes the slightly acidic wound environment. It's the component that gives magic mouthwash its thick, chalky consistency.
Corticosteroid (if included) is the addition that moves magic mouthwash from "pain management only" toward "actual anti-inflammatory treatment." Dexamethasone rinse, when included, suppresses the T-cell immune response that drives aphthous ulcer progression. A formula with a corticosteroid has more mechanistic relevance for canker sores than the classic three-component version.
What the Evidence Says
The evidence for magic mouthwash specifically for canker sores is minimal — most studies have been done for chemotherapy-induced oral mucositis, not recurrent aphthous stomatitis. These are related but distinct conditions; what works for one may not extrapolate cleanly to the other.
The key trial: A 2013 randomized controlled trial by Saunders et al. (PMID: 23670156) compared magic mouthwash, diphenhydramine-antacid, and a simple antacid-sucralfate rinse in cancer patients with mucositis. Magic mouthwash performed no better than the simpler alternatives for pain relief. This was a well-powered, multi-center trial. The conclusion: the extra complexity of the triple combination doesn't add meaningful benefit over simpler approaches — lidocaine is doing most of the work.
For aphthous ulcers specifically: There are no large RCTs testing magic mouthwash against placebo or active comparators specifically for RAS. The evidence base is case reports, small series, and clinical experience. This is what earns it a weak evidence rating for this specific indication.
The honest assessment: If magic mouthwash contains only the classic three components (lidocaine + diphenhydramine + antacid), it is primarily a pain management tool with real but time-limited effect. If it includes a corticosteroid, it has more rationale as a treatment that may also reduce healing time. Ask your prescriber which formula they're writing.
When It Makes Sense to Ask For It
Magic mouthwash is a legitimate option in specific situations:
Severe pain that's limiting eating or drinking. OTC benzocaine gel covers small areas well but doesn't address widespread mucosal pain. If you have multiple ulcers or a major aphthous ulcer where a swish-and-spit application covers the entire affected area, magic mouthwash has a practical advantage over spot-applied gel.
When you can't tolerate spot treatment. Some ulcer locations (soft palate, throat, base of tongue) are difficult to reach with a cotton swab or direct gel application. A rinse covers the entire oral cavity without requiring precision application.
As part of a prescription visit anyway. If you're already seeing a dentist or physician for a significant outbreak, it's a straightforward add-on prescription that costs relatively little to add to the plan. It's a reasonable ask.
What it's not good for: Routine minor aphthous management. OTC benzocaine is cheaper, equally effective for pain, and doesn't require a prescription visit. If OTC options are working, magic mouthwash adds little.
Getting a Prescription
Magic mouthwash requires a prescription in the US — typically written by a dentist, oral medicine specialist, or primary care physician. The prescription specifies the formula, and a compounding pharmacy prepares the mixture.
Finding a compounding pharmacy: Not all pharmacies compound — you need one that specifically offers compounding services. PCAB-accredited (Pharmacy Compounding Accreditation Board) compounding pharmacies meet established quality standards. Major national chains like Walgreens or CVS do not typically compound; independent compounding pharmacies are the primary source.
Cost: Typically $20–60 for a 4–8oz bottle, depending on the formula and pharmacy. Some insurance plans cover it; some don't. A formula with dexamethasone or other additions will cost more than the classic three-component version.
If you're looking for a dentist to help manage persistent canker sores, our Find Help directory lists oral health professionals familiar with aphthous management.
How to Use It
The standard protocol:
- Measure 5–10mL (roughly one to two teaspoons)
- Swish vigorously throughout the oral cavity for 30–60 seconds
- Spit — do not swallow
- Do not eat or drink for 30 minutes after use (the lidocaine suppresses the gag reflex; eating while numb risks biting your cheek or misjudging food temperature)
- Use every 3–4 hours as needed, or as your prescriber directs
Caution with systemic absorption: Lidocaine can be absorbed through mucosal tissue. Overdose from topical lidocaine misuse (swallowing rather than spitting, using excessive amounts) has been reported, including cardiac effects. Follow the prescribed dose and the swish-and-spit instruction strictly.
Better Alternatives for Healing Acceleration
If your goal is actually shortening the ulcer's duration — not just managing pain — magic mouthwash (without a corticosteroid) isn't the right tool. Better options:
- Topical corticosteroids (fluocinonide, triamcinolone) — directly suppress the immune attack; most evidence for reducing healing time in minor and major aphthous
- Amlexanox — the only treatment ever FDA-approved specifically for aphthous ulcers; read the full breakdown in Aphthasol and Amlexanox for Canker Sores
- Laser treatment (LLLT) — see Laser Treatment for Canker Sores
- Chemical cauterization (Debacterol) — prescription-only, dentist-applied; fastest single-appointment pain relief with accelerated healing
See the full Canker Sore Treatment Guide for a ranked overview.
FAQ
Is magic mouthwash available OTC?
No. It's a compounded prescription product — it requires a prescription from a licensed prescriber and is prepared by a compounding pharmacy. You cannot buy it over the counter.
Does magic mouthwash heal canker sores faster?
Not reliably. The standard three-component formula (lidocaine + diphenhydramine + antacid) manages pain but does not address the underlying immune attack. A version that includes a corticosteroid (like dexamethasone) has more rationale for healing acceleration. Ask your prescriber whether their formula includes one.
Can I make magic mouthwash at home?
Some people mix equal parts Children's Benadryl liquid and Maalox as a DIY approximation — this provides the diphenhydramine and antacid components but lacks the lidocaine that does most of the work. It's a reasonable short-term palliative if you can't get a prescription, but it's not the same formulation and has less pain-relieving effect.
How long does the numbing last?
20–45 minutes, depending on how well the lidocaine adheres to the mucosal surface. Effects wear off as the solution is washed away by saliva.
Can I swallow magic mouthwash?
No — the instructions are swish and spit. Systemic absorption of lidocaine is possible through the GI tract, and swallowing large amounts risks cardiac effects. The antacid component is safe to swallow but the lidocaine component is not meant for internal use at these concentrations.