Here’s the Easiest Way to Type Em Dashes on Windows and Mac
You are staring at a blinking cursor, your fingers hovering over the keyboard, and you just want to insert a simple, elegant horizontal line. A real pause. A dramatic break in your sentence. Instead, you end up mashing the minus key twice, leaving a stubby, ugly little double-hyphen sitting there on the screen like a typographical aesthetic war crime.
We have all been there.
You know exactly what I mean, right?
You are trying to write something that flows perfectly—something that breathes—and the hardware sitting on your desk actively refuses to cooperate. The em dash is arguably the most powerful punctuation mark in the English language. It acts as a super-comma, a less formal colon, or a pair of highly aggressive parentheses. Yet, for some baffling reason, standard computer keyboards treat it like a forbidden secret.
Look, I spent years fighting this exact battle. Back in 2019, I was finalizing the formatting on a 120,000-word sci-fi manuscript. I had used double hyphens for every single aside, interruption, and dramatic pause. My editor kicked the file back to me with a note that still haunts my dreams. She pointed out that relying on raw double hyphens instead of true em dashes caused our beta reading software to misinterpret line breaks, leading to a measurable 14% drop in readability retention scores during testing. The text looked amateurish. It looked broken.
Fixing it required a terrifying, sweat-inducing series of Find and Replace commands that accidentally deleted half the minus signs in my technical appendices. Never again.
Stop relying on software autocorrect to guess what you want. Stop copy-pasting the symbol from a random Google search every time you need it. You need to hardwire this into your muscle memory.
The Mac Method: Unfairly Simple
If you are typing on an Apple machine, you basically won the typographic lottery. Apple engineers actually care about typesetting, which makes inserting this specific mark almost laughably easy.
Here is the magic combination.
Option + Shift + Minus (-)
That is it. Press those three keys simultaneously, and a perfect, glorious em dash will instantly appear exactly where your cursor is resting. It works in Pages, it works in Apple Mail, it works in your browser, and it works in your terminal. It is universally hardcoded into the macOS operating system layer.
What About the En Dash?
While we are hanging out in Apple territory, we should probably talk about the em dash’s slightly shorter, infinitely more confusing cousin: the en dash (–). You use the en dash for ranges of numbers or time (like 1990–1995). Want to type that one?
Option + Minus (-)
Just drop the Shift key. The logic here is beautiful. The standard minus key gives you a hyphen. Add Option, it gets a little longer. Add Shift, it reaches its maximum, dramatic length. This specific keybinding hierarchy is one of the few things in modern computing that actually makes perfect, intuitive sense.
The Windows Nightmare: Escaping Typographical Purgatory
Now we arrive at the PC side of the fence. Windows is a brilliant operating system for a lot of things, but native typography has historically not been one of them. For decades, typing a long dash on a Windows machine felt like trying to defuse a bomb using a manual written in a language you barely speak.
Let’s rip the band-aid off and look at the old way first, just so you understand the pain our ancestors endured.
The Ancient Alt Code Ritual
If you worked in an office anytime before 2015, you probably had a sticky note attached to your monitor with a highly specific numeric code scrawled on it. To type an em dash using the legacy Windows method, you must follow this exact, masochistic sequence:
- Verify that your keyboard actually has a dedicated numeric keypad on the right side.
- Ensure the Num Lock key is activated.
- Press and hold the Alt key.
- Type exactly 0151 on the numeric keypad.
- Release the Alt key.
If you used the number row at the top of your keyboard instead of the numpad? Nothing happens. If you forgot the leading zero? You get a completely different, bizarre character. If you are working on a modern, sleek laptop that omitted the numpad to save space? You are completely out of luck.
This method is archaic. Do not use it unless you are stranded on a desert island with nothing but a beige mechanical keyboard from 1998.
The Modern Windows Savior: The Emoji Panel
Thankfully, Microsoft finally realized that human beings occasionally want to type properly without memorizing four-digit ASCII codes. They quietly introduced a global shortcut that solves this problem instantly, though they hid it inside a menu mostly used for sending smiley faces.
Press Windows Key + Period (.)
A small, floating panel will pop up on your screen. At first glance, it is just a wall of emojis. But look closer. At the top of that little window, you will see a few tabs. One of those tabs looks like a cluster of symbols (usually represented by an Omega sign or a mathematical symbol). Click that.
Scroll down slightly to the “General Punctuation” section. Right there, nestled among the brackets and bullet points, is your em dash. Click it, and it drops into your text. Even better, Windows remembers your recently used symbols. Once you click it the first time, it will permanently live in the “Recently Used” tab of that panel, making it a quick two-second operation going forward.
The Ultimate Fix: PowerToys Quick Accent
If you write for a living on a Windows machine, clicking through an emoji menu every five minutes will drive you insane. You need a dedicated, instantaneous keystroke.
Enter Microsoft PowerToys.
This is a free suite of system utilities developed by Microsoft in collaboration with the open-source community. You download it directly from the Microsoft Store or GitHub. It contains a module called “Quick Accent.”
Once you install PowerToys and enable Quick Accent, the game changes entirely. You simply hold down the hyphen key and briefly tap the Spacebar or the Left/Right arrow keys. A tiny overlay appears at the top of your screen, letting you instantly select an en dash or an em dash. It simulates the exact, fluid feeling of typing on a Mac, completely bypassing the need for a numpad or a clunky pop-up menu.
The Software Auto-Format Roulette
Maybe you do not care about system-level shortcuts. Maybe you spend 99% of your life inside a single word processor and you just want that specific program to handle the heavy lifting. Fair enough.
Most modern writing software includes an AutoCorrect feature designed specifically to turn two consecutive hyphens into an em dash. But this process is highly volatile. It works until it abruptly decides to stop working.
Microsoft Word
Word has a built-in AutoFormat rule that is supposed to trigger automatically. You type a word, type two hyphens without any spaces, type the next word, and hit the spacebar.
Word–Word becomes Word—Word.
But sometimes it fails. If your formatting gets weird, you need to dig into the guts of the software to fix it. Go to File > Options > Proofing > AutoCorrect Options. Click the tab labeled “AutoFormat As You Type.” Look for the checkbox that says “Hyphens (–) with dash (—).” If that box is unchecked, Word will never help you. Check it, save your settings, and your double-hyphen trick will start working again.
Google Docs
Google Docs handles this almost identically to Word, but the menu path is different. If your double hyphens are staying stubbornly separated, navigate to the top menu.
Click Tools > Preferences > Substitutions.
You will see a massive list of automatic text replacements. Scroll down until you see the entry where `–` is set to be replaced by `—`. Ensure the little checkmark box next to it is active. If the entry does not exist at all, you can manually create it right there in the empty boxes at the top of the list.
Scrivener
Novelists and long-form researchers love Scrivener, but its text-replacement engine can be finicky depending on whether you are using the Mac or Windows version. On Windows, go to File > Options > Corrections. Click the “Edit Substitutions” button. You can manually add the double-hyphen to em-dash rule here.
On Mac, Scrivener actually relies on the global macOS text replacement engine. So if it stops working in Scrivener, you need to fix it in your main Apple System Settings under Keyboard > Text Replacements.
The Ultimate Punctuation Cheat Sheet
Let’s organize this chaos. If you are constantly bouncing between different devices, operating systems, and programs, keeping these methods straight is exhausting. Here is a definitive breakdown of every reliable method to conjure an em dash out of thin air.
| Operating System / Software | The Method | Reliability Score |
|---|---|---|
| macOS (Global) | Press Option + Shift + Minus |
100% (Flawless) |
| Windows (Numpad) | Hold Alt and type 0151 on the numpad |
90% (Requires specific hardware) |
| Windows (Emoji Panel) | Press Win + ., navigate to Symbols > General Punctuation |
100% (Slightly slow) |
| Windows (PowerToys) | Hold Hyphen, tap Spacebar | 95% (Requires third-party install) |
| iOS (iPhone / iPad) | Press and hold the hyphen key on the digital keyboard, slide right | 100% (Very intuitive) |
| Android (Gboard) | Press and hold the hyphen key, select the longest dash | 100% (Universal on modern Android) |
| Microsoft Word | Type Word--Word and press Space |
85% (Fails if AutoCorrect is disabled) |
| Google Docs | Type Word--Word and press Space |
85% (Fails if Substitutions are disabled) |
| HTML (Raw Code) | Type — or — |
100% (Essential for web developers) |
Why Is It Even Called an “Em” Dash?
To truly respect this punctuation mark, you need to understand where it came from. We are dragging you back to the era of physical printing presses. Imagine a massive, loud room filled with wooden trays containing thousands of tiny, reverse-cast metal letters.
Typesetters had to manually align every single character to build a page of text. They used small blocks of blank lead to create spaces between words. The standard, baseline unit of measurement in typography was based on the width of the capital letter ‘M’ in whatever font size they were currently using. If they were printing in 12-point type, an “em” was exactly 12 points wide.
The em dash is a horizontal line that takes up the exact width of that capital ‘M’.
Similarly, the en dash takes up the width of a capital ‘N’, making it roughly half the size. The hyphen is even smaller, designed purely to break words across lines or join compound modifiers without creating a massive visual gap in the sentence.
When the first mechanical typewriters were invented in the late 19th century, engineers faced a massive problem. They had to fit an entire alphabet, numbers, and punctuation onto a tiny mechanical footprint. They simply did not have room for three different horizontal lines. They kept the hyphen and threw the en dash and em dash in the trash, forcing writers to mash the hyphen key twice to simulate the longer marks.
We are still paying the price for that engineering compromise over a hundred years later. Your modern, glowing, Bluetooth-enabled mechanical keyboard is still carrying the layout limitations of a rusty 1890s typewriter.
The Spacing Debate That Ruins Friendships
Once you figure out how to type the thing, you immediately run into a highly toxic, deeply entrenched stylistic civil war.
Do you put spaces around an em dash?
If you ask three different professional editors this question, you will get four different screaming arguments. The answer depends entirely on which style guide rules your particular industry.
Let’s look at the Associated Press (AP) Stylebook first. This is the bible for journalists, news organizations, and most digital media outlets. AP style explicitly dictates that you must place a single space on either side of an em dash. Like this — see? The logic here is highly practical. Early internet browsers and cheap newspaper typesetting software had a nasty habit of treating unspaced em dashes as a single, unbreakable block of text. If a word fell at the end of a column, the lack of spaces would force the entire chunk to the next line, leaving massive, ugly white gaps in the text. Adding spaces allowed the text-wrapping algorithms to breathe.
Then you have the Chicago Manual of Style. This is the undisputed heavy hitter for book publishing, academia, and serious literary fiction.
Chicago style hates spaces.
According to their incredibly strict rules (specifically outlined in section 6.85 of the 17th edition), an em dash should be completely flush against the words it separates—like this. They argue that the em dash is already wide enough to provide visual separation. Adding spaces on top of that creates massive, distracting holes in the paragraph block. If you submit a manuscript to a traditional publisher with spaces around your dashes, they will silently judge you before running a macro to delete every single one of them.
Pick a side. Stick to it. Just do not mix them up in the same document unless you want your readers to subconsciously distrust you.
Taking Total Control: Building a Custom Macro
Let’s say you are a true power user. You refuse to rely on AutoCorrect. You refuse to open an emoji panel. You want a single, dedicated button on your keyboard to instantly fire an em dash into whatever application you are using, bypassing the operating system entirely.
You need a macro.
If you are on Windows, the undisputed king of custom keyboard scripting is AutoHotkey (AHK). It looks intimidating because it requires writing a few lines of raw code, but it is actually incredibly straightforward. Here is exactly how you map your keyboard to do your bidding.
- Download and install AutoHotkey from their official website.
- Right-click anywhere on your desktop, select New, and choose AutoHotkey Script.
- Name the file something obvious, like
DashFix.ahk. - Right-click that new file and open it in Notepad.
- Delete whatever sample text is in there, and paste this exact line of code:
!-::Send, — - Save the file and close Notepad.
- Double-click the script file to run it. A little green ‘H’ icon will appear in your system tray.
What did you just do? You told your computer’s low-level input system that whenever you press Alt (represented by the `!`) and the Minus key (`-`) at the same time, it should instantly spit out a true em dash (`—`). This script intercepts the keystroke before Microsoft Word, Google Chrome, or Discord even knows what happened. It is bulletproof. It works everywhere.
If you fall down the mechanical keyboard rabbit hole, you can take this even further. Keyboards that support QMK or VIA firmware allow you to flash specific keycodes directly onto the physical microprocessor inside the keyboard. You could map the useless Scroll Lock key to output an em dash. At that point, you can plug your keyboard into any computer—Mac, Windows, Linux—and your custom dash button will work flawlessly without installing any software at all.
Mobile Devices: The Hidden Long Press
We do a massive amount of our writing on glass screens now. Typing a long dash on a smartphone used to be a nightmare of copying and pasting from Wikipedia articles. Thankfully, Apple and Google eventually sorted this out.
On an iPhone, open your digital keyboard and tap the `123` button to access the numbers and punctuation. Find the standard hyphen key. Do not just tap it. Press your thumb against it and hold it down for about half a second. A small bubble will pop up above your finger displaying three options: a hyphen, an en dash, and an em dash. Keep your thumb on the glass, slide it over to the longest dash, and let go. Boom.
Android devices using Gboard function exactly the same way. Hold the hyphen, wait for the pop-up, slide, and release. It is arguably the most intuitive method out of all the operating systems, relying entirely on physical gesture logic rather than abstract memorization.
Why Are We Fighting So Hard For a Line?
You might be sitting there wondering why any of this actually matters. Why go through the trouble of downloading PowerToys, writing AutoHotkey scripts, or arguing about Chicago style spacing rules? Why not just use commas?
Because pacing is everything.
Writing is not just about transferring raw data from my brain into yours. It is about controlling the speed, the rhythm, and the emotional resonance of the information. A comma is a polite pause. A period is a hard stop. Parentheses are a whispered secret.
An em dash? An em dash is a sudden, violent interruption.
It mimics the chaotic, disjointed way human beings actually speak. When you are telling a story at a bar, you do not speak in perfectly structured, grammatically flawless sentences. You start a thought, suddenly realize a crucial piece of context is missing, inject that context right in the middle of your sentence, and then finish the original thought. The em dash is the only punctuation mark aggressive enough to handle that specific cognitive pivot.
Look at this sentence: The suspect, a tall man wearing a heavy coat, ran down the alley.
It is fine. It works. But it feels clinical. It reads like a police report.
Now look at this: The suspect—a remarkably tall man wearing a heavy wool coat in the middle of July—sprinted blindly down the alley.
The dashes force your eyes to stop. They isolate that weird detail about the heavy coat in the summer heat. They demand attention. If you replace those elegant lines with double hyphens, the visual spell breaks. The reader is suddenly reminded they are looking at text on a screen, generated by a cheap keyboard. You lose the immersion.
The Final Word on Typographical Sanity
We live in an era where we can instantly beam high-definition video across the planet, yet we are still fighting our operating systems over basic punctuation. It is absurd.
But you do not have to be a victim of bad software defaults. You have the tools now. If you are on a Mac, you have zero excuses—hit Option, hit Shift, hit Minus, and get on with your life. If you are on Windows, take ten minutes today to set up PowerToys or an AutoHotkey script. Stop relying on Microsoft Word to guess what you mean. Stop accepting those ugly double hyphens in your emails.
Take control of your keyboard. Your readers—whether they consciously realize it or not—will thank you for it.