sodcalculator

10 Tech How-To

Stop iTunes Auto-Opening on iOS Links

Guide 10-54592 · Updated · Step by step

This guide shows you how to stop iTunes from automatically launching whenever you click a link that points to an iOS app, music, or other Apple media. The fix involves changing your browser’s default behavior and, in some cases, tweaking a system setting so that these links open in a web page instead of the desktop app.

What You’ll Need

  • Access to your web browser’s settings (Chrome, Firefox, Edge, or Safari on a Mac)
  • Administrator rights on your computer (for some system-level changes on macOS)
  • About 5 minutes of time

Step-by-Step

For Google Chrome on Windows or Mac

  1. Open Chrome and click the three-dot menu in the top-right corner.
  2. Select Settings from the dropdown menu.
  3. Scroll down and click Privacy and security in the left sidebar.
  4. Click Site Settings.
  5. Scroll to the bottom and click Additional permissions.
  6. Look for an entry labeled Protocol handlers or Handlers. Click it.
  7. You will see a list of protocols and the apps they open. Find itms, itms-apps, or itmss.
  8. Click the three-dot menu next to the iTunes entry and choose Remove or Reset.
  9. Close the settings tab. Now, clicking an iOS link should prompt Chrome to ask what to do, or it will simply show the link as a web page.

For Mozilla Firefox on Windows or Mac

  1. Open Firefox and type about:config in the address bar. Press Enter.
  2. Click Accept the Risk and Continue if a warning appears.
  3. In the search box at the top, type network.protocol-handler.external.itms.
  4. If the preference exists, double-click it to set its value to false. This tells Firefox not to hand off itms links to an external app.
  5. If it does not exist, click the + button (Add) and create a new boolean preference with that exact name, then set it to false.
  6. Repeat the same for network.protocol-handler.external.itms-apps and network.protocol-handler.external.itmss if they appear.
  7. Restart Firefox. iOS links will now open as regular web pages instead of launching iTunes.

For Microsoft Edge on Windows or Mac

  1. Open Edge and click the three-dot menu in the top-right corner.
  2. Select Settings.
  3. Click Cookies and site permissions in the left menu.
  4. Scroll down and click Protocol handlers.
  5. Find any entries for iTunes or itms protocols. Click the trash icon or the three-dot menu and select Remove.
  6. Close the settings tab. Edge will now treat iOS links as normal URLs.

For Safari on macOS

  1. Open Safari and click Safari in the menu bar at the top of the screen.
  2. Select Settings (or Preferences in older macOS versions).
  3. Click the Websites tab.
  4. In the left sidebar, look for Protocol handlers or External apps.
  5. You may see a list of websites that have requested to open iTunes. Remove any entries by selecting them and clicking the minus (–) button.
  6. Additionally, go to Apple menu > System Settings (or System Preferences on older macOS).
  7. Click Desktop & Dock (or General in older versions).
  8. Look for a setting called Default web browser and ensure it is set to Safari. This does not directly stop iTunes, but it resets the association.
  9. Close System Settings. Test by clicking an iOS link in Safari.

Alternative: Use a Browser Extension or Bookmarklet

  1. If the above steps do not work, install a browser extension that blocks external protocol handlers. Search your browser’s extension store for “block protocol handlers” or “open itms links in browser”.
  2. Alternatively, use a bookmarklet that redirects itms links to the iTunes web preview page. You can create a bookmark with the following JavaScript code (replace URL with the actual link): javascript:location.href='https://itunes.apple.com/search?term='+encodeURIComponent(location.href). This is a workaround, not a perfect fix.

Common Mistakes

  • Only clearing the cache: Clearing your browser cache does not remove protocol handler associations. You must go into the specific settings as described above.
  • Forgetting to restart the browser: Some changes, especially in Firefox, only take effect after a full restart. Closing and reopening the window is not enough.
  • Editing the wrong preference name: In Firefox, the preference must be typed exactly as shown. A typo like network.protocol-handler.external.itms-app (missing the final “s”) will not work.
  • Assuming the fix is global: Each browser has its own protocol handler settings. If you use both Chrome and Firefox, you must apply the fix in both.
  • Removing the handler but not resetting it: In Chrome, simply removing the entry may not be enough if the browser still remembers the last choice. Use the “Reset” option if available.

Tips

  • After making changes, test with a known iOS link, such as an App Store app page. Search for any app on the web and click the “View in iTunes” or “Download” link.
  • If you want to keep the ability to open iTunes manually, you can still do so by right-clicking the link and selecting “Copy Link Address”, then pasting it into iTunes’ “Open URL” feature (File > Open URL).
  • On Windows, you can also check the default apps settings: go to Settings > Apps > Default apps, scroll down to “Choose default apps by protocol”, and look for itms, itmss, or itms-apps. Change them to “Choose a default” or a web browser.
  • If you use a third-party browser like Opera or Brave, the settings are usually similar to Chrome. Look for “Site Settings” or “Privacy and security” in the preferences.
  • Consider using the iTunes web player (music.apple.com) for music links. It works in any browser and does not require the desktop app.

Troubleshooting

If iTunes still opens after following the steps, try these additional fixes:

  • Check for other browsers: If you clicked the link from an email client or a messaging app, that app may have its own protocol handler settings. For example, Outlook on Windows may have its own association. Check the default apps settings in Windows or the app’s own preferences.
  • Reset the browser’s settings entirely: In Chrome, go to Settings > Reset and clean up > Restore settings to their original defaults. This will remove all protocol handlers, but also resets your homepage and search engine.
  • Uninstall and reinstall iTunes: On Windows, iTunes may have registered itself as the handler in the registry. Uninstalling it (or just the “Apple Application Support” component) can break the association. Reinstall it later if needed, but do not click “Set as default” during installation.
  • Use the Registry Editor (Windows only, advanced users): Press Win+R, type regedit, and navigate to HKEY_CLASSES_ROOT\itms and HKEY_CLASSES_ROOT\itms-apps. Delete these keys, but back them up first by right-clicking and selecting Export. This is a last resort and should be done carefully.
  • Check for a corporate policy: If you are on a work computer, group policy may force iTunes to be the handler. Contact your IT department.

Frequently Asked Questions

Why does iTunes open when I click a link to an app in the App Store?

Websites use special URL protocols (itms-apps, itms) to trigger the iTunes app. Your browser is configured to hand these protocols to iTunes automatically. Changing the handler setting stops this behavior.

Will this affect my ability to download apps from the App Store on my iPhone?

No. This only affects your computer’s desktop browser. Your iPhone or iPad will still open the App Store normally when you tap a link.

Can I make links open in the iTunes web player instead?

Yes, but it requires a browser extension or a userscript that rewrites the URL. For example, you can use an extension that redirects itms links to music.apple.com or the App Store web page.

I use Safari on a Mac, but the steps don’t work. What else can I try?

On macOS, Safari may still pass the link to iTunes if the “Default web browser” setting is not Safari. Also, check if you have a third-party app like “Choosy” that manages protocol handlers. You may need to remove that app or reconfigure it.

Does this work on mobile browsers like Safari on iPhone?

No. On iOS, tapping a link to an app store always opens the App Store app. There is no way to change that behavior on a non-jailbroken iPhone.

Will uninstalling iTunes stop the auto-open?

Yes, but that also removes the ability to sync your iPhone or play purchased music on your computer. It is a drastic solution. The browser settings fix is safer and reversible.

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 →