How to change the default app for Word (.docx) files on Mac
.docx is Microsoft Word's format, and the one most documents are still exchanged in. Without Microsoft Word installed, a Mac opens .docx files in Pages, or in TextEdit if Pages has been removed. Installing Microsoft 365 moves them to Word. People usually want to change this after installing or uninstalling Office, or to try LibreOffice.
Change it in Finder
- In Finder, select any
.docxfile. - Choose File → Get Info, or press ⌘ I.
- Expand Open with and pick the app. If it isn't listed, choose Other….
- Click Change All… and confirm.
Without Change All…, only that one file changes. Since macOS 26.4, Finder also asks you to confirm before a file-type default changes.
Apps that open Word (.docx) files on Mac
- Microsoft Word. The reference. Tracked changes, comments and complex layouts survive best here.
- Pages. Free from Apple. Opens and exports
.docx, but fonts and layout can shift. - LibreOffice Writer. Free and open source. Good fidelity for most documents.
- TextEdit. Opens the text of a
.docxand drops most of the formatting.
Older .doc files are a separate type
macOS treats .doc (Word 97–2003) and .docx as two different file types with two different defaults. If new documents open in Word but old ones still open in Pages, repeat the steps with a .doc file.
Change it from Terminal
The free command-line tool duti sets defaults without Finder. Install it with Homebrew:
brew install duti
Then, to make Microsoft Word open every .docx file:
duti -s com.microsoft.Word .docx all
The first argument is the app's bundle identifier. To find it for any app:
osascript -e 'id of app "Microsoft Word"'
macOS may still ask you to confirm the change.
macOS identifies this file type as org.openxmlformats.wordprocessingml.document.
Change it in Defaultify
- Open Defaultify and choose Documents & Office, or search for
.docx. - On the Word Documents (.docx) row, open the app menu and choose the app you want.
- Confirm in the Finder dialog.
This type can be changed in the free version. You can also drag any file onto the Defaultify window to see what opens it.
Manage every default in one place
Defaultify for Mac shows all your file-type and link defaults in one window, flags missing ones, and with Pro warns you when an app takes one over.
If it changes back
Some apps claim file types again when they update. See how to stop apps from changing your defaults, and what to check when a change doesn't stick.