How to Enable Macros in Microsoft Word (And What You Should Know First)

Macros in Microsoft Word are one of those features that power users swear by — and that most casual users have never touched. If you've opened a Word document and seen a yellow security bar warning you about macros, or you're trying to run an automated task and nothing's happening, you're in the right place.

Here's a clear breakdown of what macros are, how enabling them works across different Word setups, and why the "right" approach depends heavily on your specific situation.

What Are Macros in Word?

A macro is a saved sequence of commands or actions that Word can replay automatically. They're written in VBA (Visual Basic for Applications), Microsoft's built-in scripting language. Macros can automate repetitive formatting tasks, generate reports, insert boilerplate text, or run complex multi-step operations with a single click.

Because macros execute code directly inside your document, they're also a well-known security risk — malicious macros have been used to deliver malware for decades. This is exactly why Word disables them by default. Any process for enabling macros involves a deliberate trade-off between convenience and security.

How Word's Macro Security System Works

Word uses the Trust Center to manage macro permissions. There are four main security levels:

Security SettingWhat It Does
Disable all macros without notificationMacros are silently blocked — no alert, no option to enable
Disable all macros with notificationWord alerts you; you can choose to enable per document
Disable all macros except digitally signed macrosOnly macros with a valid digital signature from a trusted publisher run
Enable all macrosAll macros run without restriction — not recommended for general use

The default setting in most installations is "Disable all macros with notification," which is why you see the yellow bar at the top of the document.

How to Enable Macros in Word: Step by Step

Enabling Macros for a Single Document (One-Time)

When Word shows the yellow security warning bar at the top of a document:

  1. Click "Enable Content" in the yellow bar
  2. Word enables macros for that document only
  3. The document is added to Word's Trusted Documents list, so it won't prompt you again

This is the safest approach for most users. You're making a document-specific decision rather than changing your global settings.

Changing the Global Macro Security Setting

To adjust how Word handles macros across all documents:

  1. Open Word and go to File → Options
  2. Click Trust Center in the left panel
  3. Click Trust Center Settings…
  4. Select Macro Settings from the left menu
  5. Choose your preferred security level
  6. Click OK twice to save

⚠️ Selecting "Enable all macros" removes the safety net entirely. This setting is typically used only in controlled enterprise environments where all documents come from verified internal sources.

Using Trusted Locations

A more targeted approach is to designate a Trusted Location — a specific folder on your computer where Word automatically trusts any document it opens from:

  1. Go to File → Options → Trust Center → Trust Center Settings
  2. Click Trusted Locations
  3. Click Add new location
  4. Browse to the folder you want to trust and click OK

Any Word document opened from that folder will have macros enabled automatically. This works well if you have a dedicated folder for internal templates or automation files.

Enabling Macros in Word for Mac 🍎

The process on macOS is slightly different:

  1. Open Word and go to Word → Preferences (from the menu bar)
  2. Click Security & Privacy
  3. Under the Macro Security section, adjust to your preferred level

The same security tiers exist on Mac, though the interface layout differs from Windows. Microsoft 365 on Mac mirrors the Windows Trust Center logic fairly closely.

Variables That Change the Right Approach

Not every macro situation is the same. Several factors determine which method makes sense:

Your version of Word matters. Microsoft 365, Word 2021, Word 2019, and older perpetual licenses all handle macros slightly differently — particularly around digitally signed macros and cloud document handling. Word on the web (Office Online) does not support VBA macros at all.

Where the document came from matters a lot. Word treats documents downloaded from the internet or received via email differently than documents created locally. Files marked with the Mark of the Web (an invisible flag applied when a file is downloaded) are subject to stricter macro policies, even if your Trust Center settings are permissive.

Whether macros are digitally signed changes your options. If you're working in a business environment where an IT team produces macro-enabled templates, those macros may carry a digital certificate. In that case, you can add that publisher to your Trusted Publishers list rather than relaxing global settings.

Your IT policy may override personal settings. On managed enterprise devices, Group Policy can lock macro settings entirely. If you can't find the Trust Center settings or changes don't stick, your organization's IT configuration is likely controlling it — not a setting you can change yourself.

The Security Reality You Shouldn't Skip

Enabling macros in a document you didn't create, didn't request, and weren't expecting is one of the most common ways malware enters a system. Legitimate documents rarely need to ask you to lower your security settings — that's a manipulation tactic used in phishing attacks.

The practical rule most security-conscious users follow: only enable macros in documents from sources you explicitly trust, and use Trusted Locations or per-document enabling rather than lowering your global setting.

How permissive your macro settings should be ultimately comes down to who created the documents you work with, how your device is managed, and what you're actually trying to automate — and those are factors only you can assess from your own setup.