The rule at a glance

Spanish needs ñ, á é í ó ú, ü and ¿ ¡, and they change meaning: año (year) is not ano.

  • Windows

    Alt + 164

    ñ (hold Alt, type 164 on the number pad)

  • Mac

    hold n

    ñ (hold any vowel for its accents; or Option + n, then n)

  • Phone or tablet

    long-press n

    ñ (long-press any vowel for its accent)

  • Start with three

    ñ · ¿ · ¡

    they cover most of what beginners write

  • No shortcut to hand? Tap a character below to copy it.

Copy a character

Tap or click a character to copy it, then paste it where you are typing.

How to type them

On Windows, hold Alt and type the code on the number pad. On a Mac, the quickest way is to press and hold the letter (hold n, then pick ñ from the menu or press its number); the Option combinations in the table also work: press the combination, let go, then type the letter. The codes are the same on UK and US keyboards.

Letters
NameWindows (Alt code)Mac
ñn with tildeAlt + 164Option + n, n
áa with acute accentAlt + 0225Option + e, a
ée with acute accentAlt + 0233Option + e, e
íi with acute accentAlt + 0237Option + e, i
óo with acute accentAlt + 0243Option + e, o
úu with acute accentAlt + 0250Option + e, u
üu with diaeresis (umlaut)Alt + 0252Option + u, u
Ñcapital N with tildeAlt + 165Option + n, Shift + n
Punctuation
NameWindows (Alt code)Mac
¿inverted question markAlt + 168Option + Shift + ?
¡inverted exclamation markAlt + 173Option + 1
«opening guillemet (quotations)Alt + 174Option + \
»closing guillemetAlt + 175Option + Shift + \

Windows: the easier AltGr way

AltGr is the key to the right of the space bar. Add the UK Extended layout: Settings → Time & Language → Language → English (UK) → Options → Add a keyboard → UK Extended.

AltGr shortcuts (UK Extended)

AltGr + a = á, AltGr + e = é, AltGr + i = í, AltGr + o = ó, AltGr + u = ú

AltGr + #, then n = ñ

¿ and ¡ still use Alt + 168 and Alt + 173

Why AltGr is easier

Intuitive: AltGr + a = á

Fast: one key combination

Easy: no numbers to memorise

Phones and tablets

iPhone, iPad, Android

Long-press a letter to see its accents (hold n for ñ).

Add a Spanish keyboard in Settings to get ñ, ¿ and ¡ keys.

Shortcuts not working?

Copy a character from the bar above.

On a Mac, open Character Viewer: Ctrl + Cmd + Space.

Why they matter

The marks are part of the spelling: they show how a word is said (see syllables and stress) and often what it means. Ñ is a letter of the Spanish alphabet, not an n with decoration.

1. ñ is a letter of its own

It changes the word: año is "year", ano is "anus".

año – year

niño – child

español – Spanish

2. Accents mark the stressed syllable

They can also change the meaning: papá (dad), papa (pope); sí (yes), si (if).

teléfono – telephone

café – coffee

música – music

3. ü: say the u in gue and gui

pingüino – penguin

lingüística – linguistics

4. ¿ and ¡ open questions and exclamations

They warn the reader what kind of sentence is coming.

¿Cómo te llamas? What's your name?

¿Dónde vives? Where do you live?

¡Qué bonito! How beautiful!

¡Hasta mañana! See you tomorrow!

Common mistakes

Leaving out the opening marks

Not this (incorrect): Como estas? Que bonito!

But this (correct): ¿Cómo estás? ¡Qué bonito! – How are you? How beautiful! Spanish opens questions with ¿ and exclamations with ¡, and question words take an accent.

Typing n instead of ñ

Not this (incorrect): Tengo veinte anos.

But this (correct): Tengo veinte años. – I'm twenty years old. Without the tilde, años becomes a very different word.

Dropping an accent that changes the word

Not this (incorrect): Mi papa trabaja en Madrid.

But this (correct): Mi papá trabaja en Madrid. – My dad works in Madrid. papa is the pope; papá is dad.

Can't remember the codes? Don't learn them all at once: start with ñ (Alt + 164), ¿ (Alt + 168) and ¡ (Alt + 173). You don't need a Spanish keyboard.

Quick check

8 questions
  1. 1. Why is the ñ important in Spanish? What's the difference between 'ano' and 'año'?

  2. 2. When does Spanish use inverted punctuation marks (¿ and ¡)?

  3. 3. What do accent marks (á, é, í, ó, ú) show in Spanish?

  4. 4. What's the difference between 'papa' and 'papá'?

  5. 5. If you can't type special characters, what's the quickest solution?

  6. 6. How do you type Spanish characters on a smartphone?

  7. 7. Is the letter ñ found in other languages besides Spanish?

  8. 8. For beginners, which 3 special characters are MOST important to learn?

Test your knowledge of Spanish special characters and why they matter:

Next steps

Going further

UK vs US Mac keys, more ways to make typing easier, writing examples

UK vs US Mac keyboards

The Spanish characters use the same shortcuts on both layouts; only a few symbols differ:

SymbolUK MacUS Mac
€Option + 2Option + Shift + 2
@Shift + 2Shift + 2
£Shift + 3Option + 3
#Option + 3Shift + 3

More ways to make typing easier

Use auto-replace

Set up "n~" → "ñ" in your word processor.

Change layout

US International keeps QWERTY but adds Spanish characters.

Practise daily

Type one Spanish sentence a day: how fast can you type "¿Cómo estás?"

More examples

¿Cuántos años tienes? How old are you?

¡Feliz cumpleaños! Happy birthday!

Writing examples

Email

Asunto: Reunión del próximo año

Estimado señor García:

¿Podríamos reunirnos el próximo año para hablar del proyecto de lingüística?

¡Muchas gracias por su tiempo!

Atentamente,
María López

Document

Título: El niño y la educación

En la universidad, estudiamos cómo aprende el niño el español.

¿Es importante la pronunciación? ¡Por supuesto!

El pingüino vive en el sur, pero el niño vive en España.