Why your Mac opens external drives and how to turn it off
When you plug in an external drive, memory card, or USB stick on macOS, the Finder window opens automatically and shows you the contents. This happens because macOS has a setting that tells it to open new removable media as soon as they connect. If you want to plug in a drive without the window popping up, you can turn this behavior off in just a few clicks.
The setting lives in the Finder preferences, not in System Settings. Most people don't find it because they look in the wrong place. Once you know where it is, you can disable it permanently, and your drives will stay quiet when you connect them.
Key Takeaways
- The auto-open setting is in Finder preferences under the "General" tab, not in System Settings or System Preferences.
- You can turn off auto-open for all external drives at once by unchecking a single box.
- This setting only affects new drives you connect after you change it — drives already plugged in will not be affected.
- If you want the window to open for some drives but not others, you can set rules for specific devices instead of disabling it globally.
How to disable auto-open for all external drives
Open Finder by clicking the Finder icon in your dock, or press Command+Space and type "Finder" then press Enter. Once Finder is open, look at the menu bar at the very top of your screen and click "Finder" — it appears to the left of "File" and "Edit".
From the Finder menu, click "Settings" or "Preferences" depending on your macOS version. A window will open with several tabs across the top. Click the tab labeled "General". You will see a list of checkboxes. Look for the one that says "Open new Finder windows showing" — below that, you will see another checkbox that says "CDs, DVDs, and iPods" or "External disks and removable media" depending on your macOS version. Uncheck this box. Close the Settings window. That is all you need to do.
The next time you plug in an external drive, it will not open a Finder window automatically. The drive will still appear on your desktop and in the Finder sidebar, so you can still access it whenever you want — it just will not open on its own.
What to do if you want auto-open for some drives but not others
If you want to keep auto-open turned on for most drives but disable it for one specific device, you can set a rule just for that drive. Plug in the drive you want to exclude. When the Finder window opens, right-click on the drive name in the sidebar and select "Get Info".
A window will open showing information about the drive. Look for a checkbox labeled "Show warning before emptying the Trash" or scroll down until you see options related to how the drive behaves. In older macOS versions, you may see a checkbox that says "Open in Finder" — uncheck that. In newer versions, the option may not appear in this window, which means you will need to use the global setting instead.
If the per-drive option is not available on your version of macOS, the only way to prevent a specific drive from opening is to disable auto-open for all drives, then manually open the ones you want to use.
Checking whether the setting actually changed
After you uncheck the box in Finder Settings, close the window and wait a few seconds. Then unplug your external drive completely — pull it out of the USB port. Wait five seconds, then plug it back in. A Finder window should not open this time. If it does, go back to Finder Settings and make sure the box is still unchecked. Sometimes the setting does not stick if you do not close the Settings window completely before testing.
If you are testing with a drive that was already plugged in when you changed the setting, unplug it first. The auto-open behavior is triggered when the drive connects, so a drive that was already connected will not respond to the new setting until you disconnect and reconnect it.
Why this setting exists and when you might want it on
Apple includes auto-open because many people want to see what is on a new drive immediately after plugging it in. If you work with external drives constantly — backing up files, transferring photos from a camera, or moving work between computers — auto-open saves you a click. You plug in the drive and the window is already there.
But if you use external drives rarely, or if you have scripts or other programs that run when a drive connects, auto-open can get in the way. Some people disable it because they find the window annoying. Others disable it because they want to control exactly when their computer reads from an external drive, especially if they work with sensitive files or run automated backups.
Troubleshooting: the setting is not working
If you unchecked the box but Finder windows still open when you plug in drives, first make sure you are looking at the right setting. Open Finder Settings again and go to the General tab. The checkbox should be empty. If it is checked, click it to uncheck it, close the window, and wait a few seconds before testing again.
If the box stays unchecked but windows still open, restart your Mac. Sometimes the Finder process needs to restart to pick up the change. Shut down your Mac completely, wait ten seconds, then turn it back on. After it finishes starting up, test with an external drive again.
If windows still open after a restart, the drive itself may have an auto-run file on it that is telling your Mac to open a program or window. This is less common on macOS than on Windows, but it can happen with drives that were formatted on a Windows computer. In this case, you can delete the auto-run file from the drive if you can find it, or just accept that this particular drive will open a window.
Frequently Asked Questions
Will disabling auto-open prevent my Mac from recognizing external drives?
No. Disabling auto-open only stops the Finder window from opening automatically. Your Mac will still recognize the drive, mount it, and make it available in the Finder sidebar and on your desktop. You can still access all the files on it — you just have to open the window yourself.
Can I turn auto-open back on if I change my mind?
Yes. Go back to Finder Settings, click the General tab, and check the box again. The next time you plug in a drive, the window will open automatically.
Does this setting affect USB flash drives, SD cards, and external hard drives the same way?
Yes. The setting applies to all removable media — USB drives, memory cards, external hard drives, and anything else that connects as an external volume. If you uncheck the box, none of them will open automatically.
What if I want to disable auto-open just for my backup drive but keep it on for everything else?
macOS does not have a built-in way to create rules for specific drives in recent versions. Your best option is to disable auto-open globally, then manually open the drives you use frequently. Alternatively, you can use third-party automation tools like Automator or a script to detect when a specific drive connects and prevent the window from opening.
Does this setting affect how my Mac handles iPhones or iPads when I plug them in?
No. iOS devices are handled differently than external drives. The auto-open setting only affects removable storage media like USB drives and external hard drives, not phones or tablets.