Timer ends while tab is hidden: what to do
Find out why a browser timer may be late or silent in a hidden tab, how to check its alerts, and when to use a device alarm instead.
You start a timer, switch to another tab, and the alert does not arrive when you expect. Sometimes the countdown looks frozen until you return to it. This can happen because a browser handles hidden pages differently from the page in front of you.
Use the Timer & Stopwatch to try a short countdown and find out whether the delay happens only when the tab is hidden, or when the computer is asleep too. Then check the browser and device settings that can block alerts.
Test the timer in a hidden tab
- Open Timer & Stopwatch, set a one-minute timer, and start it.
- Switch to another browser tab without closing the timer page. Wait for at least one minute, then return to the timer.
- Check whether the countdown reached zero and whether you heard a sound or saw an alert. If the page offers sound or notification options, note whether they are enabled.
- Repeat the test with the computer plugged in and awake. Do not put it to sleep during this first test.
For a longer countdown, test once with the screen awake and once with the device locked or asleep. Change only one condition at a time so you can tell what caused the difference. If you need to leave a long timer unattended, see what to check before leaving a long countdown unattended.
What the result means
The timer reaches zero and alerts normally
The hidden tab is working for this short test. Keep the browser open and make sure the device stays awake for the real countdown. A short test cannot guarantee that a much longer timer will survive a browser update, a device sleep, or a browser clearing a tab from memory.
The display catches up when you return
The browser may have reduced how often it updates the hidden page. The countdown display can look paused, then update when the page becomes active again. Some timers also rely on regular background updates, which may be delayed. If the alert matters, do not assume the visible countdown is proof that the page will run continuously in the background.
The countdown ends, but there is no sound or notification
The timer may have finished while the browser or operating system blocked its alert. A notification can require permission, and sound can be muted at the browser, device, or tab level. A finished countdown with no alert is different from a countdown that has not advanced.
The timer only fails when the device sleeps
Sleep pauses or limits browser activity. A web page cannot reliably wake a sleeping computer just to play an alarm. Use the built-in Clock or alarm app for a countdown that must continue while the device is asleep.
How to make a hidden-tab timer more reliable
- Keep the device awake. For a timer you need to hear, keep the computer awake and the browser open. On a laptop, connect power if its battery settings put it to sleep quickly.
- Check the browser tab's sound. Make sure the tab is not muted and the browser's sound is not turned down in the system volume controls. If the timer has a sound option, enable it before starting.
- Allow notifications if the page uses them. Click the site controls icon beside the address bar and check whether notifications are allowed for the page. Only enable them if the timer offers notifications and you want them.
- Check system notifications. On Windows 11, open Settings › System › Notifications and check that notifications are on and the browser is allowed to send them. On macOS, open System Settings › Notifications, select your browser if it appears, and allow notifications. On a phone, check the browser's notification permission in the device settings, if the browser supports notifications for the page.
- Turn off battery restrictions for the test. Battery saver or power-saving settings can limit background activity. On Windows 11, check Settings › System › Power & battery. On macOS, check System Settings › Battery. Temporarily disable power saving and repeat the one-minute test.
- Keep the browser running. Do not close the window or quit the browser. If your browser has a memory-saving feature that unloads inactive tabs, turn it off for the timer page or keep that page active.
Why a hidden tab can behave differently
Browsers reduce work for pages you cannot see. They may run page timers less often to save battery and processor time, and a mobile device may suspend a browser when you switch apps or lock the screen. The delay can affect the countdown display, an alert, or both, depending on how the page and browser handle time in the background.
A browser timer is best for tasks where a small delay is acceptable and the device will stay awake. For medication, cooking that needs close attention, travel departures, or any other time-sensitive task, set a separate alarm on your phone or another device. A browser page cannot guarantee an alarm while its device is asleep.
