A sunny window seat can feel like the perfect place to get your daily dose of sunshine. But if you are counting on vitamin D through a window, that warm patch of light will not do the job. Ordinary glass blocks the ultraviolet B rays your skin needs to make the vitamin. Health Professional Fact Sheet
That does not mean everyone who works indoors is deficient, or that you should start sunbathing without protection. It means indoor brightness is a poor guide to your vitamin D intake. Food, appropriate supplements, and your individual health needs matter more than how sunny your desk looks.
Why you cannot make vitamin D through a window
Your skin produces vitamin D when ultraviolet B, or UVB, reaches it. Sunlight contains different wavelengths, and they do not all pass through glass equally.
In an expert explanation published by Tufts, bone health researcher Bess Dawson-Hughes explains that typical home, office, and car windows block most UVB. The light reaching your chair therefore lacks the radiation needed to start meaningful vitamin D production. Tufts Health & Nutrition Letter
This is why spending longer beside the glass does not solve the problem. Two hours in a sunroom cannot be converted into a dependable vitamin D dose.
The phrase “absorbing vitamin D from sunshine” is also misleading. Sunlight does not deliver the vitamin itself; it helps your skin manufacture it. Getting vitamin D through a window fails because the glass interrupts that process.
Does opening the window make a difference?
If sunlight reaches exposed skin through an open window without passing through glass, the glass barrier is gone. That is different from getting vitamin D through a window that is closed.
However, an open window is not a dosing method. Season, latitude, time of day, skin pigmentation, age, and the amount of skin exposed influence production. The NIH explains that these variables make a universal sunlight prescription difficult.
For example, a bright winter afternoon and a summer afternoon can look similarly inviting while providing very different UVB exposure. Feeling warm is not a useful measurement.
Instead of trying to calculate vitamin D through a window, review sources you can actually measure, such as the amount listed on food and supplement labels.
Should you spend more time in direct sun?
Discovering that you cannot make vitamin D through a window is not a reason to abandon sun protection.
The American Academy of Dermatology recommends getting vitamin D from foods and fortified products, rather than deliberately seeking ultraviolet exposure. Sunlight and tanning devices can increase skin cancer risk.
For outdoor protection, the academy recommends shade, protective clothing, and broad-spectrum, water-resistant sunscreen with SPF 30 or higher on uncovered skin. aad.org
You can enjoy being outdoors without treating every walk as a vitamin D treatment. Avoid tanning beds or buying a UV lamp to compensate for working inside. A brighter or hotter exposure is not automatically a better health choice.
How to get enough vitamin D indoors
If your daily routine is mainly indoors, replace the idea of vitamin D through a window with a simple review of your diet and any supplements you already take.
Start with foods you eat regularly
The NIH identifies fatty fish, including salmon and trout, as useful natural sources. Fortified milk and some fortified plant-based drinks, cereals, and yogurts can also contribute. Egg yolks contain smaller amounts.
Check the label rather than assuming every product in a category contains the same amount. One oat drink may be fortified while another is not. Serving size matters, too.
Know which guidance applies to you
US recommended daily intakes are 15 micrograms, or 600 IU, for adults ages 19–70 and 20 micrograms, or 800 IU, for adults 71 and older. These are total intake recommendations, not automatic supplement prescriptions.
UK guidance differs. The NHS advises adults to consider a daily 10-microgram, or 400-IU, supplement during autumn and winter. People with little outdoor exposure should take that amount throughout the year; people with dark skin should also consider year-round supplementation.
The NHS also notes that UK cows’ milk is generally not fortified with vitamin D, unlike much of the US supply.
Country-specific advice matters more than advice about vitamin D through a window circulating on social media. Do not combine US and UK recommendations as though they are separate doses you need to add together.
A practical food-label example
Here is a hypothetical example of how to replace guesswork with a useful conversation.
Suppose a 40-year-old US adult checks two products they regularly consume:
- A fortified drink lists 3 micrograms per serving.
- A fortified cereal lists 2 micrograms per serving.
One serving of each contributes 5 micrograms, equivalent to 200 IU. Compared with the US adult recommendation of 15 micrograms, that leaves 10 micrograms to account for through other foods or, when appropriate, supplementation.
This example does not diagnose a deficiency or prove that a particular supplement dose is needed. It simply shows why reading two labels is more informative than counting hours of vitamin D through a window.
Before buying anything, check your multivitamin as well. Write down the serving size and vitamin D amount for each product so a pharmacist or clinician can review the total.
When should you ask about testing or supplements?
Not producing vitamin D through a window does not, by itself, mean you need a blood test.
The Endocrine Society’s prevention guideline advises against routine vitamin D testing in generally healthy adults without a separate medical reason for testing. It also advises against routinely taking more than established recommended intakes in healthy, nonpregnant adults under 75.
Those recommendations do not replace care for a diagnosed deficiency or conditions affecting vitamin D metabolism. Ask for individual advice if you have been prescribed treatment, have an absorption disorder, or are unsure whether your medical history changes your needs.
Avoid assuming that more is better. The NIH lists 100 micrograms, or 4,000 IU, as the adult daily upper limit from food, drinks, and supplements. That is a ceiling, not a target; a clinician may prescribe a different regimen for a specific condition.





