Exposure to sunlight is a remedy recommended for a number of skin conditions, including eczema and psoriasis. Medical experts believe that spending a little time in the sunshine may also be beneficial in treating dandruff [source: Mayo Clinic]. But as treatments go, this one can be a little tricky because too much exposure to the sun's ultraviolet rays can damage the skin and lead to skin cancer. In fact, it takes only a few minutes for the sun to start damaging your skin [source: Skin Cancer Foundation]. Therefore, you should spend only brief amounts of time in the sun as a treatment -- sunbathing isn't recommended. In addition, you should be sure to protect the rest of your body with clothing and sunblock.
Another caution: Some anti-dandruff treatments, such as coal tar shampoo, can increase your scalp's sensitivity to UV light. So, if you're currently using any anti-dandruff treatment, you should check to see whether it mentions sun sensitivity as a precaution. If so, you may need to avoid exposure to the sun, tanning booths and sun lamps.
As you'll see in our next section, the great outdoors and indoors have a bigger effect on your dandruff than you might think.