Illustration of a silent web push notification, a muted notification bell on a laptop screen Illustration of a silent web push notification, a muted notification bell on a laptop screen

Can You Send a Silent Web Push Notification?

Can you send a silent web push notification? Why browsers need a visible notification, how silent: true works, and what to use instead.

No, not in the way mobile apps can. Chrome, Edge, Firefox and Safari expect every web push message to show a visible notification, and Chrome requires userVisibleOnly: true when you subscribe. You can make a silent web push notification that plays no sound with silent: true, but it still appears on screen.

“Silent push” means two different things, and that’s where most of the confusion starts. On iOS and Android apps, a silent push wakes the app in the background without showing anything. On the web, browsers deliberately don’t allow that. Here’s what you can and can’t do, why browsers block invisible pushes, and what to use instead.

Key facts at a glance:

  • Invisible push isn’t supported. Chrome only accepts subscriptions created with userVisibleOnly: true, per the web.dev guide to subscribing a user.
  • Chrome shows a fallback notification (“This site has been updated in the background”) if a push arrives and your service worker doesn’t display one.
  • Safari can revoke the subscription if pushes repeatedly arrive without a visible notification, as the WebKit team explains in Meet Web Push for Safari.
  • Quiet is possible. The silent: true option shows the notification without sound or vibration where the browser supports it.

Can you send a silent web push notification?

You can send a quiet web push notification, but not an invisible one. Every push that reaches the browser must end with your service worker calling showNotification(). What you can control is whether that notification makes noise.

So it helps to separate the two meanings:

What people mean by “silent push”Possible on the web?How
No sound or vibration, still visibleYes, in browsers that support the optionsilent: true in showNotification()
Invisible background wake-up, nothing shownNoNot allowed by Chrome, Safari or Edge
Quietly replace an older notificationYesSame tag with renotify: false
Sync data in the background without a pushPartlyBackground Sync or Periodic Background Sync APIs

Why do browsers require a visible notification?

Browsers require a visible notification so sites can’t run code in the background without the user knowing. A push message wakes your service worker even when the tab is closed. Without a visible-notification rule, any site you once allowed could track activity or use battery silently.

That’s why the Push API’s subscribe() method takes the userVisibleOnly option. The MDN PushManager.subscribe() reference describes it as a promise that every push will result in a notification the user can see. Chrome rejects subscriptions where it’s set to false. In short, the notification is the price of being allowed to wake up.

What happens if your service worker doesn’t show a notification?

If a push arrives and your service worker doesn’t show a notification, the browser steps in. Chrome displays its own generic notification, usually reading “This site has been updated in the background”. That message confuses subscribers, so it’s worth fixing quickly.

Safari is stricter. WebKit has said that if a site receives pushes without showing notifications, Safari can revoke its push subscription. Firefox has historically used a quota for pushes that don’t show notifications. Either way, the result is the same: invisible pushes cost you subscribers.

Common causes I look for:

  1. The push handler doesn’t call event.waitUntil() around showNotification(), so the browser thinks nothing was shown.
  2. The payload fails to parse, and the code exits before showing anything.
  3. A condition in your code skips the notification, for example “don’t show if a tab is already open”.
  4. An error in the service worker stops the push handler early.

Here’s the safe pattern. It always shows something, even when the payload is broken:

self.addEventListener('push', (event) => {
  let data = {};
  try { data = event.data ? event.data.json() : {}; } catch (e) {}

  event.waitUntil(
    self.registration.showNotification(data.title || 'New update', {
      body: data.body || 'Tap to see what is new.',
      icon: data.icon,
      silent: data.silent === true, // quiet, but still visible
      data: { url: data.url || '/' }
    })
  );
});

How do you make a web push notification quiet?

Set silent: true in the options you pass to showNotification(). The notification still appears, but the browser asks the operating system to skip sound and vibration. Support varies: Chrome and Edge honour it, while other browsers may ignore the option and follow system settings.

Quiet notifications suit low-priority updates, for example a daily digest or a “new post published” alert sent late in the evening. My post on web push notification sound explains why you can’t choose a custom sound either, and why the system sound is the only option.

You can also reduce noise with the tag option. A new notification with the same tag replaces the old one in the notification tray. With renotify left false, the replacement happens without a fresh sound or vibration.

What can you use instead of a silent background push?

If you need background work rather than a notification, use an API built for it. Push is designed for user-visible messages, so forcing it to do background sync usually breaks.

GoalBetter optionNotes
Send queued form data when the user is back onlineBackground Sync APIChromium browsers; check MDN Background Sync
Refresh content on a schedulePeriodic Background Sync APIChromium only, needs an installed web app
Update data while the page is openWebSocket, Server-Sent Events or pollingWorks in every modern browser
Tell users something changedA normal, visible web pushKeep it short and relevant

For most websites, the honest answer is to send fewer, better notifications rather than trying to make them invisible. If people find pushes annoying, they unsubscribe; my post on why push subscribers unsubscribe covers the usual reasons.

Does iPhone web push support silent notifications?

No. Web push on iPhone and iPad works only for sites added to the Home Screen on iOS 16.4 or later, and Apple applies the same visible-notification rule as Safari on macOS. A push that doesn’t show a notification counts against the site. Silent background pushes remain a native-app feature on iOS.

If iPhone users aren’t getting your notifications at all, the cause is usually setup rather than silence. My guide to getting web push working on iPhone walks through the Home Screen requirement step by step.

Where LaraPush fits

LaraPush is a self-hosted web push panel that you run on your own VPS, sold as a one-time licence from $499 (check LaraPush pricing). It sends standard, visible web push campaigns through Firebase Cloud Messaging, with a title, message, image, icon, link and up to two CTA buttons. It doesn’t offer invisible background pushes, because browsers don’t allow them. Scheduling and segmentation help you send fewer, better-targeted messages instead; see the features page. The trade-offs are no free plan and a server you maintain. For other options, see my roundup of the best push notification services and tools.

Frequently asked questions

What does “This site has been updated in the background” mean?

It’s Chrome’s fallback notification. It appears when a push message reaches your service worker but your code doesn’t show a notification in time. Make sure the push handler wraps showNotification() in event.waitUntil() and always shows something, even if the payload fails to parse.

Can I set userVisibleOnly to false?

Not in Chrome or Edge. They reject push subscriptions unless userVisibleOnly is true, and Safari applies the same visible-notification rule. The option exists in the Push API specification, but in practice every major browser expects each push to show a notification the user can see.

Does silent: true work in every browser?

No. Chrome and Edge honour silent: true and show the notification without sound or vibration. Other browsers may ignore the option and follow the operating system’s notification settings. In every case, the notification itself is still shown, so silent only controls noise, not visibility.

Can web push update my site’s data in the background?

Not reliably, and not invisibly. Each push must show a notification, so it’s a poor tool for background updates. Use the Background Sync or Periodic Background Sync APIs in supporting browsers, or update data with WebSockets or polling while the page is open.

Will Safari unsubscribe users if I send silent pushes?

It can. WebKit has said Safari may revoke a site’s push subscription if push messages repeatedly arrive without a visible notification. To stay safe, show a notification for every push your service worker receives, and handle parse errors with a fallback message.

Leave a Reply

Your email address will not be published. Required fields are marked *