How to Disable Incognito Mode in Chrome, Firefox & Edge
In this article
Disabling incognito (private browsing) mode in Chrome, Firefox, or Edge is done through your computer's registry or group policy settings, not through the browser's own menus. This is useful for parents, employers, or anyone who wants to ensure browsing history is always recorded. The methods below work on Windows 10 and 11; Mac users have a separate (but simpler) approach using Terminal commands.
What You'll Need
- Windows 10 or 11 (for the registry/group policy methods)
- Administrator account access on the computer
- For Mac: Terminal app (found in Utilities)
- A backup of your registry (optional but recommended)
Step-by-Step
Disable Incognito in Chrome (Windows)
- Press Windows + R, type
regedit, and press Enter. Click "Yes" if prompted by User Account Control. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome. If the "Chrome" key doesn't exist, right-click on "Google" and choose New > Key, then name it "Chrome". - Right-click in the right pane, select New > DWORD (32-bit) Value, and name it
IncognitoModeAvailability. - Double-click the new value, set its data to
1, and click OK. (Value 1 disables incognito; 0 enables it; 2 forces incognito mode.) - Close Registry Editor and restart Chrome. Incognito will no longer appear in the menu, and Ctrl+Shift+N will be ignored.
Disable InPrivate in Edge (Windows)
- Open Registry Editor again (Windows + R, type
regedit). - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge. Create the "Edge" key if needed (right-click on "Microsoft" > New > Key). - Right-click in the right pane, select New > DWORD (32-bit) Value, and name it
InPrivateModeAvailability. - Set its value to
1and click OK. - Restart Edge. The InPrivate option will be greyed out or hidden, and Ctrl+Shift+N won't work.
Disable Private Browsing in Firefox (Windows)
- Firefox uses a different method. Open Registry Editor.
- Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox. Create the "Mozilla" and "Firefox" keys if they don't exist. - Right-click in the right pane, select New > DWORD (32-bit) Value, and name it
DisablePrivateBrowsing. - Set its value to
1and click OK. - Restart Firefox. The "New Private Window" option will be disabled.
Alternative for Windows Pro/Enterprise: Group Policy
- Press Windows + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration > Administrative Templates > Google Chrome (or Microsoft Edge).
- Find the policy named "Incognito mode availability" (Chrome) or "InPrivate browsing availability" (Edge).
- Double-click it, select Enabled, and choose "Disable incognito mode" from the dropdown.
- Click OK and restart the browser.
Disable Private Browsing on Mac (All Three Browsers)
- Open Terminal (Finder > Applications > Utilities).
- For Chrome, enter:
defaults write com.google.chrome IncognitoModeAvailability -integer 1 - For Edge, enter:
defaults write com.microsoft.edgemac InPrivateModeAvailability -integer 1 - For Firefox, enter:
defaults write org.mozilla.firefox DisablePrivateBrowsing -bool true - Press Enter after each command, then restart the browser.
Common Mistakes
- Wrong registry path: Using the browser's own settings instead of the policy keys. These policies only work under the "Policies" hive.
- Typo in the value name: For example, typing "IncognitoMode" instead of "IncognitoModeAvailability". The exact name matters.
- Not restarting the browser: Changes take effect only after a full restart, not just closing and reopening the window.
- Forgetting to set value to 1: Leaving it as 0 or not setting it at all will keep incognito enabled.
Tips
- Before editing the registry, export the key you're modifying (right-click > Export) to create a backup you can restore if needed.
- These changes apply to all users on the computer. If you want to restrict only certain users, use the Group Policy editor under "User Configuration" instead.
- If you later want to re-enable incognito, simply delete the DWORD value you created (or set it to 0) and restart the browser.
- On Mac, you can revert by running the same command with
-integer 0or-bool false.
Troubleshooting
If the incognito option still appears after following the steps:
- Double-check the registry path and value name. A single typo will prevent the policy from being read.
- Ensure you're editing the correct hive. Use
HKEY_LOCAL_MACHINEfor system-wide changes (affects all users). If you usedHKEY_CURRENT_USER, it only applies to your account. - Some browsers may cache policies. Restart the computer if a simple browser restart doesn't work.
- If you're using a managed device (work/school), group policies from your organization may override your local changes. In that case, you'll need to contact your IT admin.
- For Firefox, if the policy doesn't work, ensure you're using the correct key name:
DisablePrivateBrowsing(with capital D and B).
Frequently Asked Questions
Can I disable incognito mode without registry editing?
On Windows Home, registry editing is the only built-in method. On Pro/Enterprise, you can use Group Policy Editor. There's no toggle in the browser settings.
Will this affect browser extensions or other features?
No, it only disables the private browsing mode. All other features remain unchanged.
Can I re-enable incognito later?
Yes, simply delete the DWORD value you created (or set it to 0) and restart the browser. On Mac, run the command with 0 or false.
Does this work on mobile browsers?
No, these methods are for desktop versions only. Mobile browsers don't support registry or group policy changes.
Will this prevent someone from using a different browser?
No, it only affects the specific browser you edited. A person could still use another browser with private mode unless you disable it there too.
Is it possible to force incognito mode instead of disabling it?
Yes, in Chrome and Edge, set the DWORD value to 2 instead of 1. This forces the browser to always open in incognito/InPrivate mode.