If you type the same phrases every day, your email address, your home address, a polite sign-off, or a long product name, you are doing work your Mac could do for you. Text replacements turn a short code you type into a full word or phrase automatically.
Combined with sensible autocorrect settings, this feature quietly fixes typos, speeds up replies, and keeps your spelling consistent across Mail, Notes, Pages, Messages, and most other apps.
This guide shows you how to create replacements, manage autocorrect, sync everything across your Apple devices, and solve the common problems that stop replacements from working.
Quick Answer
To set up text replacements on Mac, open System Settings, go to Keyboard, and click Text Replacements. Click the plus button, type a short shortcut in the Replace field, type the full phrase in the With field, and save. For autocorrect, open Keyboard settings and use the spelling and punctuation options under Text Input to switch automatic correction, capitalization, and smart quotes on or off.
What Text Replacements Can Do
A text replacement is a simple rule. You type a short trigger, and macOS swaps it for longer text the moment you press Space, Tab, or a punctuation key. The system includes a few examples by default, such as turning “omw” into “On my way!”.
Replacements are ideal for text that is long, easy to mistype, or used constantly. Good examples include email signatures, addresses, phone numbers, meeting links, standard replies to customers, code snippets, and special phrases with accents or symbols. Because replacements sync through iCloud, the ones you create on your Mac also appear on your iPhone and iPad when you use the same Apple account.
There is one important rule when choosing triggers. Pick codes you would never type as a real word, such as starting with a double letter, a symbol, or a short abbreviation like “eml” for your email address. If your trigger is a normal word, it will expand when you do not want it to, which quickly becomes annoying.
How to Create a Text Replacement
- Open System Settings from the Apple menu.
- Click Keyboard in the sidebar.
- Click the Text Replacements button.
- Click the plus (+) button at the bottom of the list.
- In the Replace field, type your short trigger, for example “addr”.
- In the With field, type or paste the full text, for example your complete home or office address.
- Press Return or click away to save the entry.
- Open Notes or Mail and type your trigger followed by a space to test it.
You can create as many replacements as you like. Phrases can include multiple words and punctuation, and on recent macOS versions they can even include line breaks, which makes them useful for full email templates and signatures. Apple describes the feature in its guide on using text replacements on Mac, including how replacements sync between devices.
Replacement Ideas Worth Setting Up Today
- eml expands to your main email address, which prevents typos on forms.
- phn expands to your phone number in full international format.
- addr expands to your postal address for deliveries and documents.
- tyvm expands to a polite thank-you sentence for replies.
- mtg expands to your meeting booking link.
- sig expands to your full email signature with name, role, and contact details.
- Frequently misspelled words such as a trigger for your company or product name spelled correctly.
If you also dictate text often, replacements are a great finishing touch. Expanding a short spoken or typed code into a polished phrase keeps documents tidy, and our guide on dictating text with voice typing on Mac pairs well with this setup.
How to Edit or Delete a Replacement
- Open System Settings, then Keyboard, then Text Replacements.
- Select the entry you want to change from the list.
- Double-click the Replace or With text to edit it directly.
- To remove an entry, select it and click the minus button.
- Close Settings and test the change in any app.
Review your list every few months. Old addresses, outdated job titles, and links you no longer use tend to pile up, and a quick clean-up keeps the system trustworthy.
Setting Up Autocorrect and Spelling Options
Text replacements are only half of the story. macOS also checks spelling and fixes certain errors as you type. These controls live in Keyboard settings under Text Input.
- Open System Settings and click Keyboard.
- Find Text Input and click Edit.
- Turn on “Correct spelling automatically” if you want typos fixed as you type.
- Turn on “Capitalize words automatically” to start sentences with a capital letter.
- Turn on “Add period with double-space” if you like ending sentences by tapping Space twice.
- Choose your preferred spelling language, or leave it set to automatic by language.
- Adjust smart quotes and dashes if you write code or plain-text documents where those changes cause problems.
Different writers need different settings. If you write fiction or marketing copy, full autocorrect saves time. If you write code, technical documentation, or lots of names and jargon, autocorrect may change correct words into wrong ones. In that case, keep spelling underlines on so errors are highlighted, but turn automatic correction off and fix mistakes yourself.
Note that individual apps can have their own spelling controls too. In apps like Pages, Notes, and Mail, check the Edit menu under Spelling and Grammar and the Substitutions options. An app-level setting can override the system behavior, which explains most cases where autocorrect seems to work in one app but not another.
Syncing Replacements to iPhone and iPad
Replacements travel with your iCloud account. Make sure you are signed in with the same Apple account on all devices and that iCloud Drive is enabled, since replacement syncing rides along with it. New entries usually appear on other devices within a few minutes when they are online.
If a replacement appears on your Mac but not on your iPhone, check the iPhone under Settings, General, Keyboard, Text Replacement. Confirm the entry exists there, and give both devices a restart if sync seems stuck. Avoid creating conflicting entries with the same trigger on different devices, because the results can be unpredictable.
Common Mistakes and Troubleshooting Tips
- The replacement does not fire: Type the trigger and then press Space or punctuation. Pressing Return in some fields, or clicking away too fast, may not trigger the swap.
- It works in one app but not another: A few apps, especially some web-based editors and code tools, use their own text systems. Test in Notes first to confirm the replacement itself is fine.
- The trigger expands by accident: Your trigger is too much like a real word. Change it to something distinctive, such as adding a leading “x” or a double letter.
- Autocorrect changes correct words: Right-click or Control-click the corrected word to learn or ignore the spelling, and add unusual names to your replacements or dictionary.
- Smart quotes break your code: Turn off smart quotes and dashes in the Text Input edit panel, at least system-wide, when writing code or configuration files.
- Capitalization surprises: If automatic capitalization annoys you in lists or chats, switch it off and rely on manual capitals.
Conclusion
Text replacements and autocorrect take ten minutes to set up and save time every single day. Create triggers for your email, address, phone number, signature, and standard replies, tune autocorrect to match the kind of writing you do, and let iCloud carry the same setup to your phone and tablet. Start with five replacements today and add more whenever you catch yourself typing the same phrase twice.
Frequently Asked Questions
Do text replacements work in all Mac apps?
They work in most Apple apps and many third-party apps that use the standard macOS text system. Some web editors, code tools, and apps with custom text engines may not support them, so test in Notes to verify a replacement.
Can a text replacement include multiple lines?
Yes, on recent versions of macOS a replacement can include line breaks, which makes it suitable for signatures and short templates. Enter the multi-line text in the With field when you create the replacement.
How do I stop autocorrect from changing a specific word?
When autocorrect changes a word, click back into it or right-click it and choose the option to learn the spelling or ignore it. For names and terms you use often, this teaches your Mac to leave them alone.
Why are my replacements not syncing to my iPhone?
Check that both devices use the same Apple account and that iCloud Drive is on. Then confirm the entry under Text Replacement in the iPhone keyboard settings. A restart of both devices clears most sync delays.
Can I turn off autocorrect in just one app?
Many Apple apps have their own spelling and substitution settings under the Edit menu. Turning off automatic correction there affects only that app, while the system-wide setting in Keyboard settings applies everywhere else.


Leave a Reply