Staying indoors for prolonged stretches quietly reshapes nearly every system in your body, from the density of your bones to the chemistry of your brain. Most people think of “going outside” as a lifestyle preference or a mood booster, but sunlight, fresh air, and natural environments trigger specific biological processes that indoor environments simply cannot replicate. The effects pile up across vitamin D production, blood pressure regulation, eye development, serotonin signaling, immune defense, and more. Some consequences show up within days; others accumulate over months or years.
Vitamin D and Your Skeleton
The most well-documented consequence of staying indoors is a drop in vitamin D. Your skin manufactures vitamin D when UVB rays from the sun hit it, and there is no substitute for that process in a typical indoor setting. Fluorescent lights and LED bulbs do not emit the UVB wavelengths needed. A scoping review of studies on indoor workers found that vitamin D deficiency caused by a lack of sun exposure leads to increased bone turnover and reduced bone and muscle function, raising the risk of osteoporosis over time.1International Journal of Biomedical-Nursing Review. THE RELATIONSHIP BETWEEN VITAMIN D DEFICIENCY DUE TO INDOOR ACTIVITY AGAINST OSTEOPOROSIS: SCOPING REVIEW The mechanism involves parathyroid hormone: when vitamin D drops, parathyroid hormone rises, and that accelerates the breakdown of bone tissue to maintain calcium levels in the blood.
What makes this tricky is that you can feel perfectly fine while your bones are gradually weakening. Vitamin D deficiency rarely causes obvious symptoms in the short term. By the time it matters clinically, you may already have significant bone density loss, especially if you are postmenopausal, elderly, or have a darker skin tone that requires more sun exposure to produce the same amount of vitamin D.
Blood Pressure Goes Up Without Sunlight
Sunlight does something for your blood vessels that supplements cannot easily replicate. When UVA light hits your skin, it releases stored nitric oxide from compounds already sitting in skin cells. Nitric oxide is a signaling molecule that tells blood vessels to relax and widen. In one study of healthy volunteers, whole-body UVA exposure caused systolic and diastolic blood pressure to drop by about 11% within 30 minutes, along with a 26% increase in forearm blood flow and a 28% decrease in forearm vascular resistance.2PubMed. Whole body UVA irradiation lowers systemic blood pressure by release of nitric oxide from intracutaneous photolabile nitric oxide derivates
More recent research has shown that this nitric oxide release is not just a brief flash during exposure. After moderate UVA exposure, nitric oxide production in skin cells continued in a “dark reaction,” peaking around 48 hours after the light was gone. The researchers noted this persistent effect could be especially meaningful for elderly people, those with high blood pressure, or anyone with impaired nitric oxide function.3Scientific Reports. Post-exposure persistence of nitric oxide upregulation in skin cells irradiated by UV-A If you never go outside, you miss this vascular maintenance entirely. Over time, that means chronically higher vascular resistance and blood pressure, which are major risk factors for heart disease and stroke.
Your Eyes Need Distance and Daylight
The global rise in nearsightedness tracks closely with the amount of time populations spend indoors, and the connection is not just about staring at screens. Outdoor light is dramatically brighter than indoor light, even on a cloudy day, and that brightness matters for eye development. Research in animal models has shown that eyes exposed to bright, photopic-level light developed significantly less severe myopic shifts compared to eyes exposed to dim, mesopic lighting. The protective effect appears to work through dopamine: brighter light boosts dopamine activity in the retina, and dopamine signals the eye to maintain its correct shape rather than elongating into a nearsighted form.4PubMed Central. Ambient Light Regulates Retinal Dopamine Signaling and Myopia Susceptibility
A review of the human evidence confirmed that the protective effects of outdoor time against myopia involve exposure to higher light levels and shorter wavelengths, along with increased dopamine and vitamin D levels.5PubMed Central. Protective effects of increased outdoor time against myopia: a review This is particularly relevant for children and teenagers, whose eyes are still growing. Simply spending time outdoors, even without exercising, appears protective. Typical indoor lighting sits around 300 to 500 lux, while outdoor light on a cloudy day can reach several thousand lux and on a sunny day can hit 100,000 lux. That enormous gap is something no standard room light can bridge.
Serotonin, Mood, and the Seasonal Pattern
Light exposure directly influences serotonin, the neurotransmitter most associated with mood regulation. Serotonin levels in the brain are partly controlled by the serotonin transporter, a protein that clears serotonin from the space between neurons. In healthy people, serotonin transporter availability is higher in autumn and winter than in spring and summer, and it correlates negatively with daily sunshine: less light means more serotonin gets pulled out of active circulation, leaving less available to do its job.6European Psychiatry. FC29-05 – Season, sunlight, and brain serotonin function This pattern was confirmed by brain imaging studies showing that serotonin transporter availability in the prefrontal cortex, striatum, thalamus, and midbrain peaked during periods of shorter daylength.7Translational Psychiatry. Seasonality of brain function: role in psychiatric disorders
If you stay indoors continuously, you are essentially living in a low-light winter regardless of the actual season. The brain does not distinguish between “it’s January” and “I have been in my apartment for three weeks.” The same transporter dynamics kick in, which helps explain why people who rarely go outside often report low mood, irritability, and difficulty concentrating. Seasonal affective disorder is the clinical extreme of this pattern, but you do not need a diagnosis for reduced sunlight to drag your mood downward.
Sleep Gets Harder to Regulate
Your body’s internal clock runs on a roughly 24-hour cycle, but it needs external cues to stay synchronized. The most powerful cue is bright light in the morning, which suppresses melatonin production and signals that daytime has begun. Indoor fluorescent lighting at 400 to 500 lux can suppress melatonin, but the effect depends on timing and intensity. Research on primates showed that even relatively dim artificial light of 10 to 30 lux was sufficient to suppress nocturnal melatonin, confirming that artificial light can mimic some aspects of sunlight’s effect on the circadian clock.8PubMed. Diurnal changes in serum melatonin concentrations under indoor and outdoor environments and light suppression of nighttime melatonin secretion in the female Japanese monkey
The problem is not just the intensity of indoor light but the timing. People who stay inside tend to get light at haphazard times, often staying up late under screen glow and sleeping in past sunrise. Night shift workers, who represent an extreme version of this pattern, show disrupted circadian rhythms and face increased risks of metabolic disorder and several types of cancer, driven by nocturnal light exposure and shifted meal timing.9PubMed Central. Circadian Rhythms Disrupted by Light at Night and Mistimed Food Intake Alter Hormonal Rhythms and Metabolism Even if you are not a shift worker, staying indoors blurs the contrast between day and night that your body uses to set its hormonal rhythms. Morning light exposure matters for the elderly as well: pooled data from studies in senior care facilities showed that residents with higher morning light exposure had less fragmented and more stable rest-activity rhythms, and that fragmented rhythms predicted lower cognitive performance.10PubMed Central. Light in the Senior Home: Effects of Dynamic and Individual Light Exposure on Sleep, Cognition, and Well-Being
Stress Hormones Stay Elevated
Cortisol, the body’s primary stress hormone, responds to nature exposure in measurable ways. A meta-analysis of studies comparing natural versus urban or indoor environments found that exposure to natural settings was associated with decreased salivary cortisol, lower systolic and diastolic blood pressure, and changes in heart rate variability consistent with reduced sympathetic nervous system activation.11Urban Forestry & Urban Greening. The effect of exposure to the natural environment on stress reduction: A meta-analysis A broader evidence review confirmed the overall trend, noting that the majority of studies found cortisol levels decreased when participants were in natural environments compared with urban ones, though some studies found no significant difference, partly because cortisol fluctuates throughout the day and is tricky to measure cleanly.12PubMed Central. Associations between Nature Exposure and Health: A Review of the Evidence
Chronically elevated cortisol is not just an abstract problem. It contributes to weight gain (especially around the midsection), impaired immune function, elevated blood sugar, poor sleep, and increased anxiety. If you are spending weeks indoors, you are removing a natural cortisol-lowering stimulus from your life. Even the sounds of natural environments appear to play a role: hearing forest soundscapes with bird song, running water, and wind significantly improved mood, feelings of restoration, and cognitive performance compared to industrial city sounds, though the effect on physiological stress markers like cortisol and heart rate was less clear.13PubMed Central. Forest soundscapes improve mood, restoration and cognition, but not physiological stress or immunity, relative to industrial soundscapes
Immune Cells Lose a Boost
Your immune system has an unexpected relationship with both sunlight and the natural environment. Blue light, the dominant wavelength in sunlight, directly affects T lymphocytes, the white blood cells that coordinate immune responses. At low doses, blue light triggers T cells to produce hydrogen peroxide, which activates a signaling cascade that enhances T cell motility, essentially making them faster at moving to where they are needed in the skin.14Scientific Reports. Intrinsic Photosensitivity Enhances Motility of T Lymphocytes Without sunlight exposure, you lose this mobility boost.
There is also the antimicrobial side. UVB light prompts the skin to produce cathelicidin, an antimicrobial peptide that helps defend against bacteria, viruses, and fungi on the skin surface.15PubMed Central. Vitamin d, the cutaneous barrier, antimicrobial peptides and allergies: is there a link? Low-dose UVB exposure also reinforced the skin’s physical barrier by boosting the expression of differentiation markers and epidermal lipid production, and this effect depended in part on activation of the skin’s own vitamin D system.16Journal of Investigative Dermatology. Biopositive Effects of Low-Dose UVB on Epidermis: Coordinate Upregulation of Antimicrobial Peptides and Permeability Barrier Reinforcement Stay indoors long enough and your skin’s first line of defense becomes measurably weaker.
Beyond sunlight, simply being outdoors exposes you to a richer microbial environment. A randomized trial of office workers found that those whose workspace included an indoor green wall developed a higher abundance of beneficial Lactobacillus bacteria on their skin compared to a control group, along with subtle shifts in microbial diversity.17Scientific Reports. Indoor green wall affects health-associated commensal skin microbiota and enhances immune regulation: a randomized trial among urban office workers That was just a plant wall inside an office. Actual outdoor environments, with soil, trees, and varied vegetation, offer far more microbial diversity. The hygiene hypothesis and its newer iterations suggest this microbial exposure helps train the immune system and reduce allergic and autoimmune responses.
Muscles and Metabolism Slow Down
Staying indoors usually means sitting more. Physical inactivity is its own health crisis, but the sedentary behavior that accompanies indoor life has specific metabolic consequences beyond just “not exercising enough.” Prolonged sitting reduces the activity of lipoprotein lipase, an enzyme critical for processing fats in the blood, and impairs muscle glucose and protein transporter function, disrupting both lipid and carbohydrate metabolism.18PubMed Central. Sedentary Lifestyle: Overview of Updated Evidence of Potential Health Risks
Animal research has shown how quickly this deterioration can set in. When rats transitioned from an active to a sedentary lifestyle, their load-bearing muscles showed significant atrophy (a 17% reduction in muscle-to-body-weight ratio) along with a spike in oxidative stress markers and a collapse in antioxidant enzyme activity.19PubMed Central. Sedentary lifestyle induces oxidative stress and atrophy in rat skeletal muscle The onset was rapid, suggesting that the shift from active to inactive does not require months to produce measurable damage. While rat physiology is not identical to human physiology, the direction of the finding is consistent with what is seen in bedridden patients and immobilized limbs in clinical settings.
Your Brain Gets Less Oxygen and More CO₂
Indoor air quality is a silent problem. Buildings, especially well-sealed modern ones, accumulate carbon dioxide from the occupants’ own breathing, alongside volatile organic compounds from furniture, cleaning products, and building materials. In a controlled study of office workers, cognitive function scores were 61% higher in a “green” building with better ventilation and lower pollutant levels compared to a conventional building. When CO₂ concentrations reached about 1,400 parts per million, cognitive scores dropped by 50% compared to the cleanest conditions.20PubMed Central. Associations of Cognitive Function Scores with Carbon Dioxide, Ventilation, and Volatile Organic Compound Exposures in Office Workers: A Controlled Exposure Study of Green and Conventional Office Environments For context, outdoor air typically contains around 420 ppm of CO₂, while a poorly ventilated bedroom with the door closed can easily exceed 1,500 ppm overnight.
This means that if you are spending all day in a small, closed room without opening windows or running adequate ventilation, your decision-making and problem-solving abilities are likely declining without you noticing. The effect is dose-dependent: every additional 400 ppm of CO₂ was associated with roughly a 21% drop in cognitive performance across all domains tested. Going outside periodically, or at minimum opening windows, brings fresh air in and flushes CO₂ out.
Children’s Growth Responds to Daylight Hours
Children who spend little time outdoors may face consequences beyond vitamin D deficiency and myopia. There is a well-documented seasonal pattern in how fast children grow, and it correlates with daylight exposure. Studies of children receiving growth hormone therapy found that growth velocity varied seasonally and correlated with the number of daylight hours, with the effect being greatest in the first year of therapy.21PubMed Central. Is there “seasonal” variation in height velocity in children treated with growth hormone? Data from the National Cooperative Growth Study Research into the mechanism found that summer daylight exposure was a key environmental factor in growth response, and that this interacted with genes involved in circadian clock pathways and developmental transcription factors.22PubMed Central. Effect of summer daylight exposure and genetic background on growth in growth hormone-deficient children
This does not mean a child who stays inside for a summer will be measurably shorter as an adult. The seasonal growth effect is modest. But it illustrates how deeply embedded light exposure is in the body’s developmental programming, reaching all the way down to the interaction between environmental cues and gene expression.
What Trees Release Into the Air
Forests and green spaces are not just visually pleasant. Trees release volatile organic compounds called phytoncides, and breathing them in appears to activate natural killer cells, a type of immune cell that patrols for virally infected and cancerous cells. A meta-analysis of phytoncide research found a significant increase in NK cell activation after exposure, alongside increases in T cells and cytotoxic effector molecules.23Pharmacological Research – Natural Products. Phytoncides and immunity from forest to facility: A systematic review and meta-analysis Lab studies confirmed that phytoncide exposure increased NK cell activity while also lowering stress hormones like adrenaline and noradrenaline in urine.24PubMed. Effect of phytoncide from trees on human natural killer cell function
Whether you can get this benefit from a houseplant or an essential oil diffuser is debatable. The concentrations and chemical mixtures in a forest are different from a few drops of cedar oil in a diffuser, and most of the research involves actual forest immersion. If you live in a city and rarely leave your building, you are certainly not getting meaningful phytoncide exposure. This is one area where “going outside” and “going outside into a green space” are genuinely different prescriptions.
Lessons from Extreme Indoor Environments
Submarines offer an unintentional natural experiment in what happens to people who live entirely indoors for months. A review of submarine crew health found evidence of airway irritation, impaired mucociliary defenses (the self-cleaning mechanism of your respiratory tract), endothelial dysfunction, cardiovascular stress, and neurobehavioral changes.25PubMed Central. Submarine Indoor Air Quality and Crew Health: A Critical Narrative State-of-the-Art Review of Respiratory and Cardiovascular Risks Submarines represent an extreme case with unique pollutant profiles, but they illustrate the compounding nature of indoor confinement: every system that depends on sunlight, fresh air, microbial diversity, or physical movement degrades simultaneously, and the effects interact with each other. Low vitamin D weakens immunity, poor sleep raises cortisol, high cortisol impairs metabolism, and impaired metabolism makes you more sedentary. The longer you stay inside, the more these feedback loops reinforce each other.
You do not need to be a submariner to experience milder versions of this cascade. Anyone who works from home in a small apartment, rarely opens windows, and does not go outside for days at a time is running a gentler version of the same experiment. The fix is not complicated. Even brief outdoor exposure, particularly in the morning when bright light has the strongest circadian effect, addresses multiple systems at once: vitamin D production, nitric oxide release, serotonin regulation, retinal dopamine signaling, cortisol reduction, and microbial exposure all begin the moment you walk out the door.