Change the default program by right-clicking the file

The program that opens when you double-click a file is called the default. You can change it without uninstalling anything. On Windows, right-click the file, select "Open with", then choose a different program from the list. On Mac, right-click (or Control-click), select "Open With", and pick the program you want.

This method works for one file at a time. If you want every file of that type to open with a different program — for example, all .txt files opening in Notepad instead of Word — you need to set a new default for the whole file type. That takes one extra step, but it is permanent until you change it again.

Key Takeaways

  • Right-click any file and select "Open With" to open it with a different program just that one time.
  • To make the change permanent for all files of that type, right-click, choose "Open With", then select "Choose another app" or "Always use this app".
  • On Windows, you can also change defaults through Settings > Apps > Default Apps if you know which file type you want to change.
  • On Mac, select the file, go to File menu > Get Info, change the "Open With" dropdown, then click "Change All" to apply it to every file of that type.
  • If the program you want does not appear in the "Open With" list, you may need to browse your computer to find its installation folder.

Set a new default program on Windows

Right-click the file you want to change. A menu appears. Click "Open with" and look at the list of programs shown. If you see the program you want, click it. If you do not see it, click "Choose another app" at the bottom of the menu.

A window opens showing more programs. Look for the one you want. If it is there, click it once to select it, then look for a checkbox that says "Always use this app to open [file type]" — for example, "Always use this app to open .pdf files". Check that box, then click "Open". From now on, all files of that type will open with the program you chose.

If the program still does not appear, click "Look for another app on this PC" at the bottom. A file browser opens. Navigate to the folder where the program is installed — usually in Program Files or Program Files (x86) — find the program's .exe file, click it, and click "Open". Then check the "Always use this app" box and confirm.

Set a new default program on Mac

Click the file once to select it. Go to the File menu at the top and click "Get Info". A window opens. Look for the section labeled "Open With" and click the dropdown menu next to it. A list of programs appears.

Click the program you want to use. Below the dropdown, you will see a button that says "Change All". Click it. This tells your Mac to open every file of that type with the program you selected. The change takes effect immediately.

If the program you want does not appear in the dropdown, click "Other" at the bottom of the list. A file browser opens. Navigate to your Applications folder, find the program, click it, and click "Open". Then go back to Get Info, select that program from the dropdown, and click "Change All".

Use Windows Settings to change defaults for a file type

If you know which file type you want to change but do not have a file of that type handy, you can change the default through Settings. Open Settings (press Windows key + I), then go to Apps > Default Apps. Scroll down until you see the file type you want — for example, .pdf, .txt, or .docx.

Click on the file type. A window opens showing the current default program and a list of other programs you can choose from. Click the program you want to use as the new default. The change takes effect immediately, and all files of that type will now open with the program you selected.

If the program you want does not appear in the list, click "Look for another app on this PC" and browse to find it, the same way you would when right-clicking a file.

What to do if the program you want does not appear

If a program is installed on your computer but does not show up in the "Open With" list, the program may not be registered with your operating system. The fastest fix is to open the program directly, then open the file from inside the program. Go to File > Open (or File > Open Recent), navigate to the file, and open it that way.

If you want the program to appear in the "Open With" list, try reinstalling it. Uninstall the program through Settings > Apps > Installed Apps (Windows) or Applications folder (Mac), restart your computer, then reinstall it. During installation, the program usually registers itself so it will appear in "Open With" menus.

If reinstalling does not work, the program may not support that file type. Check the program's documentation or website to confirm it can open the file type you are trying to use. Some programs are designed to work with only certain file types.

Undo a default change and go back to the original program

If you change the default and then want to switch back, use the same steps you used to change it the first time. Right-click a file of that type, select "Open With", choose the original program, and check the "Always use this app" box. On Mac, use Get Info and click "Change All" the same way.

If you cannot remember which program was the original default, you can usually find it by looking at what your operating system suggests. On Windows, when you right-click a file, the first program listed under "Open With" is often the system default. On Mac, the first program in the "Open With" dropdown is usually the original.

Frequently Asked Questions

Can I set different default programs for different files of the same type?

No. A default applies to the entire file type — all .pdf files, for example. You can open individual files with a different program by right-clicking and choosing "Open With" each time, but you cannot make one .pdf file open with Program A and another .pdf file open with Program B by default.

What if I only want to change the default for one file, not all files of that type?

Right-click the file, select "Open With", choose the program you want, and do not check the "Always use this app" box. The file will open with that program this time only. The next time you open a file of that type, it will use the original default.

Does changing the default program uninstall the old program?

No. Changing the default only changes which program opens when you double-click a file. The old program stays installed on your computer and you can still open it manually from your Start menu or Applications folder.

Why do some programs not show up in the "Open With" list?

Programs must register themselves with your operating system to appear in "Open With" menus. If a program is installed but does not appear, it may not support that file type, or it may not have registered properly during installation. Reinstalling the program usually fixes this.

Can I change the default program for multiple file types at once?

No. You must change each file type individually. On Windows, you can speed this up by using Settings > Default Apps and changing them one by one. On Mac, you can use Get Info on each file type and click "Change All" for each one.