The ketogenic (keto) diet cuts carbohydrates to around 20 to 50 g a day, so your body switches to burning fat and producing ketones. People use it for weight loss, blood sugar control and, in some cases, epilepsy.
You may have read that keto can calm herpes too. There is one interesting animal study behind that idea, but no study has tested the keto diet for genital herpes or cold sores in people.
Here's what the research shows, how keto affects the lysine and arginine balance in your diet, and how to do keto without making outbreaks more likely.
Simplix Viral Defense
Cold Sore & HSV Support
Simplix Viral Defense
Cold Sore & HSV Support
Synergistic formula combining L-Lysine, shiitake mushroom, and marine bioactives for comprehensive immune support.
SHOP NOW & SAVE 15%Genital Herpes and Diet: The Basics
Genital herpes is caused by HSV-2 or HSV-1. The virus stays in nerve cells for life and reactivates now and then, often triggered by stress, illness, friction or hormonal changes.
Diet comes into it mostly through two ideas. The first is that the amino acid arginine helps the virus replicate, while lysine-rich foods may work against it. The evidence for this is limited and mostly comes from older supplement studies.
The second is general: anything that keeps your immune system and sleep in good shape helps. For the bigger picture, see our overview of herpes and diet.
The Mouse Study Behind the Keto Claims
In a 2023 study, researchers fed mice a ketogenic diet and then infected them with HSV-1 in a way that causes herpes encephalitis, a rare and serious brain infection.
The keto-fed mice lost less weight, had less virus and brain inflammation, and more of them survived. When the researchers wiped out the mice's gut bacteria with antibiotics, most of that protection disappeared, which suggests the gut microbiome was doing a lot of the work (Shan et al., 2023).
That's a genuinely interesting result. It's also a long way from genital herpes in humans. Encephalitis is a different disease from recurrent skin outbreaks, mice aren't people, and nobody has repeated this in humans.
The Keto Arginine Trap
Here's the part most keto-and-herpes articles miss. Keto can tilt your diet toward lysine or toward arginine, depending on which foods you lean on.
Per 100 g, from our lysine-arginine food database:
- Cheddar cheese: 2,104 mg lysine, 954 mg arginine (ratio 2.2)
- Parmesan: 3,346 mg lysine, 1,332 mg arginine (ratio 2.5)
- Salmon: 1,824 mg lysine, 1,176 mg arginine (ratio 1.6)
- Whole eggs: 582 mg lysine, 474 mg arginine (ratio 1.2)
- Almonds: 664 mg lysine, 2,486 mg arginine (ratio 0.27)
- Walnuts: 329 mg lysine, 1,416 mg arginine (ratio 0.23)
- Pumpkin seeds: 1,807 mg lysine, 3,979 mg arginine (ratio 0.45)
A keto diet built on cheese, fish, eggs and meat is naturally lysine-friendly. One that relies on almond flour, nut butters, seeds and fat bombs made with nuts and coconut leans strongly toward arginine.
Some people say they had outbreaks soon after starting keto. That's anecdotal, but a sudden jump in nuts and seeds is one plausible reason. Another is the stress of a big diet change in the first few weeks.
Inflammation, Ketones and Gut Bacteria
Supporters point to other possible benefits. Keto often lowers markers of inflammation in people who lose weight on it, and ketones act as signaling molecules that can dampen some inflammatory pathways.
Keto also reshapes the gut microbiome, which is what the mouse study pointed to. Whether those changes help with herpes in people is unknown.
The idea that keto "starves" the virus of glucose doesn't hold up well. Your body keeps blood sugar in a narrow range even on keto, and the virus uses the host cell's machinery whatever you eat.
If you're interested in the gut angle, our guide to probiotics for cold sores covers the strains that have been studied.
How to Do Keto With Herpes
- Build meals around lysine-rich proteins: cheese, Greek yogurt, fish, eggs, chicken and meat.
- Keep nuts and seeds to a small handful if arginine is a concern, and go easy on almond-flour baking.
- Ease in. Dropping carbs gradually over a couple of weeks makes "keto flu" milder, which means less stress on your body.
- Keep up salt, fluids and electrolytes, especially early on.
- Watch for a keto rash. An itchy rash called prurigo pigmentosa occasionally appears after starting keto. It isn't herpes, but it can be confused with it.
- Track your outbreaks before and after starting, so you can see whether anything changes.
If you're intermittent fasting as well, read our article on fasting and herpes first.
Who Should Check With a Doctor First
Talk to your doctor before starting keto if you have diabetes (especially if you take insulin or an SGLT2 inhibitor), kidney or liver disease, a history of eating disorders, or are pregnant or breastfeeding.
And keep diet in its place. If you have frequent outbreaks, daily antiviral tablets are proven to cut them down, and keto is not a replacement for them.
Keto Diet and Herpes FAQs
Can the keto diet help genital herpes?
It hasn't been tested in people. A 2023 mouse study found keto protected against HSV-1 brain infection, but that's very different from recurrent genital outbreaks in humans.
Can starting keto trigger a herpes outbreak?
Some people report it. Likely reasons are eating far more nuts and seeds, which are high in arginine, and the stress of a sudden diet change. Easing in and favoring cheese, fish and eggs may help.
Which keto foods are best if I have herpes?
Cheese, Greek yogurt, fish, eggs and meat all have more lysine than arginine. Nuts, seeds and almond flour are the keto foods highest in arginine.
Is the keto rash the same as herpes?
No. The keto rash (prurigo pigmentosa) is an itchy, reddish-brown rash, usually on the chest, back or neck. Herpes causes small clustered blisters that come back in the same spot. If you're unsure, see a doctor.
Can I take valacyclovir or acyclovir on keto?
Yes. Keto doesn't interfere with antivirals. Drink plenty of fluids, which matters for both keto and these medicines.
Bravado Labs L-Lysine Cold Sore Treatment
Why we love it:
- Verified Customer Favorite
- High Quality Ingredients
As an affiliate, we earn from qualifying purchases.