Key takeaways:
Xifaxan (rifaximin) is an antibiotic that treats conditions such as traveler’s diarrhea and hepatic encephalopathy (HE). You’re more likely to experience side effects if you take Xifaxan long-term for HE. Short courses of Xifaxan are typically well-tolerated.
Common Xifaxan side effects include edema, nausea, and dizziness. Fatigue and headache can also occur. Contact your healthcare team about any severe or persistent Xifaxan side effects you experience.
Rare, but serious Xifaxan side effects and risks include allergic skin rashes and Clostridioides difficile-related diarrhea. These require immediate medical attention.
Save on related medications
Xifaxan (rifaximin) is a prescription-only antibiotic that treats diarrhea caused by unwanted bacteria in your gut. It’s FDA approved to treat three health conditions that stem from excess gut bacteria. It can treat traveler's diarrhea caused by Escherichia coli (E. coli), irritable bowel syndrome with diarrhea (IBS-D), and hepatic encephalopathy (HE). What’s more, Xifaxan is commonly taken “off-label” to ease the symptoms of a GI condition called small intestinal bacterial overgrowth (SIBO).
While Xifaxan is generally well-tolerated, it can cause some unwanted side effects. The reason you’re taking Xifaxan — and how long you’re taking it for — can make a difference in what side effects you experience. Here’s what you should know.
Xifaxan side effects at a glance
Xifaxan works in your gut and isn’t absorbed into the bloodstream. Side effects are more likely if you take Xifaxan continuously for HE. It generally causes very few side effects if you only take it for a short treatment course (3 or 14 days).
Common or mild Xifaxan side effects can include:
Edema (swelling from fluid retention)
Nausea
Dizziness
Fatigue
Headache (when used for traveler’s diarrhea)
Increased liver enzymes (when used to treat IBS-D)
Muscle spasms
Constipation (when used for HE)
Rare but serious Xifaxan side effects and risks include:
Clostridioides difficile-associated diarrhea (C. diff diarrhea)
Allergic reactions, including skin rashes and anaphylaxis
Let’s take a closer look at seven possible Xifaxan side effects and what to do if they occur.
1. Swelling due to excess fluid
If you’re taking Xifaxan for HE, you may experience edema (fluid-related swelling) as a side effect. This happens most often in your arms and legs. In some cases, Xifaxan can also cause swelling in the abdomen (belly). This type of swelling is called ascites.
Ascites and edema are also very common in people living with severe liver problems — the underlying cause of HE. So it’s hard to know for sure what role Xifaxan actually plays in the side effect.
For mild swelling, try elevating your legs or some movement-related exercise, such as walking or yoga. But reach out to your healthcare team right away if you notice sudden or severe swelling in your limbs or abdomen. They can help take steps to manage it before it becomes a bigger problem.
2. Nausea
Nausea is another possible Xifaxan side effect. The conditions Xifaxan treats can also cause nausea. So in many cases, it will improve as Xifaxan starts working.
In the meantime, try taking Xifaxan with a meal or snack to help reduce nausea. You can also try eating smaller, more frequent meals. And avoid greasy or spicy foods that can make nausea worse.
If you’re having persistent nausea or stomach discomfort after taking Xifaxan, talk to your healthcare team. They may recommend a prescription or over-the-counter (OTC) nausea medication to help.
3. Dizziness
Dizziness is another possible Xifaxan side effect. If you feel lightheaded or unsteady while taking it, find a space to sit or lie down until you feel safe to move again.
To help prevent dizziness while taking Xifaxan:
Drink plenty of fluids, since dehydration can make dizziness worse.
Move slowly and avoid sudden changes in position when sitting up or standing.
Use a walking aid for balance and support if needed to help prevent falls.
Speak with your prescriber if dizziness is severe or doesn’t improve. They can help determine what’s causing it and the best next steps to take.
4. Fatigue
Fatigue (tiredness) is another relatively common side effect among people taking Xifaxan for HE. It’s also a common symptom of liver problems.
Small lifestyle changes may help you manage fatigue:
Adjust your sleep schedule to allow for more quality sleep.
Eat nutrient-rich foods for an energy boost.
Stay hydrated to make sure your body is functioning well.
Limit caffeine and alcohol to avoid an energy crash.
Get regular physical activity and daily sunlight exposure if possible.
Contact your healthcare team if your fatigue is severe or affecting your day-to-day life. They can help pin down other possible causes and suggest treatment options.
5. Headache
Some people taking Xifaxan for traveler’s diarrhea reported headaches during clinical studies.
Most headaches are short-lived, and will go away on their own. You can also try resting or applying a cool compress. If needed, an OTC pain reliever may help. Just check with your healthcare team first to make you choose one that’s safe for you.
If your headaches become severe or persistent it's a good idea to let your prescriber know. This isn’t usual with Xifaxan, and could be a sign of something more serious going on.
6. Skin rash
You may experience a mild skin rash or itchiness while taking Xifaxan for HE. These symptoms are often related to liver problems. But Xifaxan can also cause serious allergic skin reactions in rare cases. So it’s best to talk to your healthcare team about any rashes that appear while taking Xifaxan. They can determine if it’s serious enough to stop the medication.
If you develop a skin rash along with blistering, trouble breathing, or swelling of your mouth and throat, seek emergency care right away. These can be signs of a serious allergic reaction.
7. C. diff-associated diarrhea
It doesn’t happen often, but Xifaxan and other antibiotics can contribute to a serious gut infection caused by a bacteria called C. diff. This infection occurs because antibiotics can change the normal balance of bacteria in the gut, which allows C. diff to overgrow.
A C. diff infection can cause symptoms such as:
Severe watery diarrhea
Stomach cramps or pain
Fever
Fatigue
Loss of appetite
Keep in mind, a C. diff infection can happen at any time during Xifaxan treatment — even 2 months (or more) after you finish taking it. Seek medical care right away if you develop any of the signs and symptoms of C. diff diarrhea. This infection can be life-threatening if it isn’t managed properly.
Frequently asked questions
Yes, there are alternatives to Xifaxan available. Though, those medications don’t work in exactly the same way. Your options will vary based on what health condition you’re treating. Examples may include medications such as dicyclomine (Bentyl) for IBS-D or azithromycin (Zithromax) for traveler’s diarrhea.
Xifaxan is only available as a brand-name medication. But if you have commercial insurance, you can pay as little as $0 per month with a manufacturer copay card. A patient assistance program is also available if you’re uninsured or underinsured.
The manufacturer doesn’t specify whether or not you can crush Xifaxan tablets, so it’s best to swallow them whole. If you have trouble swallowing pills, talk to your prescriber. A compounding pharmacy may be able to make a custom liquid suspension out of the tablets that’s easier for you to swallow.
Probiotics are generally helpful for the health conditions that Xifaxan treats, such as traveler’s diarrhea and HE. So it’s typically fine to take a probiotic with Xifaxan, as long as your healthcare team OKs it.
Yes, there are alternatives to Xifaxan available. Though, those medications don’t work in exactly the same way. Your options will vary based on what health condition you’re treating. Examples may include medications such as dicyclomine (Bentyl) for IBS-D or azithromycin (Zithromax) for traveler’s diarrhea.
Xifaxan is only available as a brand-name medication. But if you have commercial insurance, you can pay as little as $0 per month with a manufacturer copay card. A patient assistance program is also available if you’re uninsured or underinsured.
The manufacturer doesn’t specify whether or not you can crush Xifaxan tablets, so it’s best to swallow them whole. If you have trouble swallowing pills, talk to your prescriber. A compounding pharmacy may be able to make a custom liquid suspension out of the tablets that’s easier for you to swallow.
Probiotics are generally helpful for the health conditions that Xifaxan treats, such as traveler’s diarrhea and HE. So it’s typically fine to take a probiotic with Xifaxan, as long as your healthcare team OKs it.
The bottom line
Xifaxan (rifaximin) is an antibiotic that treats conditions such as traveler’s diarrhea and hepatic encephalopathy (HE). You’re more likely to experience side effects if you take Xifaxan long-term for HE. Short courses of Xifaxan are typically well-tolerated, with few side effects.
Xifaxan side effects include swelling, nausea, and dizziness. Fatigue and headache can also occur. Rare, but serious Xifaxan side effects include allergic skin rashes and Clostridioides difficile-related diarrhea. These require immediate medical attention. Contact your healthcare team about any severe or persistent Xifaxan side effects you experience.
Why trust our experts?



References
Cardinal Health 107, LLC. (2025). Xifaxan - rifaximin tablet [package insert].
Centers for Disease Control and Prevention. (2023). Travelers’ diarrhea.
Centers for Disease Control and Prevention. (2026). About C. diff.
Fan., H., et al. (2022). Probiotics and rifaximin for the prevention of travelers’ diarrhea: A systematic review and network meta-analysis. Medicine.
Goyal, A., et al. (2025). Peripheral edema. StatPearls.
Liu, Y., et al. (2022). Recognizing skin conditions in patients with cirrhosis: A narrative review. Annals of Medicine.
LiverTox: Clinical and Research Information on Drug-Induced Liver Injury. (2018). Rifaximin. National Institute of Diabetes and Digestive and Kidney Diseases.
Mandiga, P., et al. (2023). Hepatic encephalopathy. StatPearls.
Petrea Cober, M., et al. (2010). Stability of extemporaneously prepared rifaximin oral suspensions. American Journal of Health-System Pharmacy.
Robertson, K. D., et al. (2023). Rifaximin. StatPearls.
Shrimanker, I., et al. (2023). Electrolytes. StatPearls.
Tholey, D. (2025). Hepatic encephalopathy. Merck Manual.



