Magic mouthwash is a custom-mixed oral rinse prescribed to treat painful mouth sores, most often caused by chemotherapy or radiation therapy. It’s not a single brand-name product. Instead, it’s a category of compounded solutions that pharmacists prepare by mixing several medications together, each targeting a different aspect of mouth pain and irritation. Because there’s no standardized formula, the exact ingredients vary depending on the prescriber and the patient’s needs.
Common Ingredients and What They Do
Most magic mouthwash formulas combine three to four active ingredients, each with a different job. A typical version includes a numbing agent, an antihistamine, and an antacid. Some versions also contain an antifungal or a steroid. Here’s what each component does:
- Lidocaine (numbing agent): The most common pain-relief ingredient. It temporarily numbs the nerves in your mouth so you can eat, drink, and talk more comfortably.
- Diphenhydramine (antihistamine): Reduces inflammation and swelling in the mouth’s lining. In liquid form, it also has mild numbing properties of its own.
- Aluminum/magnesium hydroxide (antacid): This is the same type of liquid antacid you’d find over the counter for heartburn. In magic mouthwash, it acts as a coating agent, helping the other ingredients stick to the sore areas longer.
- Nystatin (antifungal): Added in some formulas to prevent or treat yeast infections in the mouth, which are common during cancer treatment when the immune system is suppressed.
- Dexamethasone (steroid): Included in certain versions to reduce more severe inflammation. The National Cancer Institute describes one formulation combining diphenhydramine, dexamethasone, and nystatin specifically to inhibit inflammation and yeast colonization of the oral lining during cancer therapy.
One compounding formula from a children’s hospital, for example, mixes 40 mL of 2% lidocaine with a small amount of liquid diphenhydramine and a much larger volume of liquid antacid. The result is an opaque, pinkish-white suspension. But your version could look and taste different depending on what your prescriber orders.
What It’s Prescribed For
The primary use is oral mucositis, the painful mouth sores that develop as a side effect of chemotherapy and radiation to the head or neck. These sores can make it agonizing to eat, swallow, or even open your mouth. Magic mouthwash is meant to coat and numb those sores so you can get through basic daily activities.
Some providers also prescribe it for severe canker sores (aphthous ulcers) or other conditions that cause widespread mouth pain. It’s not intended for routine dental discomfort or minor irritation.
How to Use It
You use it like regular mouthwash, with a few important differences. Most prescriptions call for swishing it around your mouth for one to two minutes, then spitting it out. The typical frequency is every four to six hours as needed for pain relief.
A few practical tips: shake the bottle well before each use, because the ingredients settle and separate between doses. Try not to eat or drink for at least 15 to 30 minutes afterward so the coating has time to work. And unless your doctor specifically tells you to swallow it, spit it out. Some prescriptions do call for swallowing, particularly when sores extend down into the throat, but that’s a case-by-case decision because swallowing increases the chance of side effects.
Side Effects
The most noticeable side effect is numbness or tingling throughout your mouth. This is the lidocaine doing its job, but it can feel strange and may temporarily affect your ability to taste food. Because your mouth and throat are partially numb, you’ll want to be careful eating or drinking hot foods, since you might not feel a burn.
If you swallow the mouthwash, additional side effects can include drowsiness (from the antihistamine), nausea, diarrhea, or constipation. Accidentally swallowing a dose when you were told to spit is unlikely to cause serious harm, but regularly swallowing more than directed raises the risk of these issues.
How to Get It
Magic mouthwash requires a prescription. Because it’s a compounded medication rather than a pre-packaged product, your pharmacist mixes it on-site or it comes from a compounding pharmacy. You can’t buy it over the counter. Your doctor writes a prescription specifying which ingredients to include, and the pharmacist prepares it according to those instructions.
Once compounded, the mouthwash generally stays stable for about 90 days. A stability study found that a common two-ingredient formula (antacid plus diphenhydramine) maintained its potency for the full 90 days whether stored at room temperature or in the refrigerator. That said, many pharmacies label it with a refrigeration recommendation, and your bottle will have a specific expiration date. Follow whatever storage instructions are on your label.
Does It Actually Work?
This is where magic mouthwash gets complicated. Despite its widespread use in cancer care, the clinical evidence behind it is surprisingly thin. The Oncology Nursing Society specifically does not recommend magic mouthwash for preventing or treating oral mucositis, placing it alongside chlorhexidine and sucralfate as agents without sufficient evidence to support routine use.
That doesn’t mean it provides zero relief. Many patients report that the numbing effect helps them eat and manage pain in the short term. The issue is that rigorous studies haven’t consistently shown it works better than simpler alternatives like salt water or baking soda rinses. The Mayo Clinic notes that magic mouthwash is commonly prescribed for chemotherapy-related mouth sores but stops short of calling it a proven treatment.
For many patients, the practical reality is that their oncologist prescribes it because the numbing effect provides real, if temporary, comfort during a difficult stretch of treatment. Whether it’s better than cheaper alternatives is a conversation worth having with your care team, especially since compounded medications can be expensive and aren’t always covered by insurance.

