How to Stop Safari Browser from Automatically Opening PDF Files After Download
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...
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.
Why Safari Opens PDF Files Automatically
Safari includes a setting called:
"Open 'safe' files after downloading"
When enabled, Safari automatically opens files it considers safe, including:
- PDF documents
- Images
- Movies
- Text documents
- Archives in some cases
Although PDFs are generally considered safe, many users prefer manual control over downloaded content.
Method 1: Disable "Open Safe Files After Downloading"
This is the most effective method.
Step 1: Open Safari
Launch Safari from:
- Dock
- Launchpad
- Applications Folder
Step 2: Open Safari Settings
Click:
Safari → Settings
Or use the keyboard shortcut:
Command (⌘) + Comma (,)
Step 3: Select the General Tab
Inside Settings:
- Click General
- Locate:
Open "safe" files after downloading
Step 4: Disable the Option
Remove the checkmark beside:
Open "safe" files after downloading
Once disabled:
- PDFs will download normally
- Files remain in Downloads folder
- Safari will no longer open them automatically
Method 2: Save PDFs Instead of Opening Them in Safari
Sometimes Safari displays PDFs directly inside the browser.
To save the file without opening:
Option A
Right-click the PDF link and choose:
Download Linked File
Option B
Hold:
Option (⌥)
while clicking the PDF link.
Safari will download the file instead of displaying it.
Method 3: Change Default PDF Viewer
If PDFs continue opening automatically through another application:
Open Finder
Navigate to:
Downloads
Select Any PDF File
Right-click the file.
Choose:
Get Info
Under "Open With"
Select your preferred application:
- Preview
- Adobe Acrobat Reader
- PDF Expert
- Other PDF software
Click:
Change All
This affects how downloaded PDFs are opened manually.
Method 4: Remove Previously Downloaded Auto-Open Preferences
Occasionally Safari may remember previous download behaviors.
Reset Download Preferences
- Close Safari
- Open Finder
- Click Go → Go to Folder
- Enter:
~/Library/Preferences/
Locate:
com.apple.Safari.plist
Note: Advanced users only.
Deleting Safari preference files resets many browser settings and should be performed carefully.
Method 5: Manage Downloads Through Safari Downloads List
Safari provides a built-in download manager.
Access Downloads
Click:
Downloads Arrow Icon
or press:
Option + Command + L
From here you can:
- View downloaded PDFs
- Open manually
- Reveal files in Finder
- Clear download history
Enterprise and Managed Mac Environments
For business environments using:
- Apple Business Manager
- Jamf Pro
- Kandji
- Mosyle
- Intune for macOS
Administrators can enforce Safari preferences through configuration profiles and disable automatic file opening across multiple devices.
Benefits include:
- Better security
- Reduced accidental file execution
- Consistent user experience
- Compliance with company policies
Security Best Practices
When downloading PDF files:
Verify the Source
Only download PDFs from trusted websites.
Use Antivirus Protection
Consider security solutions such as:
- Malwarebytes
- Bitdefender
- Intego
Scan Important Documents
Review downloaded files before opening.
Keep macOS Updated
Install the latest macOS updates to maintain PDF viewer security.
Avoid Suspicious Attachments
Do not open PDFs received from unknown sources.
Troubleshooting
PDFs Still Open Automatically
Check:
Safari → Settings → General
Ensure:
Open "safe" files after downloading is unchecked.
PDFs Open Inside Browser Tabs
Safari may display PDFs directly.
Use:
- Right-click → Download Linked File
- Option-click download links
PDFs Open in Preview Automatically
Review your default PDF application settings.
Use:
Get Info → Open With
to modify behavior.
Frequently Asked Questions
Does disabling "Open Safe Files" affect downloads?
No. Files will still download normally but remain closed.
Can I disable auto-opening only for PDFs?
Safari does not currently provide a PDF-only setting. Disabling "Open Safe Files After Downloading" affects all safe file types.
Will downloaded PDFs remain in Downloads?
Yes. Files are saved normally and can be opened manually at any time.
Is automatic opening dangerous?
Not necessarily, but manual review provides better control and security.
Conclusion
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.
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.