How To Change Which App Opens A File On A Mac (2026)
Double-clicking a file on a Mac sometimes opens it in an app you never wanted, such as a PDF in Preview or a photo in the wrong editor.
macOS lets you pick a different app for one file or for every file of the same type.
The steps below follow Apple’s Mac support pages, and the difference between the two options matters, so read that section first.
Quick answer: choose the app that opens a file
| Goal | How to do it |
|---|---|
| Open one file once in another app | Control-click the file, choose Open With, then pick an app. |
| Always open this kind of file in another app | Select a file, choose File > Get Info, expand Open with, pick an app, then click Change All. |
| Open only this file differently | Do not click Change All. |
| See the file type | Show filename extensions in Finder > Settings > Advanced. |
Open a file once with a different app
Apple lists four ways to do this, and none of them changes your other files.
- Drag the file onto the app’s icon in the Finder or the Dock.
- Select the file in the Finder, choose File > Open With, then choose an app.
- Control-click the file, choose Open With, then choose an app.
- Open the app first, then choose File > Open and pick the file.
Change the app for every file of that type
This is the permanent fix when every PDF, image or text file keeps opening in the wrong program.
- Click the Finder icon in the Dock to open a Finder window.
- Select a file of the type you want to change.
- Choose File > Get Info, or Control-click the file and choose Get Info.
- In the Info window, click the arrow next to Open with.
- Click the pop-up menu and choose the app you want.
- Click Change All.
Apple cautions against clicking Change All if you only want that one file to open with the app.
Open With or Change All: which should you use
| Option | Scope | Where to find it |
|---|---|---|
| Open With | Just this time, for this file | File > Open With, or Control-click > Open With |
| Change All | Every file of the same type | File > Get Info > Open with > Change All |
Pick Open With whenever you are not sure, because it cannot affect any other file.
See which type a file is
The file extension, such as .pdf or .txt, tells you the type, but Finder can hide it.
To check a single file, select it and choose File > Get Info, or press Command-I.
Then click the arrow next to Name & Extension and look at the Hide extension checkbox.
Show every filename extension
- In the Finder, choose Finder > Settings.
- Click Advanced.
- Select Show all filename extensions.
Apple says this shows every extension, even on files that have Hide extension selected.
If you deselect it, each file follows its own Hide extension setting.
Hidden extensions do not stop files opening
Apple states that hidden extensions do not affect how files open, and macOS still uses the correct apps.
So a wrong app is a Get Info setting, not a sign the extension is missing.
Keep the extension when you rename a file
Apple warns that changing an extension may stop the file opening in the app that created it.
To get a warning first, select Show warning before changing an extension in the Advanced pane of Finder settings.
To change a file’s format, use the app that created it, for example TextEdit for plain text to rich text or Preview for many graphics formats.
If a file will not open in the app you chose
Apple says a file that will not open with a specific app may be damaged or not recognised by that app.
Try a different app from the Open With list.
If the Mac blocks an app itself, see how to fix a Mac app that can’t be opened or is damaged.
Default browser and mail app are different
Web links and email links are not set from a file’s Get Info window.
For those, follow our guide to changing the default browser and email app on a Mac.
More Mac file help
If you cannot locate the file, fix Spotlight search on your Mac and search by name.
Check these before you click Change All
Change All is the one step in this guide that affects other files, so run through this short list first.
- Select a file of the exact type you want to change, because the setting follows that file’s type.
- Confirm the type by looking at the extension in Get Info under Name & Extension.
- Choose the app in the Open with pop-up menu before you click Change All.
- If you only need one file opened differently, close Get Info and use Open With instead.
Which method fits your situation
| Situation | Method from Apple’s page |
|---|---|
| Every PDF or image opens in the wrong app | Get Info, Open with, choose the app, then Change All. |
| You want one file in a different app today | Control-click the file, then Open With. |
| The app you want is not in the Open With list | Open that app, then choose File > Open and pick the file. |
| You like dragging things | Drag the file onto the app icon in the Finder or the Dock. |
Other options in Finder Advanced settings
The same Advanced pane that holds the extension checkbox carries a few other options Apple describes.
| Option | What it does |
|---|---|
| Show warning before changing an extension | Warns you when you try to change a file extension. |
| Show warning before removing from iCloud Drive | Warns you before deleting items from iCloud Drive. |
| Show warning before emptying the Trash | Warns you before the Trash contents are permanently deleted. |
| Remove items from the Trash after 30 days | Permanently deletes items 30 days after they go to the Trash. |
| Keep folders on top | Lists folders first in windows sorted by name, and on the desktop if you choose. |
| When performing a search | Sets the default scope: this Mac, the current folder, or the previous scope. |