How to type @ on a U.S. keyboard
⇧ Shift+2
Hold Shift and press “2”.
Not your keyboard? You are viewing: U.S.
Try it on your keyboard: the keys you press light up.
What is the at sign for?
The at sign separates the user name from the domain in an email address: jane.doe@example.com. It is also used to mention someone on social networks and in chat apps (@jane).
In programming, its role depends on the language:
- decorators in Python (
@property) and annotations in Java (@Override); - CSS at-rules such as
@mediaor@import; - instance variables in Ruby (
@name).
Pitfalls
- Getting “<” instead of “@”? On a Mac with an ISO keyboard, macOS may have identified it as ANSI, which swaps two keys. See The @ key types < (or the other way round) on a Mac.
- Different layout: on a French or Spanish Mac, the at sign is somewhere else. On French – Numerical: @; on Spanish: ⌥ Option+2.
- Do not confuse the at sign with ª (feminine ordinal indicator, used in Spanish and Portuguese), which some layouts also offer.
@ on each layout
| System | Layout | Key combination |
|---|---|---|
| macOS | French – Numerical | @ |
| macOS | French | @ |
| macOS | Belgian | @ |
| macOS | Swiss French | ⌥ Option+G |
| macOS | Canadian Multilingual (CSA) | ⇧ Shift+2 |
| macOS | Canadian French | ⇧ Shift+2 |
| macOS | Spanish | ⌥ Option+2 |
| macOS | Latin American | ⌥ Option+Q |
| macOS | U.S. | ⇧ Shift+2 |
| macOS | ABC | ⇧ Shift+2 |
| macOS | U.S. International – PC | ⇧ Shift+2 |
Other methods
Character Viewer
Press fn + E (or Control + Command + Space) to open the Character Viewer, search for “@” by name, then double-click it to insert it.
Text replacement
In System Settings › Keyboard › Text Replacements, map a shortcut (for example “;;x”) to the character @: it will be inserted automatically in most apps.
@ technical details
| Unicode code point | U+0040 |
|---|---|
| Official Unicode name | COMMERCIAL AT |
| HTML entity | @ |
| CSS | content: "\40"; |
| JavaScript / JSON | "\u0040" |
| UTF-8 bytes | 40 |
| URL encoding | %40 |
The official name comes from the Unicode Character Database (ICU).
Related characters
Having trouble?
Report a mistake
The combination does not work for you? Tell us what happens (macOS version, keyboard, what appears).