According to Gram Research analysis, people with epilepsy eat significantly more inflammatory foods than those without epilepsy, and a 2026 cross-sectional study of 35,706 people found that diet inflammation accounts for 2.6% to 6.2% of the connection between epilepsy and sleep disorders. Those eating the most inflammatory foods had substantially higher odds of both conditions, suggesting that reducing inflammatory foods through better nutrition choices may help manage sleep problems in people with epilepsy.

A new study of over 35,000 people found that people with epilepsy tend to eat foods that cause more inflammation in their bodies, and these inflammatory foods are linked to sleep problems. Researchers measured how inflammatory people’s diets were using a special scoring system and found that those eating the most inflammatory foods had higher rates of both epilepsy and sleep disorders. The study suggests that changing what you eat to reduce inflammation might help people with epilepsy sleep better and manage their condition more effectively.

Key Statistics

A 2026 cross-sectional study of 35,706 participants found that people with epilepsy had significantly higher dietary inflammatory index scores compared to those without epilepsy, indicating they consume more pro-inflammatory foods.

According to research reviewed by Gram, participants in the highest quartile of dietary inflammation had significantly increased odds of both epilepsy and sleep disorders compared to those in the lowest quartile.

A 2026 study of over 35,000 people found that dietary inflammation accounted for 2.6% to 6.2% of the association between epilepsy and sleep disturbances, highlighting diet as one modifiable factor in managing these conditions.

Research shows that among individuals with epilepsy, elevated sleep disorder prevalence was observed across higher dietary inflammatory index quartiles, suggesting a dose-response relationship between inflammatory diet and sleep problems.

The Quick Take

  • What they studied: Whether the type of food people eat (specifically how inflammatory those foods are) explains the connection between epilepsy and sleep problems
  • Who participated: 35,706 people, some with epilepsy and some without, tracked between 2013 and 2020. Epilepsy was confirmed by checking if people were taking seizure medications.
  • Key finding: People with epilepsy ate significantly more inflammatory foods than people without epilepsy, and the inflammatory quality of their diet explained about 2.6% to 6.2% of why they had sleep problems
  • What it means for you: If you have epilepsy and sleep troubles, paying attention to eating less inflammatory foods (like processed foods, sugary items, and fried foods) might help improve your sleep. However, this is one piece of the puzzle—diet alone won’t solve everything, and you should work with your doctor on a complete treatment plan.

The Research Details

This was a cross-sectional study, which means researchers looked at a large group of people at one point in time and collected information about their diets, epilepsy status, and sleep patterns. They didn’t follow people over time or test whether changing diet actually improved things—they just looked at what was already happening.

Researchers used a special scoring system called the Dietary Inflammatory Index (DII) to measure how inflammatory each person’s diet was. This score is based on what people eat and how those foods are known to affect inflammation in the body. They also created an adjusted version (E-DII) that accounts for how much food people eat overall.

Sleep problems were measured by asking people about how long they usually sleep and whether they have trouble sleeping. Epilepsy was confirmed by checking if people reported taking anti-seizure medications in the past month.

This approach is important because it helps researchers understand whether diet might be one of the reasons why people with epilepsy have more sleep problems. By measuring diet quality in a standardized way and looking at a very large group of people, the researchers could spot patterns that might not be obvious otherwise. However, because it’s a snapshot in time rather than a long-term study, we can’t be completely sure that diet causes the sleep problems—only that they’re connected.

The study’s strengths include its large sample size (over 35,000 people), which makes the findings more reliable, and the use of validated methods to measure both diet and sleep problems. The main limitation is that it’s cross-sectional, meaning we can’t prove that changing diet will actually improve sleep or seizure control. Additionally, people self-reported their information, which can sometimes be less accurate than objective measurements. The study also only explains a small percentage (2.6-6.2%) of the connection between epilepsy and sleep problems, suggesting that diet is just one of many factors involved.

What the Results Show

People with epilepsy had significantly higher inflammatory diet scores compared to people without epilepsy. When researchers divided people into four groups based on how inflammatory their diets were (from least to most inflammatory), those in the highest inflammatory group had much greater odds of having both epilepsy and sleep disorders compared to those in the lowest inflammatory group.

The analysis showed that diet inflammation accounted for about 2.6% to 6.2% of the connection between epilepsy and sleep problems. While this might sound small, it’s important because it shows that diet is one measurable factor that could be addressed as part of treatment.

When looking specifically at people with epilepsy, those eating the most inflammatory foods (groups 2-4 on the scale) had higher rates of sleep problems. This pattern was consistent across different ways of measuring diet inflammation.

The study found that sleep disturbances were more common in people with epilepsy overall, regardless of diet. However, the inflammatory quality of the diet made a difference in how severe these sleep problems were. People with epilepsy who ate less inflammatory foods tended to have fewer sleep issues than those eating highly inflammatory diets.

This research builds on earlier studies showing that inflammation plays a role in both epilepsy and sleep disorders. Previous research has suggested that anti-inflammatory diets might help reduce inflammation in the body, which could benefit people with chronic diseases. This study is one of the first to specifically look at whether diet inflammation might explain why people with epilepsy have more sleep problems, making it a useful addition to what we know about managing epilepsy through nutrition.

The biggest limitation is that this study only shows a connection between diet and sleep problems—it doesn’t prove that changing diet will actually improve sleep or seizures. Because it’s a snapshot in time, we don’t know if people’s diets caused their sleep problems or if sleep problems caused them to eat differently. The study also relies on people remembering what they ate and reporting their sleep habits, which can be inaccurate. Finally, the study only explains a small portion of why people with epilepsy have sleep problems, meaning many other factors (medications, stress, brain activity during seizures) are also important.

The Bottom Line

For people with epilepsy who have sleep problems, working with a healthcare provider to reduce inflammatory foods in the diet may be a helpful addition to standard treatment. Focus on eating more whole foods like fruits, vegetables, whole grains, and lean proteins, while reducing processed foods, sugary items, and fried foods. This should be done alongside, not instead of, prescribed medications and other treatments recommended by your epilepsy specialist. Confidence level: Moderate—the connection is clear, but we need more research to prove that diet changes will definitely improve sleep.

This research is most relevant for people with epilepsy who also struggle with sleep problems. It’s also important for healthcare providers treating epilepsy to consider diet as part of comprehensive care. People without epilepsy may also benefit from eating less inflammatory foods for general health, but this study doesn’t specifically address that. Anyone considering major dietary changes should talk to their doctor first, especially if they take seizure medications, as some foods can interact with medications.

If someone starts eating a less inflammatory diet, they might notice improvements in sleep quality within 2-4 weeks, though some people may take longer. Changes in seizure frequency or severity would likely take longer to evaluate and would need to be monitored with a healthcare provider. It’s important to be patient and consistent with dietary changes while continuing all prescribed treatments.

Frequently Asked Questions

Can changing my diet help with seizures and sleep problems if I have epilepsy?

A 2026 study of 35,706 people found that eating less inflammatory foods is associated with fewer sleep problems in people with epilepsy. While diet alone won’t control seizures, reducing inflammatory foods may help sleep quality as part of comprehensive treatment alongside medications.

What foods cause inflammation and should I avoid if I have epilepsy?

Highly inflammatory foods include processed items, fried foods, sugary drinks and snacks, and refined grains. Focus on whole foods like fruits, vegetables, whole grains, fish, and lean proteins. Talk to your doctor or a dietitian for personalized recommendations based on your specific situation.

How long does it take to see improvements in sleep if I eat less inflammatory foods?

Some people notice better sleep within 2-4 weeks of dietary changes, though results vary. Changes in seizure frequency take longer to evaluate and require monitoring with your healthcare provider. Consistency matters more than quick results.

Is diet the main reason people with epilepsy have sleep problems?

No. A 2026 study found that diet inflammation explains only 2.6% to 6.2% of the connection between epilepsy and sleep disorders. Many other factors like medications, stress, and brain activity during seizures also play important roles.

Should I stop my seizure medications and just change my diet instead?

No. Never stop seizure medications without talking to your doctor. Diet changes should be an addition to, not a replacement for, prescribed treatments. Work with your healthcare team to safely incorporate dietary improvements into your overall epilepsy management plan.

Want to Apply This Research?

  • Track daily inflammatory food intake using a simple 1-10 scale (1 = mostly whole foods, 10 = mostly processed/fried foods) alongside sleep quality ratings (1-10 scale). Record this daily to see if patterns emerge between diet inflammation and sleep quality over 4-8 weeks.
  • Start by identifying and replacing one high-inflammatory food with a healthier alternative each week. For example, swap fried foods for baked options, sugary drinks for water or herbal tea, or processed snacks for fresh fruit. Use the app to log these swaps and track how sleep changes.
  • Create a weekly summary view showing average inflammatory diet score and average sleep quality score. Set reminders to log meals and sleep patterns daily. After 4 weeks, review trends to see if reducing inflammatory foods correlates with better sleep. Share this data with your healthcare provider to inform treatment decisions.

This research shows an association between diet inflammation and sleep problems in people with epilepsy, but does not prove that changing diet will cure or prevent seizures or sleep disorders. This information is educational and should not replace professional medical advice. Anyone with epilepsy should continue taking prescribed medications and work with their healthcare provider before making significant dietary changes. Diet should be considered one part of comprehensive epilepsy management, not a standalone treatment. Individual results may vary, and what works for one person may not work for another. Consult your neurologist or healthcare provider before starting any new diet or supplement regimen, especially if you take anti-seizure medications, as some foods and supplements can interact with medications.

This research translation is published by Gram Research, the science division of Gram, an AI-powered nutrition tracking app.

Source: Pro-inflammatory diet mediates the association between epilepsy and sleep disorders: A cross-sectional study.Ibrain (2026). PubMed 42371606 | DOI