Yes, sunscreen reduces vitamin D production because it blocks UVB rays needed for the skin to produce vitamin D. It's important to balance sun protection with adequate vitamin D intake from food or supplements.