Guides

Web push notifications not showing? 12 fixes

Work through these checks in order. The first five fix most cases and need no code.

Short answerMost missing notifications are blocked by the operating system (Focus, Do Not Disturb, or the browser turned off in system notification settings), not by the website. Then check the site permission in the browser, that the browser is running, that you aren’t in a private window, and that the service worker is registered and serving JavaScript.

Start by sending yourself a test with the push tester. If that test doesn’t arrive either, the cause is your browser or operating system (checks 1 to 7). If the tester works but your site’s notifications don’t, the cause is on the site (checks 8 to 12).

Browser and operating system checks

1. The operating system is blocking the browser

This is the most common cause. The browser can have permission while the OS silently hides its notifications.

  • Windows 11: Settings, then System, then Notifications. Make sure notifications are on, and that your browser is listed and switched on. Turn off Do Not Disturb.
  • macOS: System Settings, then Notifications. Find Chrome, Firefox, Edge or Safari and allow notifications, with the style set to Banners or Alerts. Turn off Focus.
  • Android: Settings, then Apps, then your browser, then Notifications. Check that both the app and the site’s notification category are allowed.
  • iPhone: push only works from a Home Screen web app on iOS 16.4+. See the iOS guide. Also check Focus modes.

2. The site is blocked in the browser

Click the icon to the left of the address bar and check that Notifications is set to Allow. In Chrome you can also open chrome://settings/content/notifications and look for the site under “Not allowed”. Once blocked, a site can’t show its prompt again until you change this.

3. Quiet notification permission prompts

Chrome may collapse a site’s permission request into a small bell icon in the address bar instead of a pop-up, especially for sites where many people click Block. Nothing is broken; the visitor just didn’t see the request. A soft prompt before the browser’s box helps (why).

4. Private window or guest profile

Incognito, Guest and private windows don’t keep push subscriptions. Test in a normal window.

5. The browser isn’t running

On desktop, notifications only arrive while the browser process is running (it can be in the background with no windows open). On Windows, Chrome’s “Continue running background apps when Google Chrome is closed” setting controls this. Messages sent while the browser is closed are delivered when it starts, unless they have expired.

6. Battery saving on Android

Aggressive battery optimisation on some Android phones stops the browser in the background. Set the browser’s battery usage to Unrestricted or Not optimised.

7. Notifications arrive but disappear

On Windows and macOS, banners vanish after a few seconds and go to the notification centre. If you want them to stay on screen, set the browser’s notification style to Alerts (macOS) or keep them in the action centre (Windows).

Website-side checks

8. The service worker isn’t registered or fails

In Chrome DevTools, open Application, then Service workers. The worker should show as activated and running. Common failures:

  • The file returns an HTML page (a 404 or redirect) instead of JavaScript. Open its URL directly and check.
  • The file is served with the wrong MIME type. It must be text/javascript or application/javascript.
  • The worker lives in a subfolder, so its scope doesn’t include the page that subscribes.
  • Two service workers compete for the same scope. Merge them with importScripts().

9. The push event doesn’t show a notification

In the service worker, showNotification() must run inside event.waitUntil(). If the promise is missing or throws (for example on invalid JSON), Chrome may show “This site has been updated in the background” or nothing. See the working example.

10. The VAPID keys don’t match

If you regenerated keys or switched provider, old subscriptions reject pushes signed with the new key (Chrome’s push service returns HTTP 403). Use the original key pair, or have visitors subscribe again. VAPID keys explained.

11. The subscription expired

Push services return 404 or 410 for subscriptions that no longer exist: the visitor cleared site data, uninstalled the browser, or revoked permission. A good sender deletes these automatically. SuperWicket does, and marks them in the delivery log.

12. The message expired before delivery

Each push has a time-to-live (TTL). If the device stays offline longer than the TTL, the push service drops the message. For time-sensitive news a short TTL is right; for reminders, use a longer one.

Reading the delivery log

StatusMeaningWhat to check
Sent, never displayedThe push service accepted it; the device didn’t show itChecks 1, 5, 6 and 9
ExpiredThe device didn’t come online before the TTLCheck 12
Failed 404 / 410The subscription is goneNothing; it is removed automatically
Failed 403VAPID key mismatchCheck 10
Displayed, not clickedIt workedThe message, timing or audience

SuperWicket records “displayed” when your service worker shows the notification, which is why it can separate check 1 problems from check 10 problems. See delivery log and analytics.

Frequently asked questions

Why do I get web push on desktop but not on my phone?

On Android, check that Chrome’s notifications are allowed in system settings and that battery saving isn’t closing the browser. On iPhone, push only works after adding the site to the Home Screen on iOS 16.4 or later.

Do web push notifications work in Incognito?

No. Chrome Incognito, Guest profiles and Firefox private windows don’t keep push subscriptions.

Why did notifications stop after I changed push provider?

Each subscription is tied to the VAPID key pair it was created with. If the new provider uses different keys, old subscriptions can’t receive messages until visitors subscribe again, or until you import the old key pair.

How can I test whether my browser can receive push?

Use the free SuperWicket push tester. It subscribes your browser and sends a real push, so you can tell a browser problem from a website problem.

Try it on your own site

The Free plan has no time limit and needs no card. Add one script tag, or share a hosted subscribe page if you can’t upload files.