package icon

Megrim: Migraine Log

Private, offline migraine log with automatic on-device pattern insights.
New in version 1.0.7
• New: optional app lock with your phone's fingerprint, face or PIN (Settings › Privacy). Adds two Android permissions, unused unless it's on.
• New: migraine days per month, in Analytics and the PDF report.
• New: long-press the icon → Log migraine.
• Fixed: Android backup now includes your diary.
• Suspected factors are more accurate: each migraine counts once, on its first day, and pressure is compared fairly. Your odds ratios will change.
Smart migraine tracking that stays on your device.

Megrim is an open-source, offline-first migraine diary that helps you find your personal triggers. The app automatically adds time-of-day, season, daylight, and moon context to your entries — and, if you opt in, local weather and barometric pressure — calculating correlations entirely on your phone. With no accounts, no cloud servers, and zero tracking, your health data stays completely private and under your control.

What's inside:

* Automatic on-device enrichment — daylight hours, time of day, season, and moon phase computed locally; opt in to add local weather and barometric-pressure change (24h/48h). No manual entry.
* Real personal analytics — migraine days per month (the last 30 days, a 3-month average and a monthly chart), trends by day-of-week, time-of-day, season, daylight, pressure change, and moon phase, plus a "suspected factors" card that uses odds ratios over your own log.
* Fast logging — one tap starts a migraine, or long-press the app icon and choose "Log migraine".
* Your data stays yours — on-device storage only, with full export and import (JSON and CSV), a printable PDF report for your doctor, and an optional backup reminder.
* Optional app lock — open Megrim with your phone's own fingerprint, face or PIN, and hide it in the recent-apps switcher.
* No accounts, no servers, no telemetry — by default the app makes no automatic network requests (the only exception is the place-name search you type when setting your home location). Weather enrichment is opt-in; when enabled, the only network request is to Open-Meteo.com, to fetch weather for the approximate (~1 km rounded) location and date of the entries you create.
* Free and open source (GPL-3.0-or-later).

Megrim is a personal diary and is NOT a medical device. It does not diagnose, treat, cure, or prevent any condition. "Suspected factors" are statistical associations in your own log — association is not causation. Always consult a qualified healthcare professional.

Weather data by Open-Meteo.com.

Versions

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 1.0.7 (123) suggested Added on Oct 12, 2026

    x86_64

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • use biometric hardware
      Allows the app to use biometric hardware for authentication
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 25 MiB PGP Signature | Build Log

  • Version 1.0.7 (122) - Added on Oct 12, 2026

    arm64-v8a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • use biometric hardware
      Allows the app to use biometric hardware for authentication
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 24 MiB PGP Signature | Build Log

  • Version 1.0.7 (121) - Added on Oct 12, 2026

    armeabi-v7a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • use biometric hardware
      Allows the app to use biometric hardware for authentication
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 22 MiB PGP Signature | Build Log

  • New in version 1.0.6
    • New: Export report (PDF) — a printable summary of your diary to hand to a clinician, built on your device and never uploaded.
    • New: an optional backup reminder. Settings shows when you last exported, and can warn you after 7, 14, 30 or 90 days.
    • Once the reminder is on, the Log screen shows a small green or orange backup indicator.
  • Version 1.0.6 (113) - Added on Oct 08, 2026

    x86_64

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 24 MiB PGP Signature | Build Log

  • Version 1.0.6 (112) - Added on Oct 08, 2026

    arm64-v8a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 23 MiB PGP Signature | Build Log

  • Version 1.0.6 (111) - Added on Oct 08, 2026

    armeabi-v7a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 21 MiB PGP Signature | Build Log

  • New in version 1.0.5
    • The Recorded location picker now offers your last 3 locations, so logging an entry away from home is one tap (thanks @zatteo).
    • New on Analytics: "Away from home" — how many entries you recorded more than 100 km from your home location, and where.
    • "Travel" is now one of the default suspected triggers.
  • Version 1.0.5 (103) - Added on Oct 02, 2026

    x86_64

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 22 MiB PGP Signature | Build Log

  • Version 1.0.5 (102) - Added on Oct 02, 2026

    arm64-v8a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 21 MiB PGP Signature | Build Log

  • Version 1.0.5 (101) - Added on Oct 02, 2026

    armeabi-v7a

    This version requires Android 8.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.maegley.megrim.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 19 MiB PGP Signature | Build Log