It can be used for both. Also consider Ease Plus for migraines. My clinical tip is to try Griffonex 5-HTP symptomatically for migraines. If it doesn’t work, consider Ease Plus or Coptis Purge Fire if liver fire. Griffonex 5-HTP would be a preventative for someone who tends to be anxious or depressed and also gets frequent migraines. I also believe that it works more on the spleen and Ease Plus works on the liver.