What Depletes Vitamin D? Causes and Risk Factors

Vitamin D levels drop when your body either cannot make enough of it or breaks it down and flushes it out faster than it is replaced. Because vitamin D depends on a chain of events spanning your skin, liver, kidneys, and gut, a surprising number of everyday factors can interrupt the process. Some are obvious, like not getting enough sun, but others catch people off guard: the medications you take, the amount of body fat you carry, a magnesium shortfall you never knew about, and even a bout of acute inflammation can all drag your levels down.

How Sunlight Gets Blocked Before It Reaches Your Skin

Your skin manufactures vitamin D when ultraviolet B (UVB) rays hit a cholesterol compound sitting in the outer layer of the epidermis. Anything that reduces the amount of UVB reaching that layer reduces production. Geography is the most dramatic example. Experiments exposing skin samples to winter sunlight in Boston (about 42°N latitude) found that no vitamin D precursor was produced from November through February. In Edmonton, Canada (52°N), that “vitamin D winter” stretched from October through March. Only at lower latitudes, around 34°N and 18°N, did winter sunlight still trigger synthesis.1PubMed. Influence of season and latitude on the cutaneous synthesis of vitamin D3: exposure to winter sunlight in Boston and Edmonton will not promote vitamin D3 synthesis in human skin If you live above roughly 35°N or below 35°S, your body essentially cannot make vitamin D from sunlight for several months of the year.

Even during the right season, glass windows, car windshields, and plastic sheeting absorb UVB, so sitting by a sunny window all day does nothing for your vitamin D status. Sunscreen with an SPF of 30 also sharply reduces the skin’s ability to produce vitamin D.2PubMed Central. Relationship between Air Pollution and Serum Vitamin D Levels: A Systematic Review and Meta-Analysis That puts dermatologists and vitamin D researchers in an awkward standoff: sun protection prevents skin cancer, but it also blocks the very wavelengths your body needs. For most people, brief unprotected exposure on the arms and legs a few times a week during peak UVB hours (roughly midday) is enough, but if you work indoors, wear covering clothing for religious or cultural reasons, or slather on sunscreen before stepping outside, you are unlikely to make meaningful amounts through your skin alone.

Air Pollution and Urban Living

Smog, particulate matter, and ground-level ozone absorb and scatter UVB radiation before it reaches street level. A systematic review found that airborne pollutants attenuate UV radiation enough to measurably affect cutaneous vitamin D synthesis.2PubMed Central. Relationship between Air Pollution and Serum Vitamin D Levels: A Systematic Review and Meta-Analysis This is one reason researchers have observed lower vitamin D levels in heavily polluted cities compared with rural areas at the same latitude. If you live in a smoggy metropolis, your effective UVB exposure may be considerably less than someone in a cleaner environment at the same latitude and season.

Skin Pigmentation and the Melanin Trade-Off

Melanin, the pigment that darkens skin, absorbs UVB. This means darker-skinned individuals need more sun exposure to produce the same amount of vitamin D as lighter-skinned people. Studies comparing the most extreme phenotypes (very fair skin versus very dark skin) found a melanin inhibition factor of roughly 1.3 to 1.4, meaning people with very dark skin produce about 25–30% less vitamin D per unit of UV exposure.3PubMed. Melanin has a Small Inhibitory Effect on Cutaneous Vitamin D Synthesis: A Comparison of Extreme Phenotypes That difference sounds modest in a lab setting, but over the course of months spent at a high latitude with limited UVB, it is enough to explain the much higher rates of deficiency seen epidemiologically in people with darker skin living far from the equator.4PubMed Central. Colour Counts: Sunlight and Skin Type as Drivers of Vitamin D Deficiency at UK Latitudes

From an evolutionary standpoint, skin pigmentation may have developed as a balancing act. The “vitamin D–folate hypothesis” proposes that lighter skin evolved in populations migrating to high latitudes to preserve vitamin D synthesis, while darker skin in equatorial regions protects folate, a B-vitamin that UV radiation can degrade.5PubMed Central. The Vitamin D⁻Folate Hypothesis as an Evolutionary Model for Skin Pigmentation: An Update and Integration of Current Ideas. The practical takeaway: if you have darker skin and live at a northern latitude, you are at higher baseline risk for low vitamin D and should pay closer attention to dietary and supplemental sources.

Aging and the Skin’s Declining Capacity

Your skin gets worse at making vitamin D as you age. Research comparing skin samples from subjects aged 8 to 92 found an age-related drop in the precursor compound (7-dehydrocholesterol) in the epidermis. When skin from subjects in their late 70s and early 80s was compared with skin from young subjects, the older skin produced less than half the amount of previtamin D under the same UV exposure.6PubMed Central. Aging decreases the capacity of human skin to produce vitamin D3 This is compounded by the fact that older adults tend to spend less time outdoors, are more likely to wear covering clothing, and often have kidney function that has declined enough to slow the final activation step. The combination means elderly populations are among the most vitamin D–deficient groups worldwide, and supplementation becomes especially relevant after middle age.

Obesity and the Adipose Reservoir Problem

Vitamin D is fat-soluble, so it gets stored in your adipose (fat) tissue. If you carry a lot of body fat, a greater proportion of the vitamin D you ingest or produce gets locked away in that fat, pulling it out of circulation. Research measuring vitamin D directly in fat tissue confirmed that people with obesity have larger total adipose stores of the vitamin, but their blood levels run lower because the expanded fat mass acts as a reservoir that the rest of the body cannot easily access.7PubMed Central. Vitamin D Storage in Adipose Tissue of Obese and Normal Weight Women This is why clinicians often recommend higher supplementation doses for people with obesity: the standard dose may simply disappear into fat tissue without meaningfully raising serum levels. The relationship also works in reverse after weight-loss surgery, when stored vitamin D can be released back into the bloodstream as fat mass shrinks, though bariatric surgery introduces its own malabsorption complications.

Gut Conditions That Block Absorption

Because dietary and supplemental vitamin D is absorbed in the small intestine along with dietary fat, anything that disrupts fat absorption can impair vitamin D uptake. Celiac disease, Crohn’s disease, ulcerative colitis, and short bowel syndrome all fall into this category. A review examining these malabsorptive gastrointestinal conditions found that all of them severely impair vitamin D status.8PubMed Central. Vitamin D and malabsorptive gastrointestinal conditions: A bidirectional relationship? The relationship is bidirectional: poor vitamin D status may worsen the inflammatory and immune processes underlying these gut diseases, which in turn worsens absorption further.

Bariatric surgery deserves its own mention. Procedures like gastric bypass physically reroute the digestive tract so that food bypasses sections of the small intestine where fat-soluble vitamins are normally absorbed. People who have had these surgeries require lifelong monitoring and typically need higher-than-standard vitamin D supplementation to compensate.

Kidney and Liver Disease

The vitamin D you get from sunlight or food is biologically inert. It needs two chemical conversions before your body can use it: the first happens in the liver, where it becomes 25-hydroxyvitamin D (the form measured in blood tests), and the second happens mainly in the kidneys, where it becomes the active hormone. Damage to either organ disrupts the chain.

Chronic kidney disease is especially devastating for vitamin D. Patients with declining kidney function lose the ability to perform that final activation step. As kidney function drops, so does the uptake of 25-hydroxyvitamin D by the remaining kidney cells, impairing both activation and recycling of the vitamin back into the bloodstream.9Kidney International. Defective renal maintenance of the vitamin D endocrine system impairs vitamin D renoprotection: a downward spiral in kidney disease The result is an exceptionally high rate of severe vitamin D deficiency in people with chronic kidney disease.10PubMed Central. Vitamin D and chronic kidney disease

Liver disease impairs the first activation step. Research in animal models showed that liver injury directly reduces the liver’s capacity to convert vitamin D into 25-hydroxyvitamin D, setting off a cascade that disrupts gut immune defenses and promotes further liver damage.11PubMed Central. Liver Injury Impaired 25-Hydroxylation of Vitamin D Suppresses Intestinal Paneth Cell defensins, leading to Gut Dysbiosis and Liver Fibrogenesis Cirrhosis, hepatitis, and fatty liver disease can all interfere with this step. The two-organ dependency is one reason vitamin D deficiency is so pervasive in people with multiple chronic conditions: any breakdown in the liver-to-kidney pipeline leaves the active form in short supply.

Medications That Interfere With Vitamin D

A number of common drugs lower vitamin D levels through different mechanisms. Some speed up the liver’s breakdown of vitamin D by activating a receptor (the pregnane X receptor) that ramps up enzymes responsible for clearing the vitamin from the body.12PubMed Central. Influence of drugs on vitamin D and calcium metabolism. Antiseizure medications like phenytoin, phenobarbital, and carbamazepine are well-known offenders in this category. Certain anti-tuberculosis drugs, particularly rifampin, do the same thing.

Other drugs block absorption in the gut rather than speeding up breakdown. Bile acid sequestrants like cholestyramine and colestipol, prescribed for high cholesterol, bind bile acids in the intestine and can drag fat-soluble vitamins like D along with them. The weight-loss drug orlistat works by preventing dietary fat absorption, and vitamin D rides out with the unabsorbed fat.13PubMed Central. Drug-vitamin D interactions: A systematic review of the literature

Glucocorticoids (steroids like prednisone) are a special case. They significantly reduce intestinal calcium absorption, which was long assumed to be mediated through vitamin D. But research showed that after 14 days of prednisone, blood levels of the main vitamin D metabolites did not drop significantly. Instead, glucocorticoids appear to oppose vitamin D’s effects on calcium transport at the cellular level without destroying the vitamin itself.14The Journal of Clinical Endocrinology & Metabolism. Effects of Short Term Glucocorticoid Administration on Intestinal Calcium Absorption and Circulating Vitamin D Metabolite Concentrations in Man15The Journal of Clinical Investigation. Effect of cortisone treatment on the active transport of calcium by the small intestine The practical consequence is the same for your bones, though: long-term steroid use weakens skeletal health in part because the vitamin D you have cannot do its job as effectively. If you take any of these medications regularly, periodic blood testing of 25-hydroxyvitamin D and possibly higher supplementation doses are worth discussing with your doctor.

Inflammation Can Temporarily Tank Your Levels

An underappreciated cause of low readings on a vitamin D blood test is acute inflammation. After surgery, serious infection, or a major inflammatory flare, serum 25-hydroxyvitamin D drops quickly. One study tracking patients through knee replacement surgery found that blood levels of 25-hydroxyvitamin D fell significantly within days, while inflammatory markers spiked. At the same time, the vitamin D binding protein that carries the vitamin through the bloodstream also dropped, partly because it was being lost through the kidneys.16PubMed. Vitamin D: a negative acute phase reactant

A systematic review examining multiple types of inflammatory insults confirmed this pattern: in the majority of studies, 25-hydroxyvitamin D dropped after the inflammatory event, and the decline was steepest when measured soon after the insult.17PubMed. Does serum 25-hydroxyvitamin D decrease during acute-phase response? A systematic review This means that if your blood is drawn while you are acutely ill, hospitalized, or recovering from surgery, the result may understate your usual vitamin D status. Clinicians sometimes misinterpret this as chronic deficiency when it is actually a temporary redistribution driven by the inflammatory response.

Magnesium and the Hidden Cofactor Problem

You could take all the vitamin D in the world and still have trouble activating it if your magnesium is low. Every major enzyme involved in converting vitamin D to its active form requires magnesium as a cofactor, including the enzymes in both the liver and the kidneys.18PubMed. Role of Magnesium in Vitamin D Activation and Function Because a large fraction of the population consumes less magnesium than recommended, this bottleneck may be more common than people realize. If your vitamin D levels are stubbornly low despite supplementation and adequate sun exposure, a magnesium deficit could be part of the explanation.19PubMed Central. Magnesium and Vitamin D Deficiency as a Potential Cause of Immune Dysfunction, Cytokine Storm and Disseminated Intravascular Coagulation in covid-19 patients Green leafy vegetables, nuts, seeds, and whole grains are good sources, but many Western diets fall short.

Genetic Variation in Vitamin D Binding Protein

Your genes can set you up for lower vitamin D levels regardless of how much sun you get or how many supplements you take. The vitamin D binding protein (DBP), which transports vitamin D through the bloodstream, is encoded by a gene with common variants that alter the protein’s structure and function. Two well-studied variants (rs7041 and rs4588) are common enough across populations to create built-in differences in baseline vitamin D status.20PubMed Central. Common variants of the vitamin D binding protein gene and adverse health outcomes

A study of infants showed that these genetic variants were associated with blood vitamin D levels at every time point measured, with each copy of the minor allele reducing 25-hydroxyvitamin D concentration by roughly 4 to 11 nmol/L.21The Journal of Clinical Endocrinology & Metabolism. Genetic Variation of the Vitamin D Binding Protein Affects Vitamin D Status and Response to Supplementation in Infants Work on neonatal blood spots confirmed that variants in the DBP gene account for over half of the variation in the binding protein’s blood concentration, though only a small fraction of the variation in 25-hydroxyvitamin D itself.22Nature Communications. Genetic correlates of vitamin D-binding protein and 25-hydroxyvitamin D in neonatal dried blood spots In plain terms, two people with identical diets, sun habits, and body composition can have meaningfully different vitamin D blood levels because of inherited differences in their transport protein. This does not mean genetics doom you to deficiency, but they help explain why some people seem harder to get into the “sufficient” range.

Alcohol, Shift Work, and Lifestyle Patterns

Heavy, chronic alcohol consumption damages the liver and, with it, the first activation step for vitamin D. Research in people with alcohol use disorder found that levels of both inactive and active vitamin D were significantly reduced compared to matched healthy controls.23PubMed Central. Chronic Ethanol Exposure Effects on Vitamin D Levels Among Subjects with Alcohol Use Disorder Moderate drinking has not been linked to the same degree of impairment, but if you drink heavily and regularly, vitamin D is another system that takes a hit.

Shift work affects vitamin D in a straightforward way: people who work nights and sleep during the day miss UVB exposure. A meta-analysis including over 110,000 participants found that shift workers had significantly lower serum vitamin D levels than daytime workers.24PubMed Central. Shift Work and Serum Vitamin D Levels: A Systematic Review and Meta-Analysis The difference is not huge on a per-person basis, but across a career of nighttime work, the chronic shortfall adds up. Healthcare workers, factory shift workers, and anyone else who routinely avoids daylight hours should consider supplementation as a default rather than an afterthought.

Pregnancy and Lactation

Calcium demands surge in the third trimester, making adequate vitamin D especially important for both mother and fetus. Despite widespread use of prenatal vitamins, vitamin D deficiency remains common in pregnant women, with reported prevalence ranging from roughly 5% to 50% depending on the population studied. Among exclusively breastfed infants, deficiency rates are also substantial, estimated between 10% and 56%, partly because standard prenatal vitamin doses are often not enough to maintain sufficient blood levels of the vitamin.25PubMed Central. Implications of vitamin D deficiency in pregnancy and lactation. Breast milk alone does not contain much vitamin D, so infants who are exclusively breastfed without supplementation are at particular risk, especially if the mother herself was deficient during pregnancy.

Your Body’s Own Vitamin D Disposal System

Beyond all the external factors that reduce supply, your body actively breaks down vitamin D as part of normal metabolism. An enzyme called CYP24A1 converts both the storage form and the active form of vitamin D into breakdown products that are eventually excreted.26PubMed. 25-Hydroxyvitamin D-24-hydroxylase (CYP24A1): its important role in the degradation of vitamin D This enzyme is essential because vitamin D toxicity is dangerous, and the body needs a brake pedal. The final waste products are water-soluble and leave the body through bile.27Journal of Lipid Research. Enzymes involved in the activation and inactivation of vitamin D

In certain rare genetic conditions, CYP24A1 is overactive, chewing through vitamin D faster than normal and making it hard to maintain adequate levels even with high-dose supplementation. This is uncommon, but it shows up occasionally in patients who have “inexplicably” low vitamin D levels despite aggressive treatment. On the other end, some people have mutations that make this enzyme underactive, leading to vitamin D buildup and hypercalcemia even at ordinary supplement doses. Both extremes are rare, but they illustrate that vitamin D homeostasis depends on the balance between supply and disposal, and genetics can tip that balance in either direction.