How to Stop Safari from Automatically Opening Files After Downloading on Mac

By default, Safari on macOS includes a convenience feature that automatically unpacks and opens downloaded files considered “safe” by Apple. While this is intended to streamline browsing by extracting ZIP archives or launching PDF documents immediately, it frequently causes unwanted distractions, launches external helper applications without warning, and presents a potential security risk when handling files downloaded from unfamiliar websites.

Fortunately, you can quickly disable this automated behaviour directly within Safari’s preferences. Disabling this setting ensures that every downloaded file remains intact inside your designated Downloads folder until you explicitly choose to inspect or open it.

Understanding Why Safari Opens Downloads Automatically

Apple categorises specific file extensions as inherently “safe” because they do not contain immediate executable binaries. Under this default policy, Safari automatically triggers actions for the following file formats upon download completion:

  • Compressed Archives: ZIP files are automatically unzipped using Archive Utility, cluttering your Downloads directory with extracted folders while occasionally keeping the original ZIP file.
  • Document Formats: PDF files, plain text documents (.txt), and rich text format files (.rtf) are launched in Preview or TextEdit.
  • Image and Media Files: Common picture formats including JPEG, PNG, and GIF may immediately preview on screen.
  • Audio and Video Clips: Standard media files may initiate playback inside QuickTime Player.

In modern web workflows, automatic execution is rarely desirable. Downloading multiple compressed repositories, bulk resources, or administrative documents can cause multiple application windows to pop up simultaneously. Furthermore, malicious actors sometimes disguise malicious payloads within multi-part archives, making manual verification prior to extraction a recommended security best practice.

How to Turn Off “Open Safe Files” in Safari for Mac

Disabling the automatic opening feature takes only a few seconds and applies universally across all future downloads in Safari:

  1. Open Safari on your Mac.
  2. Click Safari in the top menu bar and select Settings (or press Command + ,). On macOS Monterey or earlier, this option is named Preferences.
  3. Ensure you are on the General tab at the top of the settings window.
  4. Locate the checkbox at the bottom labelled Open “safe” files after downloading.
  5. Click the checkbox to untick it.
  6. Close the Settings window to immediately apply the change.

Once unticked, Safari will download every file silently to your designated download location without triggering Archive Utility, Preview, or any associated default applications.

Choosing a Custom Download Location in Safari

While configuring your download preferences, you can also customise where Safari places incoming files or prompt Safari to ask for a specific destination each time:

  1. In Safari, open Settings (Command + ,) and remain on the General tab.
  2. Find the File download location dropdown menu.
  3. By default, it is set to your user account’s Downloads folder.
  4. To specify a distinct working folder (such as an external drive or dedicated desktop folder), click the menu and choose Select.
  5. If you prefer manual control over every download, select Ask for each download. This prompts macOS Finder to display a destination dialogue box whenever you initiate a file transfer.

Managing Downloaded Archive Files Manually

With automatic extraction disabled, downloaded ZIP archives will remain in their compressed format in Finder. When you are ready to expand an archive safely:

  • Double-click the ZIP archive in Finder to extract its contents using the default Archive Utility.
  • Alternatively, right-click the file and select Open With to choose a third-party archive tool such as Keka or The Unarchiver if you require password decryption or advanced compression controls.
  • To inspect file hashes or verify integrity before unzipping, open Terminal and run shasum -a 256 filename.zip against the downloaded archive.

Turning off automatic file opening provides complete control over your macOS storage, stops disruptive application launches during active browsing sessions, and reinforces your device’s baseline security posture.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.