sodcalculator

10 Tech How-To

Auto Start Browser in Incognito Mode

Guide 10-36652 · Updated · Step by step

This guide shows you how to make your browser open directly in incognito or private mode every time you launch it. This is useful for keeping browsing history, cookies, and site data from being saved on a shared computer, or for testing websites without cached data. You’ll need access to your browser’s shortcut properties (Windows) or terminal commands (Mac), and a few minutes to set it up.

What You’ll Need

  • A Windows PC or Mac with your preferred browser installed (Chrome, Edge, Firefox, or Safari).
  • Administrator rights on your computer (usually not required, but helpful if you want to change the default app).
  • For Windows: ability to edit shortcut properties (right-click menu).
  • For Mac: access to Terminal (for Safari) or the ability to edit app shortcuts (for Chrome/Edge/Firefox).

Step-by-Step

Google Chrome (Windows)

  1. Right-click the Chrome desktop shortcut (or the icon in the taskbar, then right-click and select “Properties”). If you don’t have a desktop shortcut, create one by finding Chrome in the Start menu, right-clicking it, and choosing “Send to > Desktop (create shortcut)”.
  2. In the “Properties” window, go to the “Shortcut” tab.
  3. In the “Target” field, you’ll see something like "C:\Program Files\Google\Chrome\Application\chrome.exe".
  4. Add a space and then -incognito at the end of the text, outside the closing quote. It should look like: "C:\Program Files\Google\Chrome\Application\chrome.exe" -incognito.
  5. Click “Apply” and then “OK”. If prompted for administrator permission, click “Continue”.
  6. Double-click the shortcut to test it. Chrome should open directly in an incognito window (look for the “Incognito” icon in the top-right corner).

Microsoft Edge (Windows)

  1. Right-click the Edge desktop shortcut and select “Properties”. If no shortcut exists, create one from the Start menu.
  2. Go to the “Shortcut” tab.
  3. In the “Target” field, you’ll see something like "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe".
  4. Add a space and then -inprivate at the end, outside the closing quote. Example: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -inprivate.
  5. Click “Apply” and “OK”. Test the shortcut – Edge should open an InPrivate window.

Mozilla Firefox (Windows)

  1. Right-click the Firefox desktop shortcut and select “Properties”.
  2. Go to the “Shortcut” tab.
  3. In the “Target” field, you’ll see something like "C:\Program Files\Mozilla Firefox\firefox.exe".
  4. Add a space and then -private-window at the end. Example: "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window.
  5. Click “Apply” and “OK”. Test it – Firefox should open in a private window.

Google Chrome (Mac)

  1. Open Finder and go to Applications.
  2. Right-click Google Chrome and select “Duplicate”. This creates a copy you can modify without affecting the original.
  3. Right-click the duplicate and select “Show Package Contents”.
  4. Navigate to Contents/MacOS and you’ll see a file named “Google Chrome”.
  5. Right-click that file and select “Make Alias”. This creates a shortcut you can drag to your desktop.
  6. Rename the alias to something like “Chrome Incognito”.
  7. Right-click the alias and select “Get Info”.
  8. In the “General” section, click the “Open with” dropdown and select “Other…”.
  9. Navigate to /Applications/Utilities/Terminal.app and select it.
  10. Now, when you double-click the alias, it will open Terminal. You need to edit the alias to run a command instead. Right-click the alias and select “Show Original” to see the original file.
  11. Actually, the simpler method is to use a small script. Open TextEdit, create a new document, and paste this:
#!/bin/bash
open -a "Google Chrome" --args -incognito
  1. Save it as chrome-incognito.command on your Desktop.
  2. Open Terminal and type chmod +x ~/Desktop/chrome-incognito.command and press Enter.
  3. Double-click the .command file to launch Chrome in incognito mode. You can keep this file on your Dock or Desktop.

Safari (Mac)

  1. Safari does not have a simple command-line flag to start in private mode by default. However, you can use AppleScript to do it.
  2. Open Script Editor (in Applications/Utilities).
  3. Paste this AppleScript:
tell application "Safari"
    activate
    make new document with properties {URL:"about:blank"}
end tell
  1. Save it as an application (File > Export, format: Application). Name it “Safari Private”.
  2. Now, you need to make Safari open a private window. The above script just opens a window, but you can use a keyboard shortcut. Instead, use this script:
tell application "Safari"
    activate
    tell application "System Events" to keystroke "n" using {command down, shift down}
end tell
  1. Export as an application. When you run it, it will open a new private window in Safari.
  2. For a more permanent solution, you can set Safari to always open a private window by changing the default behavior. Go to Safari > Settings > General and set “Safari opens with” to “A new private window”. This works if you want all launches to be private.

Common Mistakes

  • Adding the flag inside the quotes: The command-line flag must be outside the closing quotation marks of the executable path. If you put it inside, Windows won’t recognize it.
  • Using the wrong flag: Each browser uses a different flag. Chrome uses -incognito, Edge uses -inprivate, Firefox uses -private-window. Using the wrong one will be ignored.
  • Editing the wrong shortcut: If you have multiple shortcuts (taskbar, Start menu, desktop), you need to edit the one you actually use. The taskbar icon may not share the same properties as the desktop shortcut.
  • Not testing after editing: Always test the shortcut after making changes. If it doesn’t work, double-check the exact syntax.

Tips

  • Create a separate shortcut for incognito mode and keep your normal shortcut unchanged. This gives you the best of both worlds.
  • On Windows, you can pin the incognito shortcut to the taskbar for quick access.
  • If you’re using a shared computer, consider using a browser profile instead of incognito mode. Profiles keep your bookmarks and extensions separate, and you can lock them with a password.
  • Some browsers have a setting to always start in private mode (e.g., Firefox’s “Never remember history” option). Check your browser’s privacy settings for a built-in option.

Troubleshooting

  • The flag doesn’t work: Make sure you’re using the exact flag for your browser version. Also, check that the shortcut path is correct – if the browser is installed in a different location, the target will be wrong.
  • The browser opens normally: Double-check that the flag is placed correctly (outside quotes) and that you saved the changes. Try restarting your computer if it still doesn’t work.
  • Windows says “The name specified in the Target box is not valid”: This usually means the path to the executable is wrong. Go to the actual installation folder (e.g., C:\Program Files\Google\Chrome\Application) and verify the file name.
  • Mac script doesn’t run: If you created a .command file and it doesn’t work, make sure it’s executable (chmod +x) and that you’re double-clicking it, not the original app.
  • Browser updates reset the shortcut: Some browser updates may change the shortcut properties. If this happens, simply reapply the flag.

Frequently Asked Questions

Can I make my browser always start in incognito mode without a shortcut?

Yes, some browsers have a built-in setting. In Firefox, go to Settings > Privacy & Security and under “History”, select “Never remember history”. In Chrome, you can set the startup behavior to open a specific page, but not directly incognito – the shortcut method is the most reliable.

Will this affect my bookmarks or saved passwords?

No. Incognito mode does not save browsing history, cookies, or form data, but it does not delete your bookmarks, saved passwords, or downloaded files. Those remain intact.

Can I use this method on a Chromebook?

Chromebooks don’t have traditional shortcuts. You can press Ctrl+Shift+N to open an incognito window, but there’s no way to make it the default on launch.

Does this work for all browsers?

The shortcut method works for Chrome, Edge, Firefox, and Opera (using -private). Safari doesn’t support command-line flags, but you can use the AppleScript method or change the startup setting.

Is incognito mode completely private?

No. Incognito mode prevents your browser from saving history, cookies, and form data on your device, but your internet service provider, employer, or websites themselves can still track your activity. For true anonymity, use a VPN and consider privacy-focused browsers.

Can I have both a normal and an incognito shortcut?

Absolutely. Keep your original shortcut for normal browsing, and create a second one with the flag for incognito. This is the recommended approach for flexibility.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →