How to schedule local notifications in your Expo app, in short
Run npx expo install expo-notifications. Call Notifications.setNotificationHandler once at startup so notifications are shown while the app is open. Ask for permission with Notifications.requestPermissionsAsync(). On Android, create a channel with Notifications.setNotificationChannelAsync('reminders', { name: 'Reminders', importance: Notifications.AndroidImportance.HIGH }). Then schedule: await Notifications.scheduleNotificationAsync({ content: { title: 'Time to stretch', body: 'Two minutes, then back to it.' }, trigger: { type: Notifications.SchedulableTriggerInputTypes.DAILY, hour: 9, minute: 0, channelId: 'reminders' } }).
A local notification is one your app schedules on the device itself. No server, no push token, no backend job. That makes it the right tool for anything the phone already knows about: a habit reminder at 9am, a workout timer, a "your trial ends tomorrow" nudge, a study streak. If the trigger is something that happens on a server, like a new message, you want push instead, which our guide to adding push notifications to your Expo app covers.
Every trigger type at a glance
The trigger decides when the notification fires. You pass an object with a type from Notifications.SchedulableTriggerInputTypes, or null to show it right away. Picking the wrong one is the most common reason a reminder fires once and never again.
expo-notifications schedulable triggers
| Trigger type | Fields | Use it for |
|---|---|---|
| null | None | Show the notification immediately |
| TIME_INTERVAL | seconds, repeats | "In 25 minutes" timers, or repeating every N seconds. On iOS a repeating interval must be at least 60 seconds |
| DATE | date (a Date or a timestamp) | One exact moment, like the day before a trial ends. repeats is ignored |
| DAILY | hour, minute | A reminder at the same time every day |
| WEEKLY | weekday, hour, minute | Weekly check-ins. weekday runs 1 to 7, and 1 is Sunday |
| MONTHLY | day, hour, minute | Monthly reviews or bill reminders |
| YEARLY | day, month, hour, minute | Birthdays and anniversaries. month uses JavaScript Date ranges, so January is 0 |
| CALENDAR | Any mix of date components, repeats | iOS only. Matches date components directly |
One detail catches people: date components are validated, and an out-of-range value like minute: 60 throws an error instead of quietly rolling over. Wrap your scheduling call in a try and catch so a bad value from a settings screen does not crash the flow.
Step 1: Install the library and set a notification handler
Run npx expo install expo-notifications. Then, near the top of your app, set the handler that decides what happens when a notification fires while your app is open:
scheduleNotificationAsync only schedules the notification. Whether it is presented while the app is in the foreground is up to this handler. It has 3 seconds to respond, and if it does not, the notification is shown anyway. Until you set a handler at all, a notification is shown with a banner, in the notification list, with a sound and with its badge. Older tutorials use shouldShowAlert, which is now deprecated in favor of shouldShowBanner and shouldShowList.
Step 2: Ask for permission and create an Android channel
Notifications need the user's permission. Notifications.requestPermissionsAsync() asks to show alerts, set the badge and play sounds by default. iOS does not need a usage description string for this. The timing matters more than the call: ask when the user turns on a reminder, not on first launch. Our guide to requesting permissions in your Expo app covers the pattern.
On Android, create your channel before you ask. Since Android 8.0, every notification belongs to a channel, and the user controls sound, vibration and visibility per channel in system settings. On Android 13, the permission prompt does not appear until your app has created at least one channel. If you never create one, expo-notifications makes a fallback channel called Miscellaneous, which is a poor label for a reminder the user might want to keep.
- name and importance are required when you create a channel. Name it for what the user will see in settings, like Daily reminders.
- After a channel is created, you can only change its name and description. Everything else, like importance and sound, stays as it was first set, so decide it before your first release. If you need different behavior, create a new channel ID.
- Use separate channels for separate jobs, like reminders and timers. Users can then mute one without losing the other.
- Pass channelId in the trigger so the notification lands in the right channel. On iOS the calls are a no-op, so the same code runs on both platforms.
Step 3: Schedule, list and cancel notifications
scheduleNotificationAsync resolves to a string identifier. Keep it. It is the only handle you have for cancelling that one notification later. For a habit app, I store it next to the reminder in local storage, keyed by the reminder's own ID.
| Function | What it does |
|---|---|
| scheduleNotificationAsync({ content, trigger }) | Schedules one notification and resolves to its identifier |
| cancelScheduledNotificationAsync(identifier) | Cancels one scheduled notification. Resolves fine if the ID does not exist |
| cancelAllScheduledNotificationsAsync() | Cancels everything your app has scheduled |
| getAllScheduledNotificationsAsync() | Lists what is currently scheduled, useful for debugging and for rebuilding your schedule |
| getNextTriggerDateAsync(trigger) | Returns the next fire time as a Unix timestamp in milliseconds, or null if it will never fire |
- When the user changes a reminder time, cancel the old identifier first, then schedule the new one. Skipping the cancel is how users end up with two reminders a day.
- When the user turns reminders off or logs out, call cancelAllScheduledNotificationsAsync. A reminder from a signed-out account looks like a bug.
- On app start, compare getAllScheduledNotificationsAsync with what your app thinks is scheduled, and fix any drift. It is cheap and catches the bugs you did not think of.
- Before you show a "next reminder at" label, ask getNextTriggerDateAsync instead of doing the date maths yourself.
Why reminders arrive late on Android
This is the part that sends people to Stack Overflow. Starting with Android 12, scheduling a notification at an exact time needs the SCHEDULE_EXACT_ALARM permission declared in your app. Android 14 and later deny that permission by default for newly installed apps. Without it, scheduled notifications still fire, but at an approximate time, which can mean minutes late.
- Declare android.permission.SCHEDULE_EXACT_ALARM in the android.permissions array of your app config, then make a new build.
- Check the state with Notifications.getExactAlarmPermissionsAsync(). It has no user-facing effect.
- If it is denied and exact timing really matters, call Notifications.requestExactAlarmPermissionsAsync(). It opens the system settings screen and resolves when the user comes back. It rejects if you never declared the permission.
- If the user revokes the permission on that screen, Android restarts your app and the promise never resolves. Check getExactAlarmPermissionsAsync again on the next launch.
- Alarm clock, timer and calendar apps can declare USE_EXACT_ALARM instead on Android 13 and later, which is granted without a prompt. Google Play's policy restricts it to those app categories, so do not reach for it in a habit tracker.
Wall-clock triggers like DATE, DAILY and WEEKLY also take an Android-only delivery option. The default, bestEffort, delivers at the requested time on most devices, but some manufacturer builds of Android defer these by minutes to save battery. alarmClock uses Android's alarm clock API, which is not deferred for battery, and shows an alarm icon in the status bar until it fires. It needs the exact alarm permission, and without it the notification quietly falls back to bestEffort. Keep alarmClock for things that are genuinely time-critical, like medication reminders.
Why your scheduled notification is not showing
| Symptom | Most likely cause |
|---|---|
| Nothing appears while the app is open | No notification handler, or the handler returns false for shouldShowBanner and shouldShowList |
| A repeating iOS reminder never fires | TIME_INTERVAL with repeats: true and fewer than 60 seconds |
| Reminder fires once and never again | DATE trigger used for a repeating reminder. DATE ignores repeats, so use DAILY or WEEKLY |
| Android reminders are several minutes late | No exact alarm permission on Android 12 and later, or a manufacturer build deferring bestEffort alarms |
| No permission prompt on Android 13 | No notification channel was created before asking |
| Changed a channel's sound and nothing happened | Android locks channel settings after creation. Only name and description can change |
| Users get duplicate reminders | The old identifier was not cancelled before scheduling the new time |
| Scheduling throws an error | A date component is out of range, such as minute 60, or month 12 with January counted as 0 |
Have Claude Code build the reminder flow for you
Open your project in the Claude Code desktop app and describe the whole feature, including where the schedule lives and when it gets cleared:
Then test the edges by hand: deny permission and check the app still works, change the time twice and confirm only one reminder is scheduled, restart the phone, and log out. Test Android on a real device, since timing differs between manufacturers. Add a line to your CLAUDE.md such as "Reminders: only src/lib/reminders.ts schedules or cancels notifications" so a later session does not add a second scheduler somewhere else.
The short version
Scheduling local notifications in Expo is one library and one function call. The care goes into the parts around it: a handler so notifications show while the app is open, a well-named Android channel created before the permission prompt, the right trigger type, one module that owns the schedule, and an honest plan for exact timing on Android. Get those right and your reminders show up when the user asked for them, which is the whole point.
If you are building your first iOS app with Claude Code and Expo and want help getting features like this right before launch, bring it to App Store Launch Club. Members share their builds and help each other get unstuck, and the curriculum covers the full path from first build to first users. Pair this with our guides to setting the app icon badge count, adding push notifications and running background tasks in your Expo app. Join at applaunchclub.co for $9 a month.
Short, practical drops on app ideas, validating fast, store listings, and passing app review. No spam, unsubscribe anytime.
Frequently asked questions
How do I schedule a local notification in Expo?
Install expo-notifications, set a notification handler, request permission, and on Android create a notification channel. Then call Notifications.scheduleNotificationAsync with a content object (title, body) and a trigger, such as { type: Notifications.SchedulableTriggerInputTypes.DAILY, hour: 9, minute: 0 }.
How do I schedule a daily notification in Expo?
Use a DAILY trigger: { type: Notifications.SchedulableTriggerInputTypes.DAILY, hour, minute }. It fires once per day when the hour and minute match. Do not use a DATE trigger for this, because DATE fires once and ignores repeats.
Do local notifications work in Expo Go?
Yes. Remote push notifications are not available in Expo Go on Android since SDK 53, but local notifications are still available in Expo Go.
How do I cancel a scheduled notification in Expo?
scheduleNotificationAsync resolves to an identifier. Pass it to Notifications.cancelScheduledNotificationAsync(identifier) to cancel that one notification, or call cancelAllScheduledNotificationsAsync() to cancel everything your app has scheduled.
Why are my scheduled notifications late on Android?
On Android 12 and later, exact timing needs the SCHEDULE_EXACT_ALARM permission, and Android 14 denies it by default for new installs. Without it, notifications arrive at an approximate time. Some manufacturer builds also defer the default bestEffort delivery by minutes. Check getExactAlarmPermissionsAsync and, if exact timing matters, ask with requestExactAlarmPermissionsAsync.
Why does my repeating notification not fire on iOS?
A TIME_INTERVAL trigger with repeats: true must be at least 60 seconds on iOS, otherwise the notification is not triggered. For reminders at a fixed time of day, use a DAILY or WEEKLY trigger instead.
Last reviewed by David on November 27, 2026


