Certain foods can cause migraines, while others can prevent or even treat them. Physicians Committee research published in the Journal of Headache and Pain found that a plant-based diet reduces migraine pain. The severity of participants’ worst headache pain improved significantly when they were consuming a plant-based diet. The decline in migraine pain may have been due to the elimination of dietary pain triggers such as meat and dairy products or by weight loss or hormonal changes brought on by the diet change.

The first step in tackling your migraines is to check whether any of the common triggers are causing them. To do this, you simply avoid these foods. At the same time, include generous amounts of pain-safe foods in your routine and see whether migraines occur, and, if so, how often.

Here is how to start with anti-migraine foods. For two weeks:

Have an abundance of foods from the pain-safe list. Avoid the common triggers completely. Foods that are not on either list can be eaten freely.

If your diet change makes your headaches disappear or become much less frequent, the next step is to confirm which foods are your triggers. To do this, simply reintroduce the eliminated foods one at a time, every two days, to see whether any symptoms result.