Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Change Default App File Opens With on Mac

· 6 min read · Home Tech

In this article
  1. Why macOS Assigns Default Apps
  2. How to Change the Default App via Get Info
  3. Changing Defaults in macOS Settings (System Preferences)
  4. Common Problems and Troubleshooting
  5. How to Reset a Single File’s Default
  6. Changing Default Apps for Email, Web, and Music
  7. Frequently Asked Questions

To change the default app a file opens with on a Mac, right-click the file, select Get Info, choose a new app from the Open with dropdown, then click Change All…. This sets the new default for all files of that type. For more control, you can also change defaults per file type in the macOS Settings app.

Why macOS Assigns Default Apps

macOS uses file extensions and UTI (Uniform Type Identifiers) to decide which app should open a file. When you double-click a PDF, for example, the system looks at the file’s extension (.pdf) and its UTI (com.adobe.pdf) to find the registered default app. This is similar to Windows’ “Open with” behavior, but macOS stores these associations in Launch Services, a background system that tracks app–file type links.

Most apps register the file types they can handle when they are installed. That registration includes a default priority. When you install a new app that can handle a type you already use, macOS may or may not switch the default automatically—it depends on the app and the macOS version. For instance, installing a new image viewer might not take over JPEG files unless the app explicitly asks to become the default.

How to Change the Default App via Get Info

The quickest method works for any file type. Here are the steps:

  1. Right-click (or Control-click) the file in Finder.
  2. Select Get Info (or press Command-I).
  3. In the Info window, find the Open with section.
  4. Click the dropdown and choose the app you want.
  5. Click the Change All… button to apply this to all files of the same type.
  6. Confirm in the dialog that appears.

If you don’t see the app you want in the dropdown, click Other… at the bottom of the list. This opens a file picker where you can navigate to any app in your Applications folder. You can also choose Always Open With in the Open With submenu of the context menu, but that only affects the one file, not the file type.

Changing Defaults in macOS Settings (System Preferences)

For a more centralized view, macOS offers a settings panel for default apps. The location varies by macOS version:

  • macOS Sonoma (14) and later: Go to System Settings → Apps → Default Apps.
  • macOS Ventura (13): Go to System Settings → Desktop & Dock and scroll to the bottom. You’ll see a list of file types and their current default apps.
  • macOS Monterey (12) and earlier: Go to System Preferences → General and click Default web browser or other options.

In the Default Apps list, you can search for a file type (like “PDF” or “HTML”) and click the pop-up menu next to it to choose a different app. This method is often easier when you want to change several types at once.

Common Problems and Troubleshooting

Sometimes the default app won’t change, or it reverts after a restart. Here are common issues and fixes:

  • The “Change All…” button is grayed out. This happens when the file type is not clearly defined (e.g., a file with no extension). Make sure the file has a proper extension.
  • The default keeps reverting. This can occur if the app you chose is not fully compatible with the file type, or if another app (like a system app) keeps re-registering itself. Try resetting Launch Services (see below).
  • The app doesn’t appear in the list. The app may not declare that it can open that file type. You can still force it by selecting “Other…” and navigating to the app, but it may not work correctly.
  • Files open in the wrong app after an update. macOS updates can sometimes reset associations. Reapply your preferred defaults after major updates.

If you need to reset all default app associations to factory settings, you can use the Terminal command lsregister -kill -r -domain local -domain system -domain user. This rebuilds the Launch Services database. Be aware that this resets all associations, so you’ll need to set your preferences again.

How to Reset a Single File’s Default

If you only want one file to open with a different app, but not change the default for all files of that type, you can do this:

  1. Right-click the file and select Open With.
  2. Choose the app from the submenu, or select Other….
  3. Hold down the Option key – the “Open With” submenu changes to “Always Open With”.

This sets the choice for that specific file only. The next time you double-click it, it will use the chosen app, but other files of the same type remain unchanged.

Changing Default Apps for Email, Web, and Music

Some default apps are not tied to file types but to system services. For example:

  • Default web browser: Go to System Settings → Desktop & Dock (or General) and choose your browser from the “Default web browser” menu.
  • Default email client: Open the Mail app, go to Mail → Settings → General, and set “Default email reader”.
  • Default music player: When you connect an iPhone, macOS may ask which app to open. You can also set this in the Finder preferences under the “General” tab.

These are separate from file-type associations. For example, changing the default web browser does not change which app opens .html files – that is a separate setting.

Frequently Asked Questions

Why does my Mac keep opening files in Preview instead of my chosen app?

Preview is the built-in default for many file types (PDF, images). If you change the default and it reverts, it’s often because the app you chose doesn’t fully support the file type, or because macOS has a built-in override. Make sure you click “Change All…” and not just “Open With”. Also, check that the app is not a “helper” app that only works when launched from another program.

Can I set a default app for all files of a certain type at once?

Yes. Use the Get Info method and click “Change All…”. This applies to every file with the same extension. You can also use the Default Apps section in System Settings to change multiple types.

What if the app I want is not in the “Open with” list?

Click “Other…” at the bottom of the list and navigate to the app in your Applications folder. If the app is not there, it may not be installed properly. Also, some apps (like text editors) can open many file types even if they don’t advertise it.

How do I make a file open with a specific app only once?

Right-click the file, hold down the Option key, and select “Always Open With” – but that actually makes it permanent. To open once, just right-click and choose “Open With” and pick the app. That one-time choice does not change the default.

Does changing the default app affect the file itself?

No. Changing the default app only changes which application launches when you double-click the file. The file’s content and format remain untouched. However, if you use an app that modifies the file on open (like a photo editor), that app may change the file when you save it.

Why do some files have no “Open with” option?

This usually happens when the file has no extension or an unknown extension. macOS doesn’t know what type it is, so it can’t suggest apps. You can still right-click and select “Open With” and choose “Other…” to pick an app manually. Adding a proper extension (like .txt) will help macOS recognize it.