Change the app that opens a file type in Windows

Windows opens each file type with one chosen app. If a file opens in the wrong app, you can change the choice just for that file (Open with), or for every file of that type (Default apps in Settings).

Source: Official documentationTesting: Not team-testedReports: none reviewed yet

Reviewed 9 Nov 2026

Who it suits

  • Files of one type consistently open in an app you do not want
  • The app you prefer is already installed on the computer
  • You know the file's extension — the letters after the dot, such as .pdf or .txt

Who it doesn’t suit

  • Windows reports the format itself is not supported by any app you have — that is a different problem; changing the default app cannot make an app read a format it does not understand
  • The file is damaged and will not open in any app
Supported devices / software / versions: Windows 11 computers; Windows 10 computers (the Default apps screens look slightly different)

Start guided mode or read all 5 steps below — guided mode is never mandatory.

Before you start

Preparation

  • Find the file's extension: in File Explorer, look at the end of the file name, or switch the folder to Details view and read the Type column.
  • Make sure the app you want is already installed before you start.

▲ Caution — possible effects

  • Choosing 'Always' changes the app for every file of that type on this computer, not just the one file — that is the point, but it affects all similar files.
  • Choosing 'Just once' changes nothing permanently; it only opens this file this one time.

⬢ Stop if…

  • Stop if the app you want is not installed and would have to be downloaded from an unfamiliar website — install apps only from their official source or the Microsoft Store.
  • Stop if no app opens the file and the error says the format is unsupported — that is not a default-app problem, and forcing an association will not fix it.

Original sources

Steps

Try Open with on the file itself

In File Explorer, right-click the file, choose 'Open with', and pick the app you want. If the app is not in the list, choose 'Choose another app' to see more options.

Make the choice permanent with Always

In that same picker, select the app and choose 'Always' (Windows 11) or tick 'Always use this app to open' (Windows 10). Microsoft's File Explorer help confirms that choosing Always makes that app the default for this file type.

Or change it in Settings, by file type

Open Settings → Apps → Default apps. In the search bar, type the file extension, such as .txt or .pdf, select the matching result, and choose the app that should open files of that type, as Microsoft's Default apps guide describes.

Test with a second file of the same type

Double-click a different file with the same extension. It should now open in the app you chose.

If it still opens in the wrong app, check the extension

Similar extensions are separate types: .jpg and .jpeg, or .doc and .docx, each have their own setting. Compare the ending of your file exactly, and repeat the steps for that exact extension.

Start guided mode

How to check success

Finishing the steps is not the same as fixing the problem. You are done if these practical checks pass:

  • Check: Does the file open in the app you chose when you double-click it?
  • Check: Does a second file of the same type also open in that app?

If it fails

Evidence, review and results

Source
Official documentation
Testing
Not team-tested
Reports
No reviewed results yet — be the first to record yours.

An official source means the maker documents this procedure — it does not mean our team has run it, and one person’s success is not a guarantee for everyone. Public counts appear only when reviewed reports exist; none are published yet.

Record your result

What was the result?

Saved in this browser only. Not sent to us, not counted publicly. Find it later under My Attempts. To share a result, use Prepare a result report.

Report an error in this method

About this method

AuthorTriedLedger team
Reviewed byTriedLedger team
Team testingNot performed
First published9 Nov 2026
Last reviewed9 Nov 2026
MethodM5 · version 1.0

Change note: First published version. Where one team did the writing, reviewing and (when done) testing, the same name appears in each role — we say so rather than invent separate people.

Related methods