Incognito mode, known as Private Browsing in Mozilla Firefox, is a feature that allows users to browse the web without saving browsing history, cookies, search data, or temporary files on the device after the session ends.
Firefox supports enterprise policies that allow administrators and individual users to control browser behavior. One of these policies is called DisablePrivateBrowsing, which removes the ability to open Private Browsing windows.
When enabled, Firefox hides the New Private Window option from the browser menu and prevents users from accessing Private Browsing mode through keyboard shortcuts. This method is commonly used in homes, schools, libraries, and workplaces where browsing activity needs to remain visible.
Now, let’s learn to disable Incognito Mode in Firefox using a safe method.
Disclaimer: Before making any changes, ensure you are signed in with an account that has administrative privileges. Modifying the Windows Registry incorrectly can affect system settings, so follow each step carefully.
How to Disable Incognito Mode in Firefox?

Follow these steps to disable Incognito Mode in Firefox:
- Open the Run dialog box and launch the Registry Editor.
- Navigate to the Firefox policies location inside the Windows Registry.
- Create a new DWORD (32-bit) Value named DisablePrivateBrowsing.
- Set the value data to 1.
- Close the Registry Editor and restart Firefox.
- Verify that the New Private Window option is no longer available.
Disabling this policy prevents users from opening Private Browsing sessions in Mozilla Firefox.
Step 1: Open the Registry Editor
The first step is to access the Windows Registry, which stores configuration settings for both Windows and installed applications.
Go to Start > search for Run > then click the Run application. In the Run dialog box, type regedit and then press Enter. If a User Account Control prompt appears, click Yes to allow the Registry Editor to open.
Once the Registry Editor launches, you will see a folder-like structure on the left side of the window. These folders are known as registry keys and contain various system and application settings.
Take your time to become familiar with the interface. You do not need to modify anything yet. The goal of this step is simply to access the location where Firefox policies can be configured.
For beginners, it is important to understand that the Registry Editor acts like a central database for Windows. Any changes made here can affect software behavior, which is why you should only edit the keys mentioned in this guide.
Now that the Registry Editor is open, the next step is locating the Firefox policies section.
Go to HKEY_LOCAL_MACHINE > then SOFTWARE > then Policies.
Look for a folder named Mozilla. If you already see it, click on it and continue to the next part of the process.
If the Mozilla folder does not exist, you will need to create it manually. Go to Policies > then right click an empty area in the left panel > then select New > Key > then name the new key Mozilla.
After creating the Mozilla key, right-click the Mozilla folder > then select New > Key > then name it Firefox.
The final path should appear as:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox
This location is where Firefox reads administrative policies during startup. Any policy values added here can change browser functionality without requiring additional software or extensions.
Double-check the path before moving to the next step. Creating the keys in the correct location ensures Firefox can recognize the policy properly.
Step 3: Create the DisablePrivateBrowsing Policy
Once you are inside the Firefox key, you can create a setting that disables Private Browsing.
Go to Firefox > then right click in the space on the right side of the Registry Editor window > then select New > DWORD (32-bit) Value.
A new value will appear. Type DisablePrivateBrowsing as the name and press Enter.
Make sure the spelling matches exactly. Registry entries are sensitive to naming conventions, and even a small typo can prevent the policy from working correctly.
After creating the value, it will appear in the list of entries within the Firefox folder. At this stage, the policy exists but is not yet activated because it still requires a value assignment.
Creating this policy tells Firefox that an administrator wants to control access to Private Browsing mode. The next step activates that restriction.
Step 4: Enable the DisablePrivateBrowsing Setting
After creating the policy entry, you must configure its value.
Go to DisablePrivateBrowsing > then double click the entry > then locate the Value data field.
Enter 1 in the Value data box and then click OK.
A value of 1 means the policy is enabled. Firefox will interpret this as an instruction to disable Private Browsing functionality.
If the value is set to 0, or if the entry does not exist, Firefox will allow Private Browsing as normal.
After saving the value, you can see it displayed in the registry list. This confirms the setting has been successfully configured.
For most users, this is the most important step because it activates the restriction that prevents Private Browsing windows from being opened.
Step 5: Close the Registry Editor and Restart Firefox
With the policy configured, the final step is applying the changes.
Go to File > then Exit within the Registry Editor. Close any open Firefox windows.
After Firefox is completely closed, launch the browser again from the Start menu, desktop shortcut, or taskbar.
Firefox reads policy settings when it starts. Restarting the browser allows it to detect the new DisablePrivateBrowsing policy and apply the restriction automatically.
If Firefox was running while the registry change was made, the policy may not take effect until the browser is restarted.
In some cases, restarting Windows can also help ensure the policy is recognized correctly, although this is usually unnecessary.
Step 6: Verify That Incognito Mode Is Disabled
The last step is confirming that the policy works as intended.
Go to Firefox Menu > then check the available options.
Look for a New Private Window. If the policy was applied successfully, this option should no longer appear in the menu.
You can also try using the keyboard shortcut Ctrl + Shift + P. Firefox should prevent Private Browsing from opening.
For additional confirmation, type about:policies in the Firefox address bar and press Enter. Navigate to the Active Policies section and verify that DisablePrivateBrowsing appears in the list.
Seeing this policy listed confirms that Firefox has detected and applied the configuration correctly.
FAQs
Can Firefox disable Private Browsing without editing the Registry?
No. Firefox does not include a built-in toggle that disables Private Browsing. Windows users typically need to use registry-based policies or enterprise policy configurations.
Does disabling Private Browsing affect normal browsing?
No. Regular browsing continues to function normally. Only the ability to open Private Browsing windows is removed.
Can I re-enable Incognito Mode later?
Yes. Go back to the Registry Editor, locate the DisablePrivateBrowsing value, and either change its value data to 0 or delete the entry entirely. Restart Firefox afterward.
Does this method work on Windows 10 and Windows 11?
Yes. The registry-based policy works on both Windows 10 and Windows 11 systems running Mozilla Firefox.
Will this remove browsing privacy completely?
No. Disabling Private Browsing only prevents users from opening private sessions. Websites, internet service providers, employers, and network administrators may still collect data according to their own policies.
Is it safe to modify the Windows Registry?
Yes, when done carefully. Follow the instructions exactly and avoid changing unrelated registry entries.
How can I confirm that the policy is active?
Open Firefox and visit about:policies. If DisablePrivateBrowsing appears under Active Policies, the restriction is active.
Summary
Disabling Incognito Mode in Firefox requires configuring a browser policy through the Windows Registry. Since Firefox does not provide a direct setting for turning off Private Browsing, users must create the DisablePrivateBrowsing policy manually. The process involves opening the Registry Editor, navigating to the Firefox policy location, creating a DWORD value named DisablePrivateBrowsing, assigning it a value of 1, and restarting Firefox.
Once the policy is active, the New Private Window option disappears, preventing users from accessing Private Browsing mode. This approach is useful for parental supervision, workplace management, educational environments, and situations where maintaining a browsing history is important. By following the steps outlined above, even beginners can successfully disable Incognito Mode in Firefox and manage browser behavior more effectively.