ThisCalculator

Everyday

Change Default Apps for Opening Files: A How-To Guide

Updated · Standard formula, shown below

To change which app opens a file type on Windows or macOS, you can right-click the file, select “Open with,” and choose a new app, often with an option to always use it. This guide covers the exact steps for both operating systems, how to manage default apps in system settings, and common troubleshooting tips.

Why Change Default Apps?

Default apps determine what program launches when you double-click a file. For example, a PDF might open in a web browser when you’d prefer a dedicated PDF reader, or an image file might open in the default Photos app instead of an editor. Changing defaults lets you tailor your workflow, improve performance, or use features the current app lacks.

Common reasons include:

  • Preferring a lighter or more feature-rich application.
  • Needing to edit files that the default app only views.
  • Avoiding unwanted software that hijacked file associations.
  • Standardizing file handling across a team or device.

How Default Apps Work

Operating systems use file extensions (like .pdf, .jpg, .docx) to identify file types. Each extension is mapped to a specific application through a registry or system database. When you double-click a file, the OS looks up that mapping and launches the associated app. Changing the default updates this mapping.

On Windows, this mapping is stored in the Registry under HKEY_CLASSES_ROOT. macOS uses Launch Services, a system framework that tracks which app should open which file type. Both systems provide user-friendly interfaces to modify these settings, so you rarely need to edit the underlying database directly.

How to Change Default Apps on Windows

Windows 10 and 11 offer two main ways to change defaults: through the context menu and through Settings.

Method 1: Right-click the file

  1. Right-click the file you want to open with a different app.
  2. Select “Open with” and then “Choose another app.”
  3. Pick the desired app from the list. Check the box “Always use this app to open .[extension] files” if you want to set it as the default.
  4. Click “OK” or “Just once” if you only want to use it for that instance.

Method 2: Via Settings

  1. Open Settings (Win + I) and go to Apps > Default apps.
  2. You can search by file type or by app. To change by file type, click “Choose defaults by file type.”
  3. Find the extension (e.g., .pdf), click the current default app, and select the new one from the list.

In Windows 11, the Settings interface is slightly different but similar: Apps > Default apps, then click the app you want to set as default, and manage its associated file types.

How to Change Default Apps on macOS

macOS also offers two methods, both straightforward.

Method 1: Right-click the file

  1. Right-click (or Control-click) the file.
  2. Select “Get Info” (or press Command+I).
  3. In the Info window, expand the “Open with” section.
  4. Choose the desired app from the dropdown menu.
  5. Click “Change All…” to apply this app to all files of that type.

Method 2: Via System Settings

  1. Open System Settings (Apple menu > System Settings).
  2. Go to “Desktop & Dock” (or “General” in older macOS versions).
  3. Scroll down to “Default web browser” or “Default email reader” for those specific types. For other file types, you’ll need to use the Get Info method.

Note that macOS does not have a single central list of all file type associations; the Get Info method is the most reliable for arbitrary file types.

Common Problems and How to Fix Them

Sometimes changing defaults doesn’t work as expected. Here are common issues and solutions.

  • The app doesn’t appear in the list: The app may not register itself as capable of opening that file type. Try selecting “Look for another app on this PC” (Windows) or “Other…” (macOS) and navigate to the app’s executable.
  • The change reverts after restart: Some apps (like certain PDF readers or media players) may re-assert themselves as default after updates. You may need to change the default again or uninstall the competing app.
  • File icons don’t update: This is usually cosmetic and harmless. Restarting Explorer (Windows) or Finder (macOS) can refresh icons.
  • Cannot change default for certain file types: Windows may block changes for some system-protected types. In that case, you may need to use the “Open with” method and check “Always use this app.”

Default Apps for Web Browsers and Email

Browsers and email clients are special cases because they handle multiple file types and protocols (like HTTP and mailto).

Windows: Go to Settings > Apps > Default apps. Scroll down to “Web browser” and choose your preferred browser. For email, look for “Email” and select your client.

macOS: System Settings > Desktop & Dock > Default web browser. For email, you’ll usually set it within the email app itself (e.g., Mail > Preferences > General > Default email reader).

Changing the default browser does not change which app opens PDFs or other files; that’s separate.

How to Reset Default Apps

If you’ve changed too many defaults and want to start fresh, both OSes offer a reset option.

Windows: In Settings > Apps > Default apps, scroll down and click “Reset” under “Reset all default apps.” This will restore Microsoft’s recommended defaults for all file types.

macOS: There is no one-click reset. You’ll need to manually change each file type back using the Get Info method. Alternatively, you can delete the app’s preferences or use third-party tools, but that’s more advanced.

Frequently Asked Questions

Why does my file always open in the wrong app?

This usually happens because the file type is associated with an app that you installed later, or an app has hijacked the association during installation. You can fix it by following the steps above to change the default back to your preferred app.

Can I change default apps for all files of a certain type at once?

Yes, both Windows and macOS allow this. On Windows, when you choose “Always use this app” in the Open with dialog, it applies to all files with that extension. On macOS, the “Change All…” button in Get Info does the same.

What if the app I want to use isn’t listed?

If the app isn’t listed, it may not support that file type, or it hasn’t registered itself. You can try browsing to the app manually, but if the app truly doesn’t support the file type, it won’t open it properly.

Does changing the default app affect the file itself?

No, changing the default app only changes which program opens the file. It does not modify the file’s content or format.

Can I set different defaults for different file extensions?

Yes, each file extension has its own default app. For example, you can have .jpg files open in one image editor and .png files in another.

Why does my default app keep changing back?

Some apps, especially those that run in the background or have update checkers, may re-set themselves as default during updates or on startup. You can often disable this behavior in the app’s settings, or you may need to uninstall the app if it’s persistent.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.