Firefox normally asks before a website can show notifications, so unexpected alerts can mean a permission was already accepted. Review the website entry, block it, pause Firefox notifications, or change the global default.
Start in Firefox Settings under Privacy and security and Permissions. The exact labels vary slightly between builds, so use the permission panel to check the site and confirm that notifications are blocked.
In this guide, I have covered:
Contents
Block the website sending notifications
Firefox normally asks before a website can show notifications. If alerts appear without a prompt, the site may already have permission for this Firefox profile.
- Open the Firefox menu
menu and select Settings. - Select Privacy and security.
- Find the Permissions group.
- Select Notifications.
- Find the website that is sending the unwanted alerts.
- Change that site’s notification permission to Never or the blocking option shown by Firefox.
Some builds label the Permissions group Permissions and data. You can also open the permissions page directly by entering about:preferences#permissions in the Firefox address bar.
Use the permissions control for the current site
If the unwanted notifications come from a site you currently have open, use the permissions control in the address bar. It is the quickest way to review that site’s access.
- Open the website that is sending notifications.
- Select the permissions icon on the left side of the Firefox address bar.
- Find Notifications in the permissions panel.
- Change the permission to Never or the option that blocks notifications.
If you do not see a permissions icon, open the Firefox menu
menu and select Settings, then open Privacy and security, Permissions, and Notifications.
Use the newer notification settings page
Recent Firefox builds are adding a dedicated website-notifications page. Its labels are different, but it offers more control than the standard permission panel.
- Open Settings, then Privacy and security.
- Find the Permissions group.
- Select Notifications.
- Select Manage notification settings or Manage website notification settings.
- Use the Search websites box to find the website sending alerts.
- Set Allow notifications to Never.
The three permission states are Always, Allow, and Never. With Always, a site can deliver notifications while Firefox is closed. Never blocks them.
If you do not see Manage notification settings, your Firefox build does not have the dedicated page enabled yet. Use the Notifications row instead.
Pause notifications until Firefox restarts
Firefox can stop website notifications temporarily without changing each site’s permission.
- Return to Permissions in Firefox Settings.
- Turn on Pause notifications until Firefox restarts.
- Restart Firefox when you want website notifications to resume.
The pause does not change the permission saved for each website.
Change the default notification permission
To block notifications for sites that have not received a specific permission, change the global default in Firefox’s advanced settings.
- Enter about:config in the Firefox address bar.
- Accept the warning on the advanced configuration page.
- Search for permissions.default.desktop-notification.
- Double-click the preference.
- Set the value to 2 to block notifications by default.
The value 0 asks before sending notifications, and 1 allows them without asking. A site with its own saved permission can still keep its own setting.
ALERT: Changing the global default affects all sites without a specific permission. It does not remove a permission already saved for a website.
Check whether an extension controls the setting
An extension can control Firefox’s notification permission setting. If the setting looks managed or changes without your input, check the permissions panel for a notice that names an extension.
- Open Settings, then Privacy and security.
- Find the Permissions group.
- Select Notifications.
- Look for a message stating that an extension controls the setting.
- If the message appears, review that extension from Firefox’s add-ons manager.
Disabling the extension may restore Firefox’s normal notification controls. If you do not need that extension, use the related guide to disable Firefox extensions on Computer.
Notification permissions apply to one profile
Firefox stores website permissions separately for each profile. Blocking a site in your main profile does not necessarily block it in another profile. The global notification default applies only to this device and is not synchronized.
Temporary notification permissions expire after one hour. If a site starts prompting again later, check whether its permission was temporary and decide whether to allow or block it again.
Frequently Asked Questions
How do I stop a specific site from sending Firefox notifications?
Open Firefox Settings, go to Privacy and security, then open the Permissions group and select Notifications. Find the website and set its permission to Never or the blocking option shown by your build.
Why did Firefox allow notifications without asking?
The default is to ask before a website can send notifications. A prompt may have been accepted earlier, an extension may control the permission, or the website may already have a saved permission.
Can I block all website notifications in Firefox?
Yes. Set permissions.default.desktop-notification to 2 in about:config. This blocks sites that do not have a specific permission, while existing site permissions may remain in effect.
Does blocking a website in one Firefox profile affect other profiles?
No. Website permissions are stored separately for each Firefox profile. Check every profile you use if the same site continues to send alerts.
Does pausing Firefox notifications remove site permissions?
No. Pausing notifications stops them until Firefox restarts. The permission for each website remains saved and applies again after the restart.
