The exact cause is not known, but several factors contribute. These include pregnancy, hormonal drugs such as the contraceptive pill, and very occasionally medical conditions affecting hormone levels. Some cosmetics, especially those containing perfume, can bring on melasma. There is research to suggest that it can be triggered by stress. Sunshine and the use of sun-beds usually worsen any tendency to melasma.