Mode
Text Size
Log in / Sign up

Can a smartphone app accurately predict when my migraine attacks will happen?

moderate confidence  ·  Last reviewed May 15, 2026

Migraine attacks often happen without warning, making it hard for patients to start preventive treatments on time. Researchers have tested whether smartphone apps using daily diary entries can forecast these attacks. The short answer is that they can offer a probabilistic forecast, but the accuracy is currently modest.

What the research says

A study using electronic diaries found that a model could predict the occurrence of a headache attack within 24 hours with an accuracy score of 0.59. This score, known as the area under the curve, indicates the model performs only slightly better than chance. The study also noted that the model's predictions were often not well calibrated to the actual risk 4.

Another study tested the feasibility of using smartphones to track symptoms and cognitive function for 30 days. This approach successfully gathered data from hundreds of participants who completed daily assessments. While this proves the technology works for data collection, the specific ability to predict the exact timing of an attack based on this data remains limited in current models 5.

Research into brain activity using fMRI shows that migraine brains have different patterns of complexity compared to healthy brains. These patterns change during attacks, suggesting that biological signals do shift before or during pain. However, translating these complex brain signals into a simple smartphone app prediction is still a major challenge 7.

What to ask your doctor

  • Do you recommend using a specific migraine prediction app to help me time my preventive medication?
  • How accurate are the prediction models currently available for my specific type of migraine?
  • Can we try a digital diary to see if my personal triggers help improve prediction accuracy?
  • What are the signs I should watch for that might indicate an attack is coming soon?

This question is drawn from common patient questions about this topic and answered using cited medical research. We do not provide individualized advice.