Nightmares can be triggered by many factors, including: Stress or anxiety. Sometimes the ordinary stresses of daily life, such as a problem at home or school, trigger nightmares. A major change, such as a move or the death of a loved one, can have the same effect.