Researchers studied over 5,000 people to understand what causes sleep problems. They found that body weight and the types of food people eat—especially foods that cause inflammation in the body—are connected to sleep disorders. Using computer programs to analyze the data, scientists discovered that people with higher body weight and those who eat more inflammatory foods tend to have more sleep trouble. The study suggests that paying attention to weight and eating less inflammatory foods might help improve sleep quality, though more research is needed to confirm these connections.

The Quick Take

  • What they studied: Whether a person’s body weight and the inflammation caused by their diet can predict who will have sleep problems
  • Who participated: 5,158 people from a large U.S. health survey conducted between 2011 and 2014. The study included people of different ages, weights, and dietary habits.
  • Key finding: Body weight was the strongest predictor of sleep problems. For every unit increase in body mass index (BMI), the risk of sleep disorders increased by about 6.5%. Inflammatory foods also showed a connection to sleep problems, though this relationship was weaker when other factors were considered.
  • What it means for you: If you struggle with sleep, managing your weight and reducing inflammatory foods in your diet may help. However, this study shows a connection, not proof that these changes will fix sleep problems. Talk to a doctor before making major changes, especially if you have existing sleep disorders.

The Research Details

This was a cross-sectional study, which means researchers looked at information from many people at one point in time rather than following them over months or years. Scientists used data from the National Health and Nutrition Examination Survey (NHANES), a large government health study that collects information about what Americans eat, their health measurements, and their medical conditions.

The researchers used advanced computer programs called machine learning models to find patterns in the data. Think of it like teaching a computer to recognize which combinations of weight, diet, and other health factors go together with sleep problems. They tested four different computer programs to see which one was best at predicting sleep disorders.

To understand which specific foods mattered most, they used special analysis tools to break down the dietary inflammation index (a score based on how inflammatory different foods are) into individual nutrients like iron, carbohydrates, and fats.

Using computer programs to predict health problems is important because it can help doctors identify people at high risk before serious problems develop. This approach allows researchers to see which factors matter most and in what order, making it easier to give people practical advice about what to change first.

The study used a large, nationally representative sample of over 5,000 people, which is a strength. However, because it’s a cross-sectional study, we can only see that these factors are connected—we can’t prove that weight or diet actually causes sleep problems. The computer models performed very well at predicting sleep disorders in this dataset, but they may not work as well with different groups of people. The study relied on self-reported information about sleep problems, which may not be as accurate as a doctor’s diagnosis.

What the Results Show

Body weight (measured as BMI) was the strongest and most consistent predictor of sleep disorders across all the computer models tested. For every unit increase in BMI, a person’s risk of having a sleep disorder increased by about 6.5%. This relationship held true even when researchers adjusted for other factors like age and blood pressure.

The dietary inflammation index (a measure of how much inflammatory foods someone eats) also showed a connection to sleep problems, but this relationship was less consistent. When researchers controlled for other factors like age and body weight, the connection between diet inflammation and sleep problems became weaker, suggesting that weight might be more important than diet alone.

When scientists looked at the specific nutrients driving the diet-inflammation connection, they found that iron, carbohydrates, and total fat intake were the main dietary components linked to sleep problems. This suggests that the types and amounts of these nutrients in a person’s diet may matter for sleep quality.

Interestingly, mean arterial pressure (a measure of blood pressure) showed a negative association with sleep disorders, meaning higher blood pressure was actually associated with fewer sleep problems in this analysis. This unexpected finding may reflect how different health conditions interact with each other. Age was also positively associated with sleep disorders, meaning older people in the study were more likely to report sleep problems.

Previous research has suggested connections between obesity and sleep problems, and this study confirms that relationship. The finding about diet-related inflammation is newer and less well-established in the research. Some earlier studies have suggested that inflammatory foods might affect sleep, but this is one of the first large studies to specifically measure this using a dietary inflammation index. The study adds to growing evidence that both weight management and diet quality may be important for sleep health.

This study shows that certain factors are connected to sleep problems, but it cannot prove that these factors cause sleep disorders. Because it’s a snapshot in time rather than following people over years, we can’t know if changes in weight or diet would actually improve sleep. The study relied on people reporting their own sleep problems rather than having a doctor diagnose them, which could be less accurate. The computer models worked very well with this specific group of people, but they might not work as well with different populations. Finally, the study only included data from 2011-2014, so eating patterns and sleep issues may have changed since then.

The Bottom Line

If you have sleep problems, consider discussing weight management with your doctor, as the evidence for this connection is strong. Reducing inflammatory foods—particularly those high in certain types of fats and processed carbohydrates—may also help, though the evidence is less certain. Focus on eating whole foods, fruits, vegetables, and lean proteins. These recommendations are moderate confidence because the study shows a connection but doesn’t prove cause and effect.

Anyone struggling with sleep quality should pay attention to these findings, especially people who are overweight or obese. People with diagnosed sleep disorders should discuss these factors with their sleep specialist or doctor before making changes. These findings are less relevant for people with normal weight who sleep well, though maintaining a healthy diet is beneficial for overall health anyway.

If you make changes to your weight and diet, you might notice improvements in sleep within a few weeks to a few months, though this varies by person. Weight loss typically takes longer to show effects (several months), while dietary changes might help sleep more quickly. Be patient and consistent, and work with a healthcare provider to track progress.

Want to Apply This Research?

  • Track your sleep quality (using a 1-10 scale each morning), body weight (weekly), and a simple inflammatory food score (count servings of processed foods, fried foods, and sugary items daily). Look for patterns over 4-8 weeks to see if reducing inflammatory foods or losing weight correlates with better sleep.
  • Start by identifying one inflammatory food you eat regularly and replace it with a healthier option. For example, swap sugary breakfast cereals for oatmeal, or reduce fried foods by one meal per week. Simultaneously, set a realistic weight loss goal (1-2 pounds per week) if overweight, and track progress weekly.
  • Use the app to log sleep quality each morning, weight weekly, and dietary choices daily. Create a dashboard showing trends over time. Set reminders to reflect monthly on whether sleep has improved and adjust dietary or weight loss goals accordingly. Share data with your doctor during check-ups to discuss progress.

This research shows a connection between body weight, diet, and sleep problems, but does not prove that changing these factors will cure sleep disorders. Sleep problems can have many causes, including medical conditions, medications, and sleep disorders like sleep apnea that require professional diagnosis and treatment. Before making significant changes to your diet or weight loss plan, especially if you have existing health conditions or take medications, consult with your doctor or a registered dietitian. If you have persistent sleep problems, see a healthcare provider for proper evaluation. This information is for educational purposes and should not replace professional medical advice.

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

Source: Body mass index and diet-related inflammation as predictors of sleep disorders: A cross-sectional study.Medicine (2026). PubMed 41790690 | DOI