.DOCM file extension
To open .DOCM files on Windows, right-click the .DOCM file → Open with → choose Microsoft Word (or your installed Word-compatible office suite).
To open a .DOCM file, use Microsoft Word or another office application that supports Office Open XML macro-enabled Word documents. Don’t rename the file extension—open it from within your document app and decide whether to enable macros.
Last updated: April 30, 2026 · Reviewed by Julian Stricker
Open on your device
Choose your operating system for a dedicated step-by-step opening guide.
How to open .DOCM files
Use these platform-specific instructions to open .DOCM files safely.
Windows
- Right-click the .DOCM file → Open with → choose Microsoft Word (or your installed Word-compatible office suite).
- If Word opens it in Protected View or prompts about macros, read the prompt carefully and only enable macros if you trust the source.
Mac
- Control-click the .DOCM file → Open With → choose Microsoft Word (or your installed Word-compatible office suite).
- If you see a security prompt about macros, keep macros disabled unless you are sure the document is trustworthy.
Linux
- In your file manager, right-click the .DOCM file → Open With → select a compatible office suite (support varies by app and version).
- If it won’t open or formatting is wrong, transfer the file to a system with Microsoft Word for best compatibility.
iOS
- In the Files app, tap the .DOCM file and try opening it in Microsoft Word for iOS (if installed); otherwise share it to a compatible document app or open it on a desktop for full support.
Android
- From your Downloads/Files app, open the .DOCM file with Microsoft Word for Android (if installed); if your app only shows the text and ignores macros, use a desktop app for full behavior.
Security notes
- .DOCM files can contain VBA macros (active code). Only enable macros if you trust the source and expected behavior of the document.
- Treat unexpected .DOCM attachments with extra caution compared to .DOCX, because the macro-enabled format is commonly used for automation and can be abused for malicious code execution.
- If you only need to read the text, use a viewer/editor that does not run macros or keep macros disabled in Word.
Recommended antivirus software
Scan files before opening them. These antivirus tools help protect against malware and viruses.
Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.
NortonNorton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
Can't open this file?
These are the most common causes and fixes when .DOCM files fail to open.
Common reasons
- The file opens, but macros are disabled or don’t run
- “Can’t open file” or “File is corrupted” error
- Formatting looks wrong or content is missing
- The file opens, but it’s flagged as unsafe or prompts appear every time
Fix steps
- If you need the macro features, open the file in Microsoft Word and review the macro/security prompt before enabling anything.
- If you’re using a viewer or non-Word editor, expect macros to be blocked or ignored; use Word for full macro behavior.
OS-specific troubleshooting
What is a .DOCM file?
.DOCM is an Office Open XML (OOXML) Wordprocessing document stored in a ZIP-based package (OPC). It is specifically the macro-enabled variant of Word documents, meaning it can include embedded VBA macro content, which may run code when enabled.
Background
.DOCM is used when a Word document needs automation or scripted behavior via macros while still using the modern OOXML container format. It’s commonly seen in business templates, forms, reports, and workflows where buttons, automated formatting, or data processing are built into the document.
Technically, .DOCM is part of the standardized OOXML family (ISO/IEC 29500 / ECMA-376) and is closely related to .DOCX, but with macro support enabled. The macro-enabled nature is the key practical difference: many viewers can display the text, but they may block or ignore macros.
On desktop systems, file associations and “Open With” behavior are typically driven by MIME/type mappings (for example, Linux desktop environments often rely on the shared MIME-info database concept). When you receive a .DOCM unexpectedly, treat it more like a document-plus-code container than a plain document.
Common MIME types: application/vnd.ms-word.document.macroEnabled.12
Further reading
Authoritative resources for more details on the .DOCM format.
- IANA Media Types (official registry)
- Library of Congress: DOCX Transitional (Office Open XML), ISO 29500 / ECMA-376 (mentions .docm/.dotm for macro-enabled files)
- Microsoft Learn Open Specifications: [MS-OFFMACRO] Office Macro-Enabled File Formats (overview)
- Office Open XML file formats (Wikipedia overview)
- List of Microsoft Office filename extensions (Wikipedia: .docm description)
- Shared MIME-info Database specification (freedesktop.org)
Common .DOCM issues
The file opens, but macros are disabled or don’t run
.DOCM can contain VBA macros, and many apps intentionally block macros for safety or don’t implement macro execution.
- If you need the macro features, open the file in Microsoft Word and review the macro/security prompt before enabling anything.
- If you’re using a viewer or non-Word editor, expect macros to be blocked or ignored; use Word for full macro behavior.
“Can’t open file” or “File is corrupted” error
.DOCM is an OOXML package; partial downloads, email filtering, or file corruption can prevent the ZIP-based container from being read.
- Re-download the file or ask the sender to re-send it (preferably via a reliable transfer method).
- Try opening it in Microsoft Word on another computer to rule out an app-specific issue.
Formatting looks wrong or content is missing
.DOCM relies on WordprocessingML features; some applications have incomplete compatibility with Word’s layout, fonts, and embedded objects.
- Open the document in Microsoft Word for the most faithful rendering.
- If you must use another app, ask the sender for a .PDF for viewing or a .DOCX copy if macros are not required.
The file opens, but it’s flagged as unsafe or prompts appear every time
Because .DOCM can contain active macro code, Office apps may open it in a restricted mode or keep warning you depending on trust settings.
- Do not enable macros unless you trust the sender and understand what the macro is supposed to do.
- If it’s a legitimate internal workflow document, use your organization’s approved trust mechanisms and policies rather than disabling protections globally.
FAQ
What is the difference between .DOCM and .DOCX?
.DOCM is a macro-enabled Word document format; .DOCX is the standard Word document format without macros. A .DOCM may contain VBA macro code that can run when enabled.
Can I convert .DOCM to .DOCX by renaming the extension?
No. Renaming only changes the filename and won’t remove or convert macro content. Use a proper “Save As”/export in a compatible application if you need a different format.
Is there an official MIME type for .DOCM?
Yes. The official media type commonly associated with .DOCM is application/vnd.ms-word.document.macroEnabled.12.
Why do some apps open the document but ignore the macros?
Many applications focus on displaying the OOXML document content and intentionally disable or do not implement VBA macro execution for security and compatibility reasons.
Similar file extensions
Compare related formats in the same category to find the right tool faster.