Certain climates, dress habits, the avoidance of sun exposure and the use of too much sunscreen protection can all limit the production of vitamin D.

Age
Elderly people have a higher risk of having a vitamin D deficiency due to a combination of several risk factors, including decreased sunlight exposure, decreased intake of vitamin D in the diet, and decreased skin thickness, which leads to further decreased absorption of vitamin D from sunlight. Fat percentage
Since vitamin D3 (cholecalciferol) and vitamin D2 (ergocalciferol) are fat-soluble, humans and other animals with a skeleton need to store some fat. Without fat, the animal will have a hard time absorbing vitamin D2 and vitamin D3, and the lower the fat percentage, the greater the risk of vitamin deficiency, which is true in some athletes who strive to get as lean as possible. Malnutrition
Although rickets and osteomalacia are now rare in Britain, osteomalacia outbreaks in some immigrant communities included women with seemingly adequate daylight outdoor exposure wearing typical Western clothing. Having darker skin and reduced exposure to sunshine did not produce rickets unless the diet deviated from a Western omnivore pattern characterized by high intakes of meat, fish, and eggs and low intakes of high-extraction cereals. In sunny countries where rickets occurs among older toddlers and children, the rickets has been attributed to low dietary calcium intakes. This is characteristic of cereal-based diets with limited access to dairy products.
performed a study in elderly women to compare the efficacy and safety of a daily dose of 1,500 IU to a weekly dose of 10,500 IU and to a dose of 45,000 IU given every 28 days for two months. They concluded that supplementation with vitamin D can be equally achieved with daily, weekly, or monthly dosing frequencies. Another study comparing daily, weekly, and monthly supplementation of vitamin D in deficient patients was published by Takacs et al. They reported an equal efficacy of 1,000 IU taken daily, 7,000 IU taken weekly, and 30,000 IU taken monthly. Nevertheless, these consistent findings differ from the report by Chel et al., in which a daily dose was more effective than a monthly dose. In that study, the compliance calculation could be questionable since only random samples of the returned medications were counted. In a study by De Niet et al., 60 subjects with vitamin D deficiency were randomized to receive 2,000 IU vitamin D3 daily or 50,000 IU monthly. They reported a similar efficacy of the two dosing frequencies, with the monthly dose providing a more rapid normalization of vitamin D levels. Single-dose therapy
Alternatively, a single-dose therapy is used for instance if there are concerns regarding the patients compliance. The single-dose therapy can be given as an injection but is normally given in form of an oral medication. Vitamin D doses and meals
The presence of a meal and the fat content of that meal may also be important.