A vitamin D deficiency can affect both physical and mental health, but many people have low levels of vitamin D without realizing. The physical symptoms of a deficiency may include muscle pain in the joints, including rheumatoid arthritis (RA) pain, which often occurs in the knees, legs, and hips.