Safari is the default web browser on Apple macOS and provides a seamless browsing experience for Mac users. By default, Safari may automatically open certain downloaded files, including PDF documents, after the download process completes. While this feature can be convenient, many users prefer to keep downloaded PDF files closed until they are ready to review them manually.
Automatic opening of PDF files can be distracting, consume system resources, and potentially expose users to unwanted documents. Fortunately, Safari provides simple options to disable this behavior.
This guide explains how to stop Safari from automatically opening PDF files after downloading them and provides additional tips for managing downloaded files securely.
Safari includes a setting called:
"Open 'safe' files after downloading"
When enabled, Safari automatically opens files it considers safe, including:
Although PDFs are generally considered safe, many users prefer manual control over downloaded content.
This is the most effective method.
Launch Safari from:
Click:
Safari → Settings
Or use the keyboard shortcut:
Command (⌘) + Comma (,)
Inside Settings:
Open "safe" files after downloading
Remove the checkmark beside:
Open "safe" files after downloading
Once disabled:
Sometimes Safari displays PDFs directly inside the browser.
To save the file without opening:
Right-click the PDF link and choose:
Download Linked File
Hold:
Option (⌥)
while clicking the PDF link.
Safari will download the file instead of displaying it.
If PDFs continue opening automatically through another application:
Navigate to:
Downloads
Right-click the file.
Choose:
Get Info
Select your preferred application:
Click:
Change All
This affects how downloaded PDFs are opened manually.
Occasionally Safari may remember previous download behaviors.
~/Library/Preferences/
Locate:
com.apple.Safari.plist
Note: Advanced users only.
Deleting Safari preference files resets many browser settings and should be performed carefully.
Safari provides a built-in download manager.
Click:
Downloads Arrow Icon
or press:
Option + Command + L
From here you can:
For business environments using:
Administrators can enforce Safari preferences through configuration profiles and disable automatic file opening across multiple devices.
Benefits include:
When downloading PDF files:
Only download PDFs from trusted websites.
Consider security solutions such as:
Review downloaded files before opening.
Install the latest macOS updates to maintain PDF viewer security.
Do not open PDFs received from unknown sources.
Check:
Safari → Settings → General
Ensure:
Open "safe" files after downloading is unchecked.
Safari may display PDFs directly.
Use:
Review your default PDF application settings.
Use:
Get Info → Open With
to modify behavior.
No. Files will still download normally but remain closed.
Safari does not currently provide a PDF-only setting. Disabling "Open Safe Files After Downloading" affects all safe file types.
Yes. Files are saved normally and can be opened manually at any time.
Not necessarily, but manual review provides better control and security.
If Safari automatically opens PDF files after downloading, the issue is usually caused by the Open "safe" files after downloading setting. Disabling this option prevents PDFs from launching immediately and gives users full control over when and how downloaded files are opened.
For maximum security and convenience, combine this setting with good download practices, trusted PDF readers, and regular macOS updates. Doing so ensures a safer and more organized file management experience on your Mac.