How to Stop Browsers Opening App Store on macOS?

Abstract: Resolve macOS browsers opening the App Store by resetting LaunchServices via Terminal to fix incorrect protocol associations.

Created: 2026-09-26 by

Stop browsers from opening the App Store on macOS by resetting your default handler for the app-store:// protocol. This issue typically stems from an accidental selection in a system dialog or corrupted preference files rather than a complex permission error. You can resolve it by using Terminal commands to clear the associated LaunchServices cache, forcing the system to revert to its standard behavior.

Understanding the Root Cause

The problem occurs because macOS uses a system-wide registry called LaunchServices to determine which application should open specific types of content. When you click a link that triggers the App Store, the browser sends a request using the app-store:// URL scheme. If you previously encountered a dialog asking "Do you want to change the default applications settings?" and clicked "Continue" or similar, you inadvertently told macOS that the App Store is the preferred handler for this specific protocol.

This is not a security feature or a malicious action by the browser. It is a user-assigned preference stored in the system database. Many users report this happening after updating macOS or installing new software that registers itself as a handler for various web links. The browser itself is simply following the instruction given by the operating system. Therefore, fixing the issue requires correcting the system's internal mapping, not changing browser settings like pop-up blockers or extension permissions.

Why Permission Settings Do Not Work

It is important to clarify that this issue cannot be fixed through System Settings > Privacy & Security. There is no toggle labeled "Files and Folders" or "App Store Access" that controls this behavior. Attempts to restrict the App Store via Screen Time or parental controls will also fail because the App Store is a core system application with elevated privileges. The solution must address the protocol association directly.

Method 1: Resetting Default Handlers via Terminal

The most reliable way to undo the accidental change is to reset the LaunchServices database. This forces macOS to re-evaluate which apps should handle specific file types and URL schemes. This process is safe and does not delete any personal data, but it may reset other custom default app associations (like making TextEdit the default for .txt files) if they were manually changed.

  1. Open the Terminal application. You can find it by pressing Command + Space to open Spotlight Search, typing "Terminal", and pressing Enter.
  2. Type the following command exactly as shown below:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
  • Press Enter to execute the command. You may need to enter your administrator password if prompted. Note that the cursor will not move while you type the password; this is normal security behavior.
  • Wait for the command to complete. It usually finishes within a few seconds. Once the prompt returns, close Terminal.

After running this command, restart your Mac to ensure the changes take full effect. Upon rebooting, try clicking a link that previously opened the App Store. It should now either do nothing (if the browser handles it internally) or ask you again which app to use, allowing you to select "None" or keep the previous default without triggering the store.

Method 2: Clearing Browser-Specific Cache

In some cases, the browser may cache the decision to open the App Store locally. If the Terminal method above does not resolve the issue, clearing the browser's site data can help.

For Safari

Safari stores preferences in a plist file. While less common, clearing the history and website data can sometimes reset stubborn handlers.

  • Go to Safari > Settings > Privacy.
  • Click Manage Website Data.
  • Remove entries related to the App Store or Apple ID if present.

For Chrome or Firefox

These browsers have built-in settings to manage protocol handlers.

  • In Chrome, go to Settings > Privacy and security > Site Settings > Additional permissions > Protocol handlers. Remove any entries for the App Store.
  • In Firefox, go to Settings > General > Applications. Look for "app-store" in the list and change the action to "Always Ask" or "Use Other".

Preventing Future Occurrences

To avoid this issue in the future, be cautious when dialogs appear asking about default applications. These dialogs often appear when clicking links to iTunes, App Store, or even generic web protocols. If you see a message saying "Allow [Browser] to open these pages?", always review the checkbox options carefully. Unchecking "Remember my choice for all links of this type" prevents the permanent binding of the handler.

If you frequently encounter issues with macOS system behaviors, you might also find our guide on How to Stop Browsers Opening App Store on macOS? helpful for additional troubleshooting steps. For broader system stability, checking How to Fix Yahoo.com Not Loading on MacBook Pro running macOS 10.15.7 can provide insights into general connectivity and caching fixes.

Frequently Asked Questions

Will resetting LaunchServices delete my files?

No, running the lsregister command only clears the cache of which applications are associated with which file types and URLs. It does not delete documents, photos, or applications. However, it may reset custom default app choices you made for non-system files, such as setting VS Code as the default editor for Python files.

Why does this happen after a macOS update?

System updates often refresh the LaunchServices database or introduce new URL schemes. During the update process, background tasks may register the App Store as a handler for certain legacy links or security protocols, overriding your previous preferences.

Can I fix this without using Terminal?

There is no native GUI button to reverse this specific association in System Settings. You must use the Terminal command provided or manually reset defaults by right-clicking a file, selecting "Get Info", and changing the "Open with" dropdown, though this is tedious for URL schemes. Third-party apps like "RCDefaultApp" can manage this visually but are rarely necessary for this specific issue.

Does this affect iCloud or Apple ID login?

No, this change only affects how external links are handled. Your iCloud account, Apple ID login status, and purchased apps remain unaffected. The App Store will still function normally when launched directly from the Dock or Launchpad.

What if the problem persists after restarting?

If the App Store still opens automatically, check your browser extensions. Some ad-blockers or privacy tools may redirect traffic in ways that trigger the store. Disable extensions one by one to identify the culprit. Additionally, ensure your macOS is fully updated, as Apple occasionally patches bugs related to URL handling in newer versions.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More