Poor nutrition before birth, specifically vitamin B3 deficiency, was linked to weaker thinking and memory skills 60+ years later, according to a Gram Research analysis of 18,285 people. The effect was even stronger in people carrying genetic risk factors for Alzheimer’s disease, suggesting that early nutrition can modify how genes affect brain health throughout life.
A major study of over 18,000 people found that poor nutrition before birth—specifically vitamin B3 deficiency—was linked to weaker thinking and memory skills decades later in life. Researchers used a historical pellagra epidemic (a disease caused by lack of vitamin B3) as a natural experiment to understand how early nutrition affects brain health. The surprising finding: people exposed to this nutritional stress in the womb showed lower cognitive scores in their 60s and 70s, and this effect was even stronger in people with genetic risk factors for Alzheimer’s disease. This suggests that what happens nutritionally during pregnancy and early childhood can have lasting effects on brain function throughout life.
Key Statistics
A 2026 study of 18,285 older adults found that in utero exposure to vitamin B3 deficiency during the historical pellagra epidemic was significantly associated with lower cognitive scores in late life, with effects that persisted 60+ years after exposure.
According to research reviewed by Gram, people exposed to vitamin B3 deficiency before birth showed amplified genetic effects on cognition, meaning early nutritional stress made genetic risk factors for Alzheimer’s disease more impactful on brain function.
The study found that nutritional stress during both prenatal and childhood periods affected late-life cognition, indicating that the critical window for brain nutrition extends from conception through early childhood, not just during pregnancy.
The Quick Take
- What they studied: Whether poor nutrition before birth (specifically vitamin B3 deficiency during a historical pellagra epidemic) affects how well people’s brains work 60+ years later
- Who participated: 18,285 older adults in the Health and Retirement Study who were born during or around the time of the pellagra epidemic in the United States (1920s-1940s)
- Key finding: People exposed to vitamin B3 deficiency before birth showed measurably lower cognitive scores in late life. The effect was stronger in people who also carried genetic risk factors for Alzheimer’s disease
- What it means for you: This research highlights the importance of good nutrition during pregnancy and early childhood for long-term brain health. While you can’t change your past, this finding supports prenatal vitamins and proper nutrition for pregnant people today
The Research Details
Researchers used a clever approach called a ’natural experiment.’ They looked at historical records of the pellagra epidemic—a disease caused by vitamin B3 deficiency that affected the American South in the early 1900s—and compared people who were exposed to this nutritional crisis before birth with those who weren’t. They then tested these same people’s thinking and memory skills 60+ years later using standard cognitive tests. The researchers also looked at each person’s genetic risk for Alzheimer’s disease to see if early nutrition affected how genes influenced brain health.
This approach is powerful because the pellagra epidemic happened at a specific time and place, creating a natural comparison group. Researchers didn’t have to randomly assign people to poor nutrition (which would be unethical); instead, they studied what naturally occurred. They used data from the Health and Retirement Study, a large, well-maintained database of American adults followed over many years.
This study design is important because it shows cause-and-effect in a way that’s hard to achieve otherwise. By using a historical event, researchers could study the long-term effects of poor nutrition without putting anyone at risk. The findings suggest that early-life nutrition isn’t just important for immediate health—it shapes brain function decades later
This is a large study with over 18,000 participants, which makes the findings more reliable. The researchers used objective cognitive tests rather than relying on people’s memories. However, because this is observational research (watching what happened naturally rather than conducting a controlled experiment), we can’t be 100% certain that poor nutrition alone caused the cognitive differences—other factors from that era might have played a role. The study was published as a preprint, meaning it hasn’t yet gone through the full peer-review process that published journals use
What the Results Show
People who were exposed to vitamin B3 deficiency before birth showed lower cognitive scores in their 60s and 70s compared to those not exposed. The effect size was small but measurable and statistically significant, meaning it’s unlikely to be due to chance.
Interestingly, the researchers found that exposure during childhood also mattered—it wasn’t just about what happened in the womb. This suggests that the early years of life, from conception through childhood, are a critical window for brain development and nutrition.
The most striking finding was the interaction with genetics. People who carried genetic risk factors for Alzheimer’s disease showed even larger cognitive declines if they’d also been exposed to poor nutrition early in life. This means that genes and early environment work together—poor nutrition amplified the negative effects of genetic risk.
The study found that the effects of early nutritional stress weren’t limited to one specific type of thinking skill. Instead, the cognitive impacts appeared across multiple measures of brain function. This suggests that vitamin B3 deficiency affects overall brain development rather than just one specific cognitive ability. The fact that childhood exposure also mattered (not just prenatal exposure) indicates that the brain remains vulnerable to nutritional stress throughout early development
According to Gram Research analysis, this study builds on decades of research showing that early-life experiences shape lifelong health. Previous studies have shown that prenatal nutrition affects birth weight and childhood development, but this research extends those findings much further—showing effects 60+ years later. The finding that early nutrition modifies genetic risk is particularly novel and suggests that genes aren’t destiny; environmental factors like nutrition can change how genetic risk plays out
Because this is an observational study, we can’t be completely certain that vitamin B3 deficiency alone caused the cognitive differences. People living during the pellagra epidemic may have experienced other nutritional deficiencies or stressors that also affected brain development. Additionally, the study looked backward in time using historical data, so researchers couldn’t measure nutrition as precisely as they could in a modern study. The study hasn’t yet been peer-reviewed (it’s a preprint), so the findings need confirmation from other researchers. Finally, the study focused on a specific historical period in the American South, so results might not apply equally to all populations
The Bottom Line
For pregnant people and those planning pregnancy: ensure adequate intake of B vitamins, including B3 (niacin), through diet or prenatal vitamins. Good sources include chicken, tuna, turkey, peanuts, and mushrooms. For parents of young children: provide a balanced diet with adequate B vitamins during early childhood, as the study shows this period also matters for brain development. These recommendations have high confidence because they align with established nutritional science and this study’s findings. For older adults: while you can’t change your early-life nutrition, staying mentally active and maintaining good nutrition now may help preserve cognitive function
Pregnant people and those planning pregnancy should prioritize this information most. Parents of young children should also pay attention, since the study showed childhood nutrition matters too. People with family history of Alzheimer’s disease may find this especially relevant, as the study suggests early nutrition can modify genetic risk. Older adults concerned about cognitive decline might find this research motivating to maintain good nutrition and mental activity now. This research is less immediately relevant to people who had adequate nutrition in early life, though good nutrition remains important for everyone
The effects studied here developed over 60+ years, so this isn’t about quick changes. However, the implication is that good nutrition during pregnancy and early childhood creates a foundation for better brain health in later life. If you’re pregnant or have young children, the time to act is now. For older adults, while you can’t change the past, research suggests that current nutrition and cognitive activity may help maintain brain function
Frequently Asked Questions
Can poor nutrition during pregnancy affect my child’s brain 60 years later?
Research shows that vitamin B3 deficiency before birth was linked to lower thinking skills decades later in life. While this study examined a historical epidemic, it suggests prenatal nutrition matters for long-term brain health. Adequate B vitamins during pregnancy support proper brain development.
What foods have vitamin B3 that pregnant people should eat?
Good sources of vitamin B3 include chicken, turkey, tuna, peanuts, mushrooms, and fortified grains. Pregnant people need 18 mg daily. A prenatal vitamin typically includes B3, but eating these foods provides additional nutritional benefits beyond just one vitamin.
If I have Alzheimer’s genes, does early nutrition matter more for me?
This study found that people with genetic Alzheimer’s risk showed even larger cognitive effects from early nutritional stress. This suggests that if you carry genetic risk, ensuring good nutrition during pregnancy and early childhood may be especially important for protecting brain health.
Is it too late to improve my brain health if I had poor childhood nutrition?
While you can’t change the past, research shows that current nutrition, mental activity, and healthy lifestyle choices help maintain cognitive function in older age. It’s never too late to support your brain health through diet and mental engagement.
Why does nutrition during childhood matter as much as prenatal nutrition?
The brain continues developing rapidly through early childhood, not just in the womb. Vitamin B3 and other nutrients support this development. The study found that nutritional stress during both periods affected later cognitive function, showing the brain needs good nutrition throughout early life.
Want to Apply This Research?
- Track daily B vitamin intake (especially B3/niacin) in milligrams, aiming for 14-16 mg daily for adults. Log food sources like poultry, fish, nuts, and mushrooms to monitor whether you’re meeting recommendations
- Add one B3-rich food to your daily diet: include chicken breast at lunch, a handful of peanuts as a snack, or mushrooms with dinner. For pregnant users, confirm prenatal vitamin includes adequate B3 and set a daily reminder to take it
- Monthly check-in: review average B vitamin intake and adjust diet if falling short. For parents, track children’s dietary variety to ensure they’re getting B vitamins from multiple sources. Set quarterly reminders to assess cognitive health through simple memory or word-recall games available in the app
This research is a preprint that has not yet completed peer review. While the findings are based on a large study of real people, the results should be considered preliminary until published in a peer-reviewed journal. This article is for educational purposes and should not replace medical advice. Pregnant people should consult with their healthcare provider about prenatal nutrition and supplementation. Anyone concerned about cognitive decline should speak with a doctor for proper evaluation and personalized recommendations. This study shows association, not definitive proof of causation, and other factors from the historical period studied may have contributed to the findings.
This research translation is published by Gram Research, the science division of Gram, an AI-powered nutrition tracking app.
