How to type Spanish accents, the ñ and ¿ ¡ on a keyboard

Published on October 22, 2026

Spanish has characters that do not exist in other languages and that confuse people who are just starting. This is what you need to know to type them on a Spanish-language keyboard.

The ñ

It has its own key, right next to the L. With Shift you get the capital Ñ.

Accents: first the accent, then the vowel

The accent key is to the right of the Ñ. It is a dead key: when you press it nothing appears yet, and the accent is placed on the next vowel you type. In other words: first the accent and then the vowel, not both at once.

For a capital vowel with an accent, press the accent first and then Shift plus the vowel.

The diaeresis (ü)

It is typed with Shift plus the accent key, and then the vowel. For example, for "pingüino" you do it that way with the u.

The marks ¿ and ¡

They are on the number row, to the right of the 0. Each key holds an opening and a closing mark, and which one needs Shift changes by keyboard: the Latin American and the Spain layouts do not match, so look at the keys the first time.

The at sign and other symbols with AltGr

Some symbols are typed with the AltGr key, the one to the right of the space bar. The at sign (@) is AltGr plus Q on the Latin American keyboard, and AltGr plus 2 on the one from Spain.

If pressing a key gives a different symbol from the one printed on it, your keyboard is probably set to another language. In Windows you change it in the language and keyboard settings.

How to practice it

Accents are what trips people up the most at the start: it feels natural to press the accent and the vowel together. The Basic level of the DEDEA course includes an exercise dedicated to the accent, where the cursor does not move until you type it correctly.

More guides