User Agents

Web browsers and everyday web tech, explained

Always Open Edge in Private Browsing Mode

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to make Microsoft Edge always start in InPrivate browsing mode, so your history, cookies, and site data are not saved after you close the window. You'll need a Windows PC or Mac with Microsoft Edge installed. No other tools are required.

What You'll Need

  • Microsoft Edge installed (any recent version).
  • Administrator rights on your computer (only if you choose the registry method for Windows).

Step-by-Step

  1. Create a desktop shortcut (if you don't have one): Find Edge in your Start menu (Windows) or Applications folder (Mac). Right-click it and select "Send to > Desktop (create shortcut)" on Windows, or hold Option and drag it to the desktop on Mac.
  2. Open the shortcut's properties: Right-click the Edge shortcut on your desktop and select "Properties" (Windows) or "Get Info" (Mac).
  3. Add the InPrivate flag: In the "Target" field (Windows) or "Target" field in the Info panel (Mac), go to the very end of the text. Add a space, then type -inprivate. For example, the target should look like: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -inprivate (your path may differ). On Mac, the target field is in the "General" section of Get Info; you may need to click the lock to edit it.
  4. Apply and test: Click "Apply" then "OK" (Windows) or close the Info window (Mac). Double-click the shortcut. Edge should open with an "InPrivate" indicator in the top-right corner (a blue circle with a person icon).
  5. Replace the original shortcut (optional): If you want the taskbar or Start menu to also open InPrivate, you can pin this modified shortcut to the taskbar or Start menu. Right-click the desktop shortcut and select "Pin to taskbar" or "Pin to Start".
  6. For Windows: Use a registry tweak (advanced): If you want Edge to always open InPrivate even when launched from other places (like links in emails), you can modify the registry. Press Win + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge. If the Edge key doesn't exist, right-click on "Microsoft" and select New > Key, then name it "Edge". Inside the Edge key, right-click and select New > DWORD (32-bit) Value. Name it InPrivateModeAvailability. Set its value to 1 (which forces InPrivate mode). Click OK and restart Edge. This forces all Edge windows to open in InPrivate. To undo, delete the value or set it to 0.

Common Mistakes

  • Typo in the flag: The flag is -inprivate (all lowercase, with a single hyphen). If you use a capital letter or an extra space, it won't work.
  • Editing the wrong shortcut: If you edit the shortcut in the Start menu, it may not affect the desktop shortcut. Always edit the shortcut you actually use.
  • Quotes around the path: If the path to msedge.exe contains spaces, you must keep the quotes around the path. The flag goes outside the closing quote, after a space.
  • Registry value type: In the registry, you must create a DWORD (32-bit) Value, not a String or QWORD. Using the wrong type will cause the setting to be ignored.

Tips

  • Pin the modified shortcut: After editing the desktop shortcut, pin it to the taskbar or Start menu. Then you can delete the original desktop shortcut if you prefer.
  • Use a separate shortcut for normal mode: If you sometimes need regular browsing, create a second shortcut without the -inprivate flag and name it "Edge Normal".
  • Keyboard shortcut: You can also press Ctrl + Shift + N while in Edge to open a new InPrivate window, but this doesn't change the default behavior.
  • Check the indicator: Always look for the "InPrivate" badge in the top-right corner to confirm you're in private mode. If you don't see it, the flag didn't work.

Troubleshooting

  • Edge still opens normally: Double-check the target field for a space before -inprivate. Also, make sure you're using the shortcut you edited, not the original from the Start menu.
  • The flag is there but it doesn't work: Some versions of Edge may ignore the flag if the shortcut is pinned to the taskbar. Unpin it, then re-pin the modified shortcut. Also, try restarting Edge completely (close all windows) before testing.
  • Registry setting not working: Ensure you are in the correct registry path. The policy may require a restart of Edge and possibly the computer. Also, verify that the value is set to 1 (not 0).
  • Mac version doesn't have a Target field: On Mac, the flag can be added in the "Target" field within Get Info. If you can't edit it, you can use the terminal: create a copy of the Edge app, then open it with open -a "Microsoft Edge" --args -inprivate as a workaround, but this is less convenient.

Frequently Asked Questions

Will this affect my saved passwords and bookmarks?

No. InPrivate mode does not save browsing history, cookies, or form data, but it does not delete your existing bookmarks, saved passwords, or settings. Those remain intact.

Can I still download files in InPrivate mode?

Yes, you can download files, but they will be saved to your normal download folder. The download history will be cleared when you close the InPrivate window.

Does InPrivate mode hide my activity from my internet service provider?

No. InPrivate mode only prevents Edge from storing local data on your device. Your ISP, employer, or websites can still see your traffic.

Will extensions work in InPrivate mode?

By default, extensions are disabled in InPrivate mode. You can enable them by clicking the puzzle icon in the toolbar and toggling "Allow in InPrivate".

How do I turn off the forced InPrivate mode if I used the registry method?

Go back to the registry key, either delete the InPrivateModeAvailability value or set it to 0, then restart Edge.

Can I set InPrivate as the default for links from other apps?

Yes, the registry method forces all Edge windows to open in InPrivate, including those launched from external links. The shortcut method only affects that specific shortcut.