The quickest way to type an em dash (—) on Windows 11 or Windows 10 is to hold Alt and type 0151 on the numeric keypad, with Num Lock on. No keypad? Press Windows logo key + period (.), open the Symbols tab and pick the em dash from the punctuation set. In Microsoft Word, typing two hyphens between words also turns into an em dash automatically.
Em dash, en dash or hyphen?
Three dash-like marks look similar but do different jobs, and Windows types each one differently:
- Hyphen (-): the key next to 0. It joins words, as in “well-known” or “check-in.”
- En dash (–): about the width of a letter n. It shows ranges, such as “pages 12–18” or “Monday–Friday.” Its Alt code is 0150.
- Em dash (—): about the width of a letter m, the longest of the three. It marks a sharp break or an aside, as in “Priya finished the report—all forty pages—before lunch.” Its Alt code is 0151, and its Unicode value is U+2014.
In US writing, an em dash usually has no spaces on either side.
Type an em dash with the Alt code (keyboards with a number pad)
This works in almost any Windows app: Word, Outlook, a browser, Notepad, chat apps.
- Click where you want the dash.
- Make sure Num Lock is on. Most keyboards have a small light for it; if the number pad moves the cursor instead of typing digits, press Num Lock.
- Hold down the Alt key (either side works, but the left one leaves your right hand free).
- While holding Alt, type 0, 1, 5, 1 on the numeric keypad. Include the leading zero.
- Let go of Alt. The em dash appears at the cursor.
Use the same steps with 0150 for an en dash. Microsoft’s Windows keyboard tips list both codes and point out that Alt codes only work with the numeric keypad. The Spanish opening question mark works the same way with Alt + 0191, and how to type an upside-down question mark covers laptops without a keypad too.
That’s the most common reason the code “doesn’t work”: the number keys across the top of the keyboard won’t do it, even though they type the same digits. Holding Alt and typing 0151 on the top row usually does nothing, or triggers a menu shortcut instead.
Use the emoji panel’s Symbols tab (any laptop)
Many laptops have no separate number pad, so the Alt code is out. The emoji panel is built into Windows and works in most places you can type.
- Click where you want the dash.
- Press Windows logo key + period (.). Windows logo key + semicolon (;) opens the same panel.
- Select the Symbols tab at the top of the panel.
- Choose the General punctuation set, then select the em dash. It’s the longest of the dashes shown; hover over the dashes to compare.
Next time, the em dash shows up in the panel’s recently used list, so it’s one click away. The same panel holds emoji, accented letters and many other symbols; this rundown of getting emojis on Windows explains the tabs and what to do if the shortcut doesn’t open anything.
Other ways that work anywhere in Windows
Character Map
- Search Start for Character Map and open it.
- Tick Advanced view, then type em dash in the Search for box and select Search.
- Double-click the em dash, select Copy, and paste it into your document with Ctrl + V.
Character Map is slower for everyday typing, but it’s handy for confirming you have the right character, because the status bar shows its name and code.
Touch keyboard
On a touchscreen PC, or with the touch keyboard turned on from the taskbar, press and hold the hyphen key. On many layouts a small row of related characters pops up; if the dashes are among them, slide to the em dash and let go. If not, use the emoji panel instead.
Copy and paste
If you only need one dash, copy it from a document that already has one and paste it. This is also a reasonable fallback inside apps that block the emoji panel. Turning on clipboard history with Windows + V keeps a copied dash ready to reuse, as described in this guide to the Windows clipboard.
Shortcuts in Microsoft Word
Word for Microsoft 365 adds faster options of its own:
- Ctrl + Alt + Minus sign on the numeric keypad inserts an em dash, and Ctrl + Minus sign on the numeric keypad inserts an en dash. Microsoft lists both on its Word keyboard shortcuts page. Like Alt codes, these need the keypad’s minus key, not the hyphen key next to 0.
- Type two hyphens: type a word, two hyphens and the next word with no spaces (for example, ready–until), then press Space. Word’s AutoFormat As You Type feature replaces the hyphens with an em dash. If you put spaces around a single hyphen instead (ready – until), Word turns it into an en dash.
- Type the Unicode value: type 2014 and immediately press Alt + X. Word converts the code into an em dash. Use 2013 for an en dash.
- Use the Symbol menu: go to Insert > Symbol > More Symbols, open the Special Characters tab, select Em Dash and choose Insert. The same tab shows Word’s shortcut for it.
If the two-hyphen trick doesn’t convert, the option is switched off. Go to File > Options > Proofing > AutoCorrect Options, open the AutoFormat As You Type tab and tick Hyphens (–) with dash (—). Microsoft’s AutoFormat As You Type page describes exactly when Word makes each dash. The conversion happens when you finish the next word and press Space, so it can look as if nothing happened until then. If Word converts a pair of hyphens you wanted to keep, press Ctrl + Z right away to undo just the change.
Google Docs and other apps
In Google Docs on the web, open Insert > Symbols > Special characters, then search for the dash, browse the punctuation category or draw it, and click it to insert. The same menu is useful for other characters too, such as when you insert a degree symbol in Google Docs. Classic Outlook for Windows uses Word’s editor, so the Word shortcuts usually work there; in the new Outlook, use the Alt code or the emoji panel. In plain-text apps like Notepad, stick to the Alt code or the emoji panel.
When the em dash won’t appear
- Nothing happens with Alt + 0151. Check that Num Lock is on and that you’re using the keypad digits. On some laptops, a numeric overlay on the letter keys exists but requires a Fn key combination; your PC maker’s manual explains it. If in doubt, use the emoji panel.
- A different character appears. You may have typed 151 without the leading zero, which can produce a different symbol. Delete it and type all four digits, 0151.
- The emoji panel doesn’t open. Click inside a text box first; the shortcut only works where you can type. Some full-screen games and older apps ignore it.
- The dash shows as a box or question mark. The font or app can’t display the character. Switch to a common font such as Calibri, Arial or Segoe UI.
- A website turns your dash into two hyphens. Some forms only accept basic characters. There’s nothing to fix on your PC; the site is converting it.
Common questions about the em dash
Is there a Windows key shortcut for dashes now?
Windows 11 test builds have been reported to add Windows logo key + Shift + Minus for an em dash, but that shortcut isn’t on Microsoft’s official Windows keyboard shortcut list, so don’t count on it. Try it; if nothing happens, use the methods above. Windows logo key + Minus on its own zooms out in Magnifier.
Can I make my own em dash shortcut?
Inside Word, yes: on the Special Characters tab, select Em Dash, choose Shortcut Key and press the combination you want. For a shortcut that works everywhere in Windows, you’d need a third-party key-remapping tool; only install one from its official site, and remember it runs in the background all the time.
How do I type an em dash on a Mac keyboard used with Windows?
The Mac shortcut (Option + Shift + hyphen) doesn’t carry over to Windows. Treat the Mac keyboard like any keyboard without a number pad and use the emoji panel.
If you write a lot of special characters, the methods for typing accents on Windows use the same panel and Alt codes, so learning one set covers both.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.