Sunlight and the Immune System: Autoimmunity Prevention

Part 6: Beyond Vitamin D: The Hidden Lifesaving Benefits of Sunlight

🎧 ▶️ Press the play button below to listen.

Introduction

The immune system is a super smart weapon.

It can distinguish a virus from a cell, a splinter from a synapse. It can marshal an army of T-cells and B-cells, cytokines and antibodies, to destroy a threat and then stand down. When it works, it is silent and invisible, and you never think about it at all.

When it fails, it can fail in two ways.

It can fail to recognize a pathogen, leaving you vulnerable to infection. Or it can fail to recognize you — mistaking your own cells for a threat, turning the weapon inward.

This second failure is autoimmunity. And it is rising.

Multiple sclerosis. Type 1 diabetes. Rheumatoid arthritis. Inflammatory bowel disease. Lupus. Psoriasis. Hashimoto’s thyroiditis. These are not rare diseases. They affect hundreds of millions of people worldwide, and their incidence has been climbing for decades — too fast for genetics alone to explain.

Something in the environment has changed.

The evidence now points, in part, to a factor so mundane that it is easy to overlook: the amount of sunlight hitting your skin.

This is not about vitamin D — or not only about vitamin D. It is about the discovery that ultraviolet radiation (UVR) directly modulates the immune system, acting on the skin’s dense network of immune cells to suppress inappropriate immune responses and prevent the body from attacking itself.

The sun, it turns out, is an immunological tuning fork. And we have stopped listening to its note.


The Latitude Gradient: Autoimmunity Follows the Sun

The first clue was geographic.

In 1960, a New Zealand neurologist named Dr. Bruce McLeod noticed something peculiar. Multiple sclerosis was far more common in the southern regions of New Zealand than in the north.

The southern regions, being closer to the South Pole, receive significantly less sun exposure. The difference was not subtle. It was pronounced, graded, and it followed latitude with remarkable precision.

The observation has since been replicated for multiple autoimmune diseases across multiple continents. The pattern is consistent:

  • Multiple sclerosis: Incidence increases dramatically with distance from the equator. Canada and Scotland have among the highest rates in the world. Tropical regions have among the lowest.
  • Type 1 diabetes: Finland has the highest incidence globally — roughly 60 cases per 100,000 children per year. Venezuela has less than 1 per 100,000. The gradient is a 60-fold difference.
  • Rheumatoid arthritis: Incidence rises with latitude in the Northern Hemisphere, independent of genetic risk factors.
  • Inflammatory bowel disease: Crohn’s disease and ulcerative colitis both show a north-south gradient in Europe and North America.
  • Lupus (SLE): Prevalence and severity are higher in higher-latitude regions.

This is not a single-disease phenomenon. It is a pattern that spans multiple, immunologically distinct conditions. The common denominator is latitude. And latitude, in biology, means one thing above all: sunlight exposure.

The question was why. The answer, it turns out, is not simply vitamin D.

ALT_TEXT -Infographic showing the latitude gradient for autoimmune diseases. Multiple sclerosis, type 1 diabetes, rheumatoid arthritis, inflammatory bowel disease, and lupus all increase in incidence with distance from the equator. Finland has 60-fold higher type 1 diabetes rates than Venezuela. Canada and Scotland have among the highest MS rates globally. Lower UVR exposure at higher latitudes is the common thread.
The latitude gradient: Autoimmune diseases are more common further from the equator, where sun exposure and UVR are lowest. The pattern spans multiple diseases and continents. Data from Mohr et al., Diabetologia, 2008; van der Mei et al., BMJ, 2003; Arkema et al., Annals of Rheumatic Diseases, 2013.

Sunlight and Multiple Sclerosis: The Strongest Case

Multiple sclerosis (MS) is the autoimmune disease with the most robust and consistent evidence linking sun exposure to risk reduction.

The Epidemiological Evidence

A landmark 2003 study from Tasmania, published in the BMJ, provided some of the most compelling data. Researchers examined sun exposure during childhood and adolescence — the period when the immune system is maturing, and self-tolerance is being established. [1]

The findings were striking: higher sun exposure between ages 6 and 15 was associated with a 69% lower risk of developing MS (adjusted odds ratio of 0.31 for the highest vs. lowest exposure). The effect was dose-dependent. The more sun, the lower the risk.

Other key studies reinforce the finding:

  • A 2011 study in Neurology found that higher serum vitamin D levels in young adults were associated with a significantly lower risk of developing MS later in life, with the strongest protection at levels above 40 ng/mL.
  • A Swedish study published in Annals of Neurology found that outdoor work was associated with a lower risk of MS compared to indoor work.
  • A 2018 meta-analysis of 16 studies confirmed an inverse association between sun exposure and MS risk, with a pooled odds ratio of approximately 0.45 — indicating that sun-exposed individuals had less than half the risk.

Beyond Prevention: Sun Exposure and Disease Progression

The benefit of sunlight in MS is not limited to preventing the initial diagnosis. People who already have MS and have higher sun exposure or vitamin D levels experience:

  • Lower relapse rates
  • Slower disability progression
  • Fewer new lesions on MRI

A 2012 study in Neurology found that MS patients with higher serum vitamin D levels had significantly slower disability progression and reduced brain atrophy over a five-year follow-up period. Sun exposure, not just vitamin D status, was independently protective.

The Mechanism: Beyond Vitamin D

This is where the story moves beyond the familiar vitamin D narrative and into a mechanism we have not yet explored in this series: direct UVR-mediated immune modulation in the skin.

The mouse model of MS is called experimental autoimmune encephalomyelitis (EAE). When researchers induce EAE in mice and then expose them to UVR, the disease is suppressed. Crucially, this suppression occurs even when vitamin D is not involved — UVR suppresses EAE in mice genetically unable to produce vitamin D.

How?

When UVR hits the skin, it does not just trigger vitamin D synthesis. It directly affects the behavior of multiple immune cell populations residing in or passing through the skin:

  • Langerhans cells — the skin’s antigen-presenting cells — alter their signaling in response to UVR, promoting tolerance rather than activation.
  • Regulatory T-cells (Tregs) — the immune system’s peacekeepers — are upregulated by UVR exposure. Tregs actively suppress autoreactive T-cells that would otherwise attack myelin, the insulating sheath around nerves that is destroyed in MS.
  • Mast cells — involved in allergic and inflammatory responses — are stabilized by UVR, reducing their release of histamine and other inflammatory mediators.
  • Cytokine profiles shift from a pro-inflammatory Th1/Th17 dominance toward an anti-inflammatory, regulatory phenotype.

In MS, autoreactive T-cells cross the blood-brain barrier and attack myelin. UVR, by expanding Tregs and dampening the autoreactive T-cell response, makes this attack less likely to initiate and, when it does, less aggressive.

This is not a vitamin D effect. It is a skin-immune-brain axis activated by ultraviolet photons that hit the skin.


Sunlight and Type 1 Diabetes: The Childhood Window

Type 1 diabetes (T1D) is an autoimmune disease in which the immune system destroys the insulin-producing beta-cells of the pancreas. It typically begins in childhood or adolescence and, like MS, shows a dramatic latitude gradient.

The Epidemiological Evidence

Finland, at high latitude, has the highest incidence of T1D in the world. Countries near the equator have rates that are orders of magnitude lower. Within countries, incidence increases with latitude — a phenomenon observed in Sweden, Norway, Australia, and the United States.

A 2008 multinational study published in Diabetologia documented the global pattern: a striking inverse correlation between ambient UVR and childhood T1D incidence. [2]

The critical window appears to be early childhood, when the immune system is being educated. A 2012 study in Diabetologia found that higher sun exposure in the first year of life was associated with a lower risk of developing T1D later in childhood.

The NOD Mouse: Proof of Vitamin D-Independent Protection

The non-obese diabetic (NOD) mouse is the standard animal model for T1D. These mice spontaneously develop autoimmune diabetes in a manner remarkably similar to the human disease.

When NOD mice are exposed to UVR, the development of diabetes is suppressed. And — critically — this protection occurs independently of vitamin D. Mice given vitamin D supplementation without UVR do not show the same degree of protection.

The mechanism mirrors what we see in MS: UVR expands regulatory T-cells, suppresses autoreactive T-cell clones, and shifts the immune system away from the destructive Th1 response that targets pancreatic beta-cells.

This is not to say vitamin D is irrelevant. Human observational studies consistently show that vitamin D supplementation in infancy reduces the subsequent risk of developing T1D.

A 2001 Finnish birth cohort study published in The Lancet found that children who received 2,000 IU of vitamin D daily in infancy had a 78% lower risk of developing T1D over 31 years of follow-up. [3]

Both pathways — vitamin D and direct UVR immune modulation — likely contribute. But the NOD mouse model proves that the UVR effect is real, substantial, and separable.


Sunlight and Rheumatoid Arthritis: The Nurses’ Health Study Evidence

Rheumatoid arthritis (RA) is a systemic autoimmune disease characterized by chronic inflammation of the joints, leading to pain, deformity, and disability. It also has a latitude gradient, though less dramatic than MS or T1D.

The Evidence

The most important data comes from the Nurses’ Health Study (NHS), a massive prospective cohort that has followed hundreds of thousands of female nurses in the United States for decades.

A 2013 analysis published in the Annals of the Rheumatic Diseases examined the relationship between ambient UVB exposure — estimated by linking participants’ residential locations to satellite data — and the risk of developing RA. [4]

The findings:

  • Women living in the highest UVB-exposure areas had a 21% lower risk of developing RA compared to those in the lowest.
  • The association was independent of vitamin D intake and other lifestyle factors.
  • The protective effect was most pronounced for seropositive RA, the more aggressive form of the disease.

A subsequent study in the same cohort, published in Rheumatology, found that higher cumulative UVB exposure was associated with a reduced risk of RA, and the effect was strongest in younger women.

The Mechanism

The synovium — the lining of the joint capsule — is the site of inflammation in RA. While UVR does not directly reach the synovium, the immune cells that infiltrate it are educated and regulated in part by signals from the skin.

The skin-immune axis that suppresses autoreactive T-cells in MS and T1D likely operates similarly in RA. UVR-induced Tregs circulate systemically and can suppress inflammation at distant sites, including the joints.

Additionally, vitamin D receptors are expressed on chondrocytes (cartilage cells) and synoviocytes (joint lining cells), and calcitriol has been shown to reduce the production of matrix metalloproteinases — enzymes that destroy cartilage in RA.


Inflammatory Bowel Disease: Crohn’s and Colitis

Inflammatory bowel disease (IBD), encompassing Crohn’s disease and ulcerative colitis, represents a chronic autoimmune attack on the gastrointestinal tract. The latitude gradient is again present, with higher incidence in northern latitudes.

The Evidence

A 2010 analysis from the Nurses’ Health Study II, published in Gastroenterology, examined predicted vitamin D levels and the risk of developing IBD. [5]

The findings:

  • Women in the highest quintile of predicted vitamin D levels had a 46% lower risk of developing Crohn’s disease compared to those in the lowest quintile.
  • The protective association for ulcerative colitis was present but weaker.

A 2019 study in the American Journal of Gastroenterology found that higher UVR exposure was associated with a lower risk of IBD, independently of vitamin D status. The authors concluded that both vitamin D-dependent and vitamin D-independent mechanisms were likely at play.

The Mechanism

The gut and the skin are both barrier organs — interfaces between the body and the external environment. They share immunological features, including a dense network of antigen-presenting cells and a resident microbiome that shapes immune function.

UVR-driven immune modulation likely benefits the gut through two routes:

  1. Systemic Treg expansion: UVR-induced regulatory T-cells circulate and can home to the gut, where they suppress inappropriate immune responses against commensal bacteria and food antigens.
  2. Vitamin D-mediated barrier function: Calcitriol strengthens the intestinal epithelial barrier by upregulating tight junction proteins, reducing the “leaky gut” that is thought to precede and perpetuate IBD.

Other Autoimmune Diseases: The Expanding Picture

The pattern extends beyond the four conditions discussed above. A growing body of evidence links sun exposure and vitamin D status to a reduced risk of several additional autoimmune disorders.

Lupus (Systemic Lupus Erythematosus)

Lupus is a systemic autoimmune disease that can affect the skin, joints, kidneys, brain, and virtually every other organ. The relationship with sunlight is complex — photosensitivity is a feature of lupus, meaning UV exposure can trigger skin flares in some patients. Yet the evidence suggests that low sun exposure is a risk factor for developing lupus in the first place.

  • A 2017 study in Lupus Science & Medicine found that women in the highest quartile of UVB exposure had a significantly lower risk of developing lupus compared to those in the lowest.
  • The protective effect was independent of vitamin D supplementation.
  • The proposed mechanism is, again, UVR-induced Treg expansion and suppression of autoreactive B-cells that produce the antinuclear antibodies characteristic of lupus.

Psoriasis

Psoriasis is a T-cell-mediated autoimmune skin disease characterized by red, scaly plaques. UVB phototherapy — narrowband UVB at 311 nm — is a well-established first-line treatment for moderate-to-severe psoriasis. The mechanism is direct: UVB slows the hyperproliferation of keratinocytes and induces apoptosis in the pathogenic T-cells, driving the plaques.

This is a clinical example of UVR treating an autoimmune disease, not just preventing it — and it is done under medical supervision, with controlled dosing.

Hashimoto’s Thyroiditis

Hashimoto’s is the most common autoimmune disease, causing hypothyroidism through immune destruction of the thyroid gland. The evidence linking sun exposure to Hashimoto’s is less mature than for MS or T1D, but is suggestive:

  • A 2015 study in Endocrine found that vitamin D deficiency was significantly more common in patients with Hashimoto’s than in controls.
  • A 2018 study in Thyroid found that vitamin D supplementation reduced anti-thyroid antibody levels in patients with Hashimoto’s.
  • The latitude gradient for autoimmune thyroid disease exists but is less pronounced than for MS, possibly due to the confounding effect of iodine intake, which varies by region.

Vitiligo

Vitiligo is an autoimmune destruction of melanocytes — the pigment-producing cells of the skin — leading to patches of depigmentation. Narrowband UVB phototherapy is a standard treatment. The mechanism involves UVR-induced stimulation of melanocyte stem cells and suppression of the local autoimmune attack. Here, UVR is both a contributing factor (sunburn can trigger vitiligo in susceptible individuals) and a treatment — a dual role that illustrates the complexity of the sunlight-immune interaction.


The Skin as an Immune Organ

We have now arrived at a concept that reframes everything discussed in this article.

The skin is not a passive barrier. It is the body’s largest immune organ.

It contains:

  • Langerhans cells — specialized antigen-presenting cells that sample the external environment and decide whether to activate or suppress an immune response
  • Dermal dendritic cells — a second population of antigen-presenting cells with distinct functions
  • T-lymphocytes — including both effector T-cells and regulatory T-cells that reside permanently in the skin
  • Mast cells — sentinels of the innate immune system that release histamine and other mediators
  • Keratinocytes — not just structural cells, but active participants in immune signaling that produce cytokines, chemokines, and antimicrobial peptides

When UVR hits the skin, it does not simply pass through. It interacts with every one of these cell populations. It alters gene expression. It shifts cytokine profiles. It mobilizes regulatory networks. It dampens the inappropriate immune activation that underlies autoimmunity.

This is the skin-immune axis. It is light-dependent. It cannot be replaced by a pill.

Vitamin D is part of the story. UVB triggers vitamin D synthesis in the epidermis, and the active hormonal form of vitamin D — calcitriol — is itself an immunomodulator. It binds to vitamin D receptors on T-cells, B-cells, and antigen-presenting cells, promoting a regulatory, anti-inflammatory phenotype.

But the NOD mouse and the EAE mouse — both models of autoimmunity — have taught us something critical. UVR suppresses autoimmunity in these animals even when vitamin D is genetically or pharmacologically absent. The direct skin-immune effects of UVR are sufficient, even without vitamin D.

In humans, both pathways likely operate in concert. Sunlight on the skin triggers a multi-layered immune response that a vitamin D supplement can only partially capture.

ALT_TEXT -Infographic showing the skin-immune axis: how sunlight calibrates the immune system. UVB triggers vitamin D synthesis, leading to calcitriol which binds to vitamin D receptors on T-cells, B-cells, and antigen-presenting cells. UVA and UVB directly expand regulatory T-cells, suppress autoreactive T-cells, shift cytokines from Th1/Th17 to Th2/Treg, stabilize mast cells, and induce antimicrobial peptides. Both pathways suppress autoimmunity. The NOD mouse and EAE mouse models prove UVR protection is independent of vitamin D.
Sunlight as an immunological tuning fork: UVR triggers both vitamin D-dependent and vitamin D-independent immune modulation. Regulatory T-cells expand. Autoreactive clones are suppressed. The skin-immune axis is light-dependent and cannot be replaced by a pill.

The Modern Immunological Deficit

We have spent this series documenting the consequences of a population-wide shift away from sunlight.

For cardiovascular health, the deficit is nitric oxide. For metabolic health, the key factors are nitric oxide, circadian entrainment, and near-infrared mitochondrial stimulation. For cancer, it is calcitriol-mediated cell regulation.

In autoimmunity, the deficit is the loss of a daily tonic immune-calibrating signal. UVR on the skin is not a medication to be taken in a dose. It is an environmental input that the immune system evolved to expect — a signal that helps it distinguish self from non-self, harmless from harmful, and that keeps autoreactive clones in check.

When that signal is removed — when 90% of time is spent indoors under LED lights, when sunscreen blocks all UV before any can reach the skin, when children grow up without the sun exposure that educates their developing immune systems — the consequence may be a subtle but significant shift toward immune dysregulation.

This is not to say that the rise in autoimmunity is caused solely by sun avoidance. The story is more complex. Diet, the microbiome, infections, pollution, and genetics all play roles. But the evidence that sunlight is a protective factor — consistent across multiple diseases, supported by animal models, epidemiological cohorts, and mechanistic studies — is now too strong to ignore.


The Mechanism Summary

PathwayTriggerImmune EffectClinical Relevance
Vitamin D / CalcitriolUVB → Vitamin D3 → CalcitriolBinds VDR on T-cells, B-cells, APCs; promotes regulatory phenotype; suppresses Th1/Th17MS, T1D, RA, IBD, lupus, Hashimoto’s
UVR → Treg ExpansionUVA/UVB directly on skin immune cellsExpands regulatory T-cells; suppresses autoreactive T-cell clonesMS (EAE model), T1D (NOD model), RA, lupus
UVR → Cytokine ShiftUVA/UVB alters keratinocyte and dendritic cell signalingReduces IL-17, IFN-γ; increases IL-10, TGF-βPsoriasis, MS, IBD
UVR → Mast Cell StabilizationUVA/UVB on dermal mast cellsReduces histamine and inflammatory mediator releaseAllergic and autoimmune skin conditions
UVR → Antimicrobial PeptidesUVB → Vitamin D → CathelicidinEnhances innate immunity at barrier surfacesIBD, skin infections

Looking Ahead

Autoimmunity is one arm of the immune system. The other is infection defense.

Sunlight’s effect on infectious diseases — from tuberculosis to respiratory viruses to sepsis — involves overlapping but distinct mechanisms. Cathelicidin, the antimicrobial peptide induced by vitamin D, plays a central role. But the story extends further, into the direct antimicrobial effects of UVR and the systemic immune priming that sun exposure provides.

That is the subject of the next article in this series.


Key Takeaways

  • Autoimmune diseases follow a latitude gradient — MS, type 1 diabetes, rheumatoid arthritis, IBD, and lupus are all more common further from the equator, where sun exposure is lower.
  • Multiple sclerosis shows the strongest protective association with sun exposure — childhood sun exposure was associated with a 69% lower risk in a landmark Tasmanian study.
  • Type 1 diabetes risk is dramatically lower with higher sun exposure and vitamin D in infancy — a Finnish study found 78% lower risk with vitamin D supplementation in the first year of life.
  • The NOD mouse model proves UVR suppresses autoimmune diabetes independently of vitamin D — direct skin-immune effects are sufficient.
  • Rheumatoid arthritis risk was 21% lower in women with the highest UVB exposure in the Nurses’ Health Study, independent of vitamin D intake.
  • Inflammatory bowel disease shows a 46% lower risk of Crohn’s disease in those with the highest predicted vitamin D levels, with UVR effects likely independent.
  • Lupus, psoriasis, Hashimoto’s thyroiditis, and vitiligo all show associations with sun exposure or respond to UVR phototherapy.
  • The skin is the body’s largest immune organ — UVR directly modulates Langerhans cells, T-regulatory cells, mast cells, and cytokine profiles in ways a vitamin D pill cannot replicate.
  • The modern indoor lifestyle represents a loss of a daily immune-calibrating signal — and the rising incidence of autoimmunity may be one consequence.

The next article in this series will explore sunlight’s relationship with infectious diseases — tuberculosis, respiratory infections, sepsis, and the cathelicidin pathway — completing the immune system story.

Don’t Get Sick!

About Dr. Jesse Santiano, MD

Dr. Santiano is a retired internist and emergency physician with extensive clinical experience in metabolic health, cardiovascular prevention, and lifestyle medicine. He reviews all medical content on this site to ensure accuracy, clarity, and safe application for readers. This article is for educational purposes and is not a substitute for personal medical care.

💡 Support This Work

Creating well-researched articles, maintaining this website, and keeping the information free takes time and resources.
If you found this article helpful, please consider donating to support the mission of empowering people to live healthier, longer lives, without relying on medications.

🙏 Every contribution, big or small, truly makes a difference. Thank you for your support!

Follow me on FacebookGabTwitter (formerly known as X), Instagram, and Telegram.

Related:

References

[1] van der Mei IA, Ponsonby AL, Dwyer T, et al. Past exposure to sun, skin phenotype, and risk of multiple sclerosis: case-control study. BMJ. 2003;327(7410):316. doi:10.1136/bmj.327.7410.316

[2] Mohr SB, Garland CF, Gorham ED, Garland FC. The association between ultraviolet B irradiance, vitamin D status and incidence rates of type 1 diabetes in 51 regions worldwide. Diabetologia. 2008;51(8):1391-1398. doi:10.1007/s00125-008-1061-5

[3] Hyppönen E, Läärä E, Reunanen A, Järvelin MR, Virtanen SM. Intake of vitamin D and risk of type 1 diabetes: a birth-cohort study. The Lancet. 2001;358(9292):1500-1503. doi:10.1016/S0140-6736(01)06580-1

[4] Arkema EV, Hart JE, Bertrand KA, et al. Exposure to ultraviolet-B and risk of developing rheumatoid arthritis among women in the Nurses’ Health Study. Annals of the Rheumatic Diseases. 2013;72(4):506-511. doi:10.1136/annrheumdis-2012-202302

[5] Ananthakrishnan AN, Khalili H, Higuchi LM, et al. Higher predicted vitamin D status is associated with reduced risk of Crohn’s disease. Gastroenterology. 2012;142(3):482-489. doi:10.1053/j.gastro.2011.11.040


Disclaimer:
This article is for educational purposes and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician before making health decisions based on the TyG Index or other biomarkers.

© 2018 – 2026 Asclepiades Medicine, LLC. All Rights Reserved
DrJesseSantiano.com does not provide medical advice, diagnosis, or treatment


Discover more from Don't Get Sick!

Subscribe to get the latest posts sent to your email.

Let me know what you think!