Can diet affect depression?
Depression is one of the most common mental health conditions in the world, affecting millions of people. The usual treatment is therapy and antidepressant medication, and for many it works well. But for a large group, medication has too little effect or side effects they cannot live with. That is why researchers have started to look at whether diet can play a role alongside treatment. Never change your depression medication on your own: that should always happen together with your doctor or psychiatrist.
A Canadian pilot study looked at what happens when people with moderate to severe depression follow a ketogenic diet for 14 weeks under medical supervision. The results are worth noticing.
In short: 11 adults with moderate to severe depression started a keto diet on top of their existing treatment, under close supervision from a doctor and dietitian, and 8 completed the 14 weeks. 7 of the 8 went into remission, meaning their depression largely disappeared. Anxiety and the ability to feel pleasure also improved clearly. But this was a small pilot study with no control group, so there is no way to tell how much was due to the diet. In a randomized trial from Oxford (JAMA Psychiatry, 2026) of 88 adults whose depression had not improved on at least two different antidepressants, a random draw decided who got keto and who got another diet. After 6 weeks, keto gave only a small extra improvement, and after 12 weeks the difference was no longer statistically solid.
The study: 14 weeks on keto under medical supervision
The trial was led by Brietzke and colleagues at Queen's University in Ontario, Canada, and published in the Journal of Affective Disorders in 2025. It was an open-label pilot study, meaning everyone knew they were on the diet, and there was only one group, so no control group to compare against. Keto was added on top of the treatment the participants were already receiving. According to the trial's registration, they had to have been taking an SSRI, a widely used type of antidepressant, for at least 6 weeks with no dose changes in the last 3 weeks.
Of 89 interested people, 11 joined and got started. Eight of them completed the whole program: a two-week start-up where the body adjusts to using fat as its main fuel, followed by 12 weeks of keeping it up. It all took place online with guidance from a registered dietitian, and according to the registration, participants had weekly appointments with both a psychiatrist and a dietitian.
What is ketosis?
Ketosis is a state where the body mostly uses fat for fuel instead of carbohydrate. It happens when you eat very little carbohydrate (under 50 grams a day is a common cutoff), and the liver starts making so-called ketone bodies. The researchers measured ketone bodies in the blood and counted participants as being in ketosis at 0.5 mmol/L or more.
The results: a clear drop in depression, anxiety and loss of pleasure
From 89 interested people to 7 in remission
| Step | Number |
|---|---|
| Interested | 89 |
| Started keto | 11 |
| Completed the 14 weeks | 8 |
| Went into remission | 7 of the 8 |
| Control group | None |
All eight who completed the program were in ketosis the whole time. The researchers measured their condition with well-established questionnaires:
- Depression: one of the most widely used scales for how severe a depression is (MADRS), scored from 0 to 60. Here the score fell by an average of 23 points from start to finish, a statistically solid drop.
- Anxiety: a questionnaire for general anxiety (GAD-7) also showed a clear and solid improvement.
- Loss of pleasure: the ability to feel joy and pleasure (called anhedonia) is a core symptom of depression. Here too the participants improved clearly.
Side effects and safety
According to the study's abstract, the side effects were mild and transient and came mostly during the start-up phase. The abstract does not say which they were and mentions no serious side effects. Starting keto often brings temporary fatigue, headache and nausea, the so-called keto flu. If you take an SSRI or SNRI (two widely used types of antidepressant), headache and nausea can also be signs of too little sodium in the blood, so have it checked rather than assuming it is keto flu.
Hypomania, a period of unusually high energy and less need for sleep, and its more severe form, mania, have also been described after people started keto. In a 2026 case series in Frontiers in Nutrition, 9 people developed hypomania or mania within two months of starting keto, 7 of them without a prior bipolar diagnosis. If you sleep much less than usual without feeling tired, or your thoughts race during the first months, contact your doctor or psychiatrist the same day.
Important caveats
- The diet cannot be separated from the rest: there is no way to know how much of the improvement came from the close contact with a psychiatrist and dietitian, and how much was the placebo effect, where the expectation of feeling better can help on its own.
- No blinding: both the participants and the psychiatrists who rated their depression knew everyone was on keto. That can color both how people experience their own mood and how it is rated.
Why might keto affect mood?
There are several possible explanations for a link between ketosis and better mood. The study's abstract reports no measurements of any of them, and most rest on animal studies and on experience from epilepsy. Think of it as the brain's fuel supply and fire alarm at the same time:
- Less inflammation: in studies of people, a low, ongoing level of inflammation in the body is linked to depression. Ketone bodies appear to calm inflammation in animal studies.
- More balance in the signaling chemicals: in 26 children with epilepsy, GABA, the brain's "brake," rose in the spinal fluid after an average of four months on keto, while glutamate, the "accelerator," stayed unchanged (Epilepsy Research, 2005). Whether the same happens in adults with depression is not known.
- An extra fuel for the brain: the brain normally runs on sugar (glucose), but can also run on ketone bodies. Some researchers think a depressed brain struggles to use sugar properly, and that ketone bodies then act as a reserve tank.
- Better metabolic health: depression often goes hand in hand with insulin resistance (when the body responds poorly to insulin) and excess weight, and in human trials keto improves both. But it has not been shown that this is what lifts mood: in the Oxford trial, weight was kept stable, and ketone levels were not linked to how much participants improved.
What can you take away?
This is a pilot study. It does not prove that keto cures depression. But it shows that a selected, motivated group with moderate to severe depression could complete a medically supervised keto diet with only mild side effects, and that the early signals are promising enough to justify larger studies.
If you are considering keto for depression yourself, do it the way the participants did: together with your doctor or psychiatrist, and ideally with a dietitian.
Who is this for?
The pilot study on keto for depression shows promising results, but it is clinical research, not something you should do on your own. Pay particular attention if you:
- Are in an acute crisis with suicidal thoughts: call or text 988, which is open 24/7, or call 911 right away. A diet experiment is not an emergency treatment.
- Have depression that has not responded to treatment: keto may be a supplement under close supervision from a psychiatrist, not a replacement for therapy or medication.
- Take medication for depression: big changes to your diet should be discussed with your psychiatrist first. Never stop medication on your own. Even if your mood improves, changing the dose needs a medical assessment.
- Take an SSRI or SNRI antidepressant: these can cause too little sodium (salt) in the blood, especially in older people and people with low body weight, and the salt loss at the start of keto pulls the same way. Headache and nausea can be signs of it, so have your sodium checked, and contact your doctor the same day if you become confused.
- Take an MAOI (an older type of antidepressant): aged cheeses, salami, fermented foods and soy and fish sauce can contain tyramine, a substance that together with the medication can cause dangerously high blood pressure. Stick to the food list you were given.
- Have bipolar disorder: keto is being studied as a possible help, but there is a real risk of switching between phases, so it needs psychiatric supervision.
- Notice signs of mania: if you sleep much less than usual without feeling tired, have unusually high energy, or your thoughts race during your first months of keto, contact your doctor or psychiatrist the same day. This is called hypomania, or mania in its more severe form. It applies even if you have never had bipolar disorder.
- Take lithium (a mood-stabilizing medication for bipolar disorder): your kidneys get rid of lithium along with salt, so the salt loss in the first weeks of keto can change your lithium level. Start only with your psychiatrist's agreement, and have the level checked.
- Take valproate, topiramate or zonisamide (for epilepsy, bipolar disorder or migraine): together with keto, valproate can cause a shortage of carnitine, a substance your body uses to burn fat, and affect the liver, and both keto and topiramate or zonisamide can cause kidney stones and acid buildup in the blood. This needs blood tests and a plan from your doctor.
- Have anxiety: trials disagree about what keto does to anxiety. Keep an eye on how you feel during the start-up phase, and make sure you get plenty of salts (sodium, potassium, magnesium). If you have kidney disease or take blood-pressure or diuretic medication, agree on the amount with your doctor.
- Have or have had an eating disorder: doing this on your own is not advised, because the strict rules can reawaken old patterns of either restricting or bingeing.
- Are pregnant or breastfeeding: keto is not advised. Depression in pregnancy needs specialist treatment.
- Have schizophrenia or a psychotic disorder: keto is being studied here too, but only under guidance from a specialist.
- Take antipsychotic medication (such as olanzapine, clozapine or quetiapine): it often raises blood sugar and cholesterol. Keto can lower blood sugar but raise LDL cholesterol, the type of cholesterol that can build up in your arteries, so have your doctor follow both with blood tests. If you take clozapine, contact your doctor about constipation, which both the medication and keto can cause.
- Take diabetes medication: insulin and sulfonylureas (tablets that make the pancreas release more insulin) can cause low blood sugar on keto, and SGLT2 inhibitors (such as Jardiance and Farxiga) can cause ketoacidosis, a dangerous buildup of acid, even with normal blood sugar. Agree on your diet with your doctor before you start.
For mild or early depression, lifestyle steps (exercise, sleep, social contact and perhaps a change in diet) can be a good first move. But for moderate to severe depression, the evidence-based treatment (therapy and perhaps medication) is the first choice.
Related Reading
Brain, diet and mental health connect in several directions:
- A guide to keto, fasting and the brain brings together what research shows about depression, memory and focus, and which medications call for extra caution.
- Can Intermittent Fasting Strengthen Your Brain? covers fasting and BDNF, a substance that helps brain cells grow and form new connections. Most of the findings come from animal studies.
- Gut bacteria and mental health covers the link between gut and brain, and what keto does to the gut bacteria.
