N With Tilde ñ

Click the letter to copy ñ, the Spanish n with a tilde. To type it, hold Alt and type 164 on a Windows numeric keypad (165 for capital Ñ), press Option + N and then N on a Mac, or press and hold the N key on a phone.

Latin Small Letter N With Tilde · U+00F1

How to type the n with tilde
UnicodeU+00F1 Latin Small Letter N With Tilde
HTMLñ or ñ
Windows Alt codeAlt + 164 or Alt + 0241 on the numeric keypad
Capital ÑAlt + 165 or Alt + 0209; in HTML Ñ; Unicode U+00D1
MacOption + N, then N. Hold Shift on the second N for Ñ. You can also press and hold the N key and choose from the popup
Spanish keyboardIts own key, to the right of L
US-International layoutRight Alt + N, or type ~ and then n
Microsoft WordCtrl + Shift + ~, then n (or N for the capital)
iPhone and AndroidPress and hold the N key and slide to ñ
ChromebookPress Ctrl + Shift + U, type 00f1, then press Enter
LinuxCompose, then ~, n

Capital Ñ and other Spanish characters

A letter of its own

In Spanish, ñ is not an n with an accent. It is a separate letter of the alphabet, called eñe, that comes after n in the dictionary. It stands for the “ny” sound in señor, mañana and España.

Leaving the tilde off changes the word. Año means “year” and ano means “anus”, so “tengo 30 anos” does not say what the writer intended. Peña (a rock or a club) and pena (sorrow) are another pair. Names such as Muñoz, Peña and Núñez should keep it too.

Where the tilde came from

Medieval Spanish scribes saved space by writing a double n as a single n with a small n above it. The small letter flattened into the wavy line we now call a tilde, and words spelled with nn in Latin, such as annus, became año.

The letter is also used in Galician, Basque, Filipino, Quechua, Guaraní and several other languages. Portuguese writes the same sound as nh and uses the tilde on vowels instead (ã, õ).

Typing it often

If you write Spanish regularly on a US keyboard, switch Windows to the “United States-International” layout: Right Alt + N then gives ñ, and the accented vowels are Right Alt + A, E, I, O and U. On a Mac, press and hold any letter to see its accented forms. For other accented characters and their codes, see the Alt codes list and the guide to typing special characters.

Frequently asked questions

What is the Alt code for ñ?

Hold Alt and type 164 on the numeric keypad for ñ, or 165 for capital Ñ. The four-digit codes Alt + 0241 and Alt + 0209 also work.

How do I type ñ on a laptop without a number pad?

Switch to the United States-International keyboard layout and press Right Alt + N, or press Windows + period and pick ñ from the symbol panel. In Word, press Ctrl + Shift + ~ and then n.

How do I type ñ on a Mac?

Press Option + N, release, then press N. Or press and hold N and pick ñ from the menu that appears.

How do I type ñ on a phone?

Press and hold the N key on the iPhone or Android keyboard and slide to ñ.

Is ñ a separate letter from n?

In Spanish, yes. It is the fifteenth letter of the alphabet, placed after n, and words spelled with it are listed separately in dictionaries.