AlarmClock.liveYOUR TIME. YOUR SPACE.
Browser reliability

Will an online alarm ring when a laptop is closed?

Understand the difference between a dark display, a hidden browser tab, and a sleeping laptop before relying on an online alarm.

By Ed Vaquerano · Published September 22, 2026 · Practical product guide

Open the alarm clock

Do not rely on an online alarm to ring after closing a laptop. Closing the lid often puts the computer to sleep, and a sleeping system may suspend the browser before the alarm can run. The alarm time remaining on a page is not proof that the browser can wake the device.

Three states that can look similar

StateWhat it means for the alarm
Display is dim or offThe computer may still be running, but you must test your specific power settings.
Browser tab is in the backgroundThe browser can delay or suspend work. Returning may update the display without proving the sound played on time.
Computer is asleep or shut downThe web page cannot be relied upon to execute the alarm.

The laptop’s operating system, battery mode, and external-display setup determine what closing the lid does. There is no universal browser switch that makes every closed laptop safe for alarms.

A practical desktop setup

  1. Keep the laptop open and connected to power when a longer session requires it.
  2. Set the alarm, then play a test sound through the intended speakers.
  3. Use the homepage’s Keep screen awake option and check whether it reports Active.
  4. Review your device’s sleep settings for the duration of the session. Do not assume fullscreen changes those settings.
  5. Leave the page open and set a separate native alarm for an important deadline.

Wake Lock is a request to keep a visible page’s screen awake. It can be unavailable or released by the browser. It is not permission to override a closed lid, force a sleeping operating system to run, or continue after a shutdown.

How to test without risking a deadline

Use a near-term trial while you are present. First confirm that the alarm rings with the page visible. Next try your intended normal setup, such as another application in front. Record whether the alert arrives on time and through the expected speakers. If a change makes the result unreliable, return to a visible page or use a native alarm.

A successful two-minute test is useful evidence about that setup, not an overnight guarantee. Power-saving rules can change with inactivity and battery state. Recheck after operating-system or browser updates.

If you need the lid closed

Choose an alarm that is designed to operate under your device’s supported sleep conditions, or use a separate phone or alarm clock. Keep the web clock for the visible desk display and active work sessions. See the full reliability guide for related cases, including screen locks and discarded tabs.

Sources and further reading

These sources explain the underlying browser or data behavior. The setup examples above describe AlarmClock.live.

Continue exploring

Browse all guides · Choose a countdown · Browser reliability

Found a step that no longer matches your browser? Send us a correction.

Ed Vaquerano is the independent creator and operator of AlarmClock.live in California, US. Read the editorial policy or send a correction.