Mojito / Guides

How to type an em dash on a Mac (—)

Shift-Option-Hyphen, in any app. Here’s that, the en dash, and how to stop -- turning into a dash on its own.

What’s the em dash shortcut on a Mac?

Press Shift + Option + Hyphen (the key right of 0). Leave out Shift for the shorter en dash (–).

It works in every app because it’s part of the keyboard layout, not an app feature. That’s the US layout; other layouts can put it elsewhere.

Mojito lets you type ::em and press Return instead, on any keyboard layout.

Other ways to type it

Mojito in Mail: type ::em, press Return, and the em dash replaces the shortcode.

Em dash, en dash, or hyphen?

MarkNameMac shortcutUse it forMojito
—Em dash⇧ ⌥ -A break in a sentence—like this::em_dash
–En dash⌥ -Ranges: Mon–Fri, pages 9–14::en_dash
-Hyphen-Joined words: well-known
−Minus signNoneMath: 5 − 3::minus_sign

The most common slip is a hyphen in a range (Mon-Fri). Use the en dash: ⌥ -.

How do I stop -- turning into —?

That’s Smart Dashes, and it gets in the way when you’re typing code or a flag like --force.

How do I type an em dash on iPhone?

On the 123 keyboard, press and hold the hyphen key, then slide to —.

More dash questions

Should there be spaces around an em dash?

AP style (news) uses spaces ( — ); Chicago and most books don’t (—). Pick one and stay consistent.

What’s the HTML code for an em dash?

— for — and – for –.