There aren’t any specific foods known to trigger nightmares or night terrors. However, eating meals late at night can upset your stomach and put stress on your body, and this can lead to nightmares or terrors. Heavy, salty, spicy, or sweet foods are common culprits to indigestion and heartburn, including dairy, candy, or fast food. If you’re hungry and want a snack before bed, a light, high-carb food such as crackers is a good option.