Office Settings & Configuration

How to Automatically Add Closing Brackets and Parentheses in Word

Steven ParkerSteven Parker Oct 28, 2026 869 views

Question details

The user wants to know how to enable automatic closing of brackets, parentheses, and braces in Microsoft Word, similar to the functionality found in modern code editors.

How to Automatically Add Closing Brackets and Parentheses in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Typing standard text or documenting code snippets where paired punctuation is frequently used and manually typing the closing character slows down the workflow.
Observed behavior
Word does not automatically insert a closing bracket or parenthesis when an opening one is typed, requiring the user to manually enter both characters.
Before you start

Understand that word processors are designed for general prose rather than structured code, meaning they lack native auto-closing syntax features. However, you can set up custom shortcuts to achieve a similar automated result.

Solution 1Recommended

Use AutoCorrect as a Workaround

Create a custom AutoCorrect rule that automatically inserts a pair of brackets when you type a specific text trigger.

Since Word cannot predict where a sentence ends, setting up an AutoCorrect trigger allows you to instantly generate both the opening and closing brackets, saving you keystrokes.

1
Access Proofing Options

Open Microsoft Word and navigate to File > Options. In the Word Options dialog box, select 'Proofing' from the left-hand menu.

2
Open AutoCorrect Options

Click on the 'AutoCorrect Options...' button to open the configuration window for automatic text replacements.

3
Create a Replacement Rule

In the 'Replace' text box, type a unique trigger you wouldn't normally use in a sentence (for example, type '((' or 'brc').

4
Define the Bracket Pair

In the 'With' text box, type the paired characters (for example, '()', '{}', or '[]'). Click 'Add', then click 'OK' to save the settings.

5
Use the Shortcut

Return to your document and type your trigger followed by the spacebar. The pair will appear, and you can simply press the left arrow key to position your cursor between the brackets to continue typing.

Quick Tip: You can create multiple AutoCorrect entries for different types of brackets, braces, and parentheses to cover all your typing needs.
Free Microsoft Office alternative

Try WPS Office for a Seamless, Customizable Writing Experience

If you are looking for a lightweight, highly compatible, and free alternative to Microsoft Word, WPS Office is an excellent choice. It offers a familiar interface, robust AutoCorrect features to help you set up custom bracket shortcuts, and seamless compatibility with all your existing Word documents.

  1. 1. Download and Install: Download WPS Office from the official website and install it on your device.
  2. 2. Configure AutoCorrect: Open WPS Writer, navigate to Menu > Options > Edit, and customize your AutoCorrect settings to automatically create bracket pairs.
  3. 3. Enjoy Seamless Typing: Use your customized shortcuts to type faster while maintaining perfect compatibility with Microsoft Office files.
Fully compatible with Microsoft Word formats (.docx, .doc).Built-in AutoCorrect and text expansion features to speed up your typing.Lightweight and fast, ideal for both general writing and technical documentation.Free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Word auto-close parentheses like a code editor?

Word is designed for natural language and prose where sentence structures vary greatly. Unlike programming languages with strict syntax rules, Word cannot accurately predict where a closing parenthesis or bracket should naturally fall in a sentence without making incorrect guesses.

Can I use macros to auto-close brackets in Word?

Yes, advanced users can write a VBA macro that intercepts keystrokes to insert a closing bracket and immediately move the cursor back one space. However, this requires enabling developer tools, writing custom VBA code, and ensuring macros are enabled for the document.

How do I find mismatched brackets in my Word document?

You can use Word's built-in Grammar and Spelling checker. While it doesn't auto-close brackets, the grammar tool can often detect unmatched opening or closing parentheses in standard text and flag them for manual review.