Android reliability

Phone Restarted? "Unlock to Receive Alarms" Explained

A restart arrow beside the headline: phone restarted, alarm stayed silent — next to Beyond Alarm's reliability screen.

If your alarm didn't go off after a restart, the phone was still locked. Most alarm apps can't set alarms until the first unlock. Beyond Alarm can: it re-arms every alarm the moment the phone boots, so it rings on time even if nobody has unlocked.

The short version:

  • Beyond Alarm rings after an overnight restart with no unlock needed, and re-arms its alarms after app updates too.
  • A restart doesn't delete your alarms. It stops most apps setting them until the first unlock.
  • The usual culprit is an automatic restart at night — an overnight system update or a scheduled restart in the phone's maintenance settings.
  • Many third-party alarm apps don't work before unlock. Check yours with the two-minute test at the end.

"You need to unlock it before you can receive alarms" — what it means

If your phone says "After your phone restarts, you need to unlock it before you can receive notifications and alarms from" an app, take it literally. That app keeps its alarm list in storage that stays locked after a restart until your first unlock, so until then it can't ring.

You have two fixes: unlock once after every restart, or use an alarm app that works before the first unlock. Beyond Alarm is built for that, so it rings on time even on a locked phone straight after a restart.

Why a restart silences alarms

Android has two kinds of app storage. Normal storage stays encrypted after a restart until you enter your PIN, pattern or fingerprint for the first time. A second, smaller area is available straight away. Google calls the time before that first unlock Direct Boot, and names alarm clocks as one of the apps that need to plan for it.

Android also doesn't remember an app's scheduled alarms across a restart. Every alarm app has to set them again when the phone boots. If its alarm list sits in normal storage, it can't read that list, and so can't set anything, until you unlock.

So the phone restarts at 3am, stays on the lock screen, and a 7am alarm in that app never gets set. Unlock at 7:40 and everything looks fine again, which is why this is so confusing to diagnose.

Which case did you hit?

What happened What Beyond Alarm does What many third-party alarm apps do
Restarted overnight, still locked at alarm time Rings on time — the alarm list is kept in the storage Android allows before unlock Silent until you unlock
Restarted overnight, unlocked before alarm time Already set before you unlocked Alarms set again at unlock
The app was updated overnight Re-armed immediately; nothing rings for the update itself Alarms dropped until the app is opened, in some apps
Phone restarted while the alarm was ringing Switching off mid-ring counts as stopping it; upcoming alarms are set again at boot. The power-off guard makes the power menu hard to reach mid-ring in the first place The ring is gone
Phone was off when the alarm was due Not rung late when the phone comes back on — an 8:20 alarm at 8:30 is a surprise, not a help Missed

The first row is the one that matters most. We built Beyond Alarm to keep its alarm list in the storage Android allows before unlock. So the alarms are set again the moment the phone boots, locked or not.

Switching the phone off mid-ring counts as stopping the alarm, on purpose. An alarm that comes back from the dead mid-morning is more alarming than useful. Instead, Beyond Alarm's power-off guard makes the power menu hard to reach while it rings — that's covered here.

Beyond Alarm's "No deleting. No escape." settings — the protections that make it harder to escape a ringing alarm.
Beyond Alarm's "No deleting. No escape." settings — the protections that make it harder to escape a ringing alarm.
Beyond Alarm's reliability screen, which flags the settings that stop an alarm ringing.
Beyond Alarm's reliability screen, which flags the settings that stop an alarm ringing.

Beyond Alarm

Beyond Alarm does this part for you: the alarm will not switch off until you have actually moved, and the apps you pick stay locked afterwards.

Why your phone restarts at night

Most people who hit this didn't restart anything. The phone did. The two usual reasons:

  1. A system update installed overnight. Phones often offer to install updates at night, and the restart that follows leaves the phone locked.
  2. A scheduled automatic restart. Several manufacturers include one in the phone's maintenance or device care settings, often set for the small hours.

Neither is harmful on its own. Together with a third-party alarm, they are the single most common reason an alarm "randomly" doesn't ring.

How to stop it happening

  1. Check for a scheduled restart. Look in your phone's device care, maintenance or battery settings for an automatic restart, and either turn it off or move it to the afternoon.
  2. Install updates when you're awake. Choose "install now" in the day instead of "install tonight" on nights before an early alarm.
  3. Keep the app from being stopped. A restart isn't the only way an alarm dies — on Xiaomi, vivo, OPPO and realme, battery management can stop the app outright. The per-manufacturer settings are here.
  4. Check Do Not Disturb. Make sure alarms are allowed through it, or they can ring silently — here's what to check.
  5. Use an alarm app built for Direct Boot. Beyond Alarm re-arms its alarms before the first unlock, so an overnight restart can't silence it.

Beyond Alarm is built for exactly this. It rings after an overnight restart without waiting for an unlock, re-arms after app updates, and its reliability screen checks the settings that decide whether an alarm can ring at all — exact alarms, notifications, battery optimisation, alarm volume — with a Fix button beside each one.

Test it once

Set an alarm for five minutes from now, restart the phone, and don't unlock it. If the alarm stays silent until you unlock, your app has the gap described above. Switch to Beyond Alarm and run the test again: it rings on the lock screen, on time.

Common questions

What does "after your phone restarts, you need to unlock it before you can receive notifications and alarms" mean?

The app named in the message keeps its data in storage that Android keeps locked after a restart until your first unlock. Until you unlock, that app can't set or ring its alarms. Unlock once after any restart, or use an alarm built for Direct Boot, such as Beyond Alarm, which rings before the first unlock.

If my phone restarts, will my alarm still go off?

Google's own Clock and apps built for Direct Boot, such as Beyond Alarm, still ring while the phone sits locked after a restart. Many other third-party alarm apps stay silent until you unlock. If the phone is switched off, no alarm app can ring.

Why does my alarm work after I unlock the phone, but not before?

After a restart, Android keeps each app's normal storage encrypted until the first unlock. An app that keeps its alarm list there cannot read it, and so cannot set the alarm, until you unlock. Apps built for Direct Boot can do a little before that, from a separate storage area.

Which alarm apps ring before the first unlock?

Apps built for Direct Boot. Beyond Alarm keeps its alarm list in the storage Android allows before unlock, so it sets your alarms again the moment the phone boots. Apps never updated for Direct Boot stay silent until you unlock.

My phone restarted by itself at night. Why?

The two usual causes are a system update installing overnight and a scheduled automatic restart in the phone's maintenance settings. Both leave the phone locked afterwards, which is exactly the case that silences third-party alarms.

What happens if the phone restarts while the alarm is ringing?

It depends on the app. Beyond Alarm treats switching the phone off mid-ring as stopping that alarm, so it does not start ringing again when the phone boots. Your upcoming alarms are set again straight away, before you unlock.

Beyond Alarm

We build Beyond Alarm, the alarm for Android and iPhone that will not switch off until you have actually moved, then blocks the apps that pull you back. Most of what we write here comes out of building it.

Beyond Alarm

An alarm that keeps ringing until you’ve actually moved — then blocks the apps that pull you back to bed. Free to start, no account.