# How to Change Default Apps on Mac and Make Them Stick

URL: https://desktoptools.net/journal/how-to-change-default-apps-on-mac
Type: blog
Locale: en
Published: 2026-12-04
Updated: 2026-12-04

---

> Browser, email and file types each have their own default on macOS. Here is where every setting lives and how to make it stick.

Here is how to change default apps on mac without guessing: you set one rule per file type, and macOS stores it in Launch Services. Browser and email each have their own setting. Everything else goes through Get Info and the "Change All" button. Below is every route, including the one that survives an app update and a macOS upgrade.

## Which setting controls which default?

macOS has no single "Default apps" pane. That is the root of most confusion. Three separate places decide what opens what.

- 
**Web browser:** System Settings > Desktop & Dock > Default web browser (macOS Ventura 13 and later).

- 
**Email:** the Mail app itself, under Mail > Settings > General > Default email reader.

- 
**Everything else:** Finder, per file type, through Get Info.

Apple documents the first two on its [page about changing the default browser or email app](https://support.apple.com/en-eg/102362). The third is a per-extension rule, not a global switch. If you have a problem with `.pdf` files opening in the wrong app, changing your browser does nothing for you. If you have a problem with links, changing the PDF app does nothing either.

One tool, one job applies here. Each setting owns exactly one category of thing. Find the category first.

## How do you change the default browser on Mac?

Four clicks, no restart.

- 
Install the browser you want.

- 
Open the Apple menu, then System Settings.

- 
Click Desktop & Dock in the sidebar.

- 
Scroll down and pick your browser in the "Default web browser" menu.

On macOS releases before Ventura, the same menu lives under System Preferences > General. Skip the browser's own "Make default" banner if you want to be sure which setting changed. Those prompts call the same system API, but the System Settings menu is the one you can read back later.

If a link in another app still opens in Safari, that app probably ships its own embedded web view or an in-app browser. That is a per-app choice, not a macOS default.

### Why is the default email app buried inside Mail?

Because the setting belongs to the Mail app, not to System Settings. You open Mail, choose Mail > Settings, click General, and open "Default email reader". If your client is not listed, choose Select and point to the app in the file dialog.

Apple's own steps add a detail that trips people up: Mail needs to be set up with an account for that menu to behave, and you can remove the account once you are done. So the order is: add a throwaway account, switch the reader, delete the account. It is clumsy, but it takes under a minute.

![Hands resting on a laptop keyboard in warm lamp light](https://fdzlnqpwsaniezitwiuw.supabase.co/storage/v1/object/public/cms-media/desktoptools/2026-12/e50ebf-img1.webp)

## How do you change the default app for one file type?

This is the setting people actually search for, and the one that quietly resets. Here is the route Apple documents in its [guide to choosing the app that opens a file](https://support.apple.com/guide/mac-help/choose-an-app-to-open-a-file-on-mac-mh35597/mac):

- 
Select a file of the type you want to change in Finder.

- 
Press `⌘ I` (or File > Get Info).

- 
Click the arrow next to "Open with".

- 
Pick an app in the pop-up menu.

- 
Click Change All.

Change All is the whole point. Without it, you changed one file, not the type. Apple's page warns about exactly this: do not click Change All if you only want the selected file to open in that app.

For a one-off, skip Get Info. Control-click the file, choose Open With, and pick an app. Hold `⌥` while the menu is open and "Open With" becomes "Always Open With", which does the same job as Change All in one step.

## Which defaults are worth changing first?

Do not touch twenty types. Change the five you hit every week and leave the rest.

If you have a problem with PDFs opening in Preview when you need to annotate and sign, this solves it. If not, skip. Preview is free, ships with macOS, and starts instantly because it is part of the system.

If your PDF work is forms, redaction, and edits to existing text, a dedicated editor earns the switch. Set it once with Change All on a `.pdf` file and every PDF in Finder, Mail attachments, and downloads follows.

The other four worth a rule: `.md` and `.txt` in your real editor instead of TextEdit, `.json` and `.log` in the same editor, `.zip` in the archiver you trust, and media files in the player you prefer. Text files are where the default is most often wrong, because macOS assumes TextEdit for anything it cannot classify.

## Why does the default keep changing back?

Three causes, in order of how often they happen.

First, an installer claims the type. Some apps register themselves as the handler for their formats on first launch, or an update rewrites the association. You did nothing wrong. The fix is to repeat Get Info and Change All.

Second, you changed one file. The `Open with` choice on a single document is stored with that file. A new file of the same type still opens in the old app. That is the "I changed it and nothing happened" report.

Third, the type is ambiguous. A `.ts` file can be TypeScript or an MPEG transport stream. macOS picks by the Uniform Type Identifier, so the rule you set may apply to a different type than the one you meant. If a file opens oddly, run `mdls -name kMDItemContentType file.ts` and check what the system thinks it is.

![Colored paper folders fanned out beside a laptop and notebook](https://fdzlnqpwsaniezitwiuw.supabase.co/storage/v1/object/public/cms-media/desktoptools/2026-12/0f6f96-img2.webp)

## Can you set defaults from the terminal?

Yes, and it is the only route that is repeatable. A small command-line utility called `duti` writes the same Launch Services rules from a script. You install it with Homebrew, then pass a bundle identifier and an extension.

`# find the bundle ID of the app you want
osascript -e 'id of app "Visual Studio Code"'

# make that app the handler for .md files
duti -s com.microsoft.VSCode .md all

# read back what is set for .md today
duti -x md`The `all` role covers viewer, editor, and shell handling. The binary is tiny and it has no UI, no telemetry, no phone home. That is the right shape for this job.

The value is reproducibility. Put ten `duti -s` lines in a setup script and a fresh Mac gets your defaults in two seconds. After a major macOS upgrade, run the script again and any association that drifted goes back where you put it. You get a list you can diff and commit, instead of ten Get Info windows.

If you manage several Macs, that script is the difference between a rule and a habit.

![A dark monitor with blurred lines of terminal output](https://fdzlnqpwsaniezitwiuw.supabase.co/storage/v1/object/public/cms-media/desktoptools/2026-12/996e35-img3.webp)

## Do launchers change which app opens a file?

Not the default. A launcher opens a file with an app you pick at that moment, and leaves the system rule alone. That is a feature when you want a one-time exception, and a trap when you expect it to rewrite the association.

Alfred and Raycast both let you open a file with a specific app from the keyboard, without touching Launch Services. Use that for the odd case: open this one log in a different viewer, then move on.

If you need the new app to be the answer every time, set the default. If you need it once, use the launcher. Mixing the two up is why people think defaults "do not stick".

### What should you do before you let an app claim a type?

Read the prompt. Plenty of apps ask to become the default on first launch, and the "Yes" button is the one that is highlighted. Say no unless you meant it. You can always set the rule later from Get Info, and you cannot easily undo a rule an installer set silently across forty extensions.

A quick audit takes two minutes. Pick one file of each type you open daily: a PDF, a Markdown file, a JSON file, a ZIP, an image, a video. Press `⌘ I` on each and read the "Open with" line. Anything that shows an app you did not choose is a rule to fix. Write the fixes down, because they become your `duti` script.

If an app shows up twice in the "Open with" menu, you have two copies installed, often one in `/Applications` and one in `~/Downloads`. Delete the stray copy first. Otherwise the rule may point at the one you just removed.

## What would we actually set?

Set the browser in System Settings. Set the email reader in Mail. Set `.pdf`, text, and code files with Get Info and Change All, then write those choices into a `duti` script so you never redo them by hand.

Leave every type you do not hit weekly alone. A default you never open is a default you will never debug. If something breaks after a macOS upgrade, run the script, check one file per type with `⌘ I`, and get back to work.

## FAQ

### How do I change the default app for all files of one type on Mac?

Select a file of that type in Finder, press Command I, open the Open with section, pick the app, then click Change All. Without Change All, only that one file changes.

### Where is the default browser setting on Mac?

In macOS Ventura 13 and later, open System Settings, click Desktop & Dock, and use the Default web browser menu. Earlier versions keep it in System Preferences under General.

### How do I change the default email app on Mac?

Open Mail, choose Mail > Settings, click General, and pick an app in the Default email reader menu. If it is not listed, choose Select and point to the app.

### Why does my Mac keep opening files in the wrong app?

Usually an installer or update claimed the file type, or you changed Open with for a single file without clicking Change All. Repeat Get Info and Change All for the type.

### Is there a faster way to set Always Open With?

Yes. Control-click the file, hold Option, and Open With becomes Always Open With, which applies to the whole file type.

### Can I set default apps from the terminal?

Yes. The duti utility writes Launch Services rules, for example duti -s com.microsoft.VSCode .md all. Keep the lines in a script to reapply them after a macOS upgrade.