The fastest way depends on your device and what you're typing

Adding accents to letters like é, ñ, or ü is straightforward once you know which method works for your device. Windows, Mac, and mobile phones each have different built-in shortcuts — no special software needed. The method you choose depends on whether you need accents occasionally or regularly, and whether you're on a computer or phone.

If you only need accents now and then, holding down a key usually works. If you type accented letters often — for Spanish, French, Portuguese, or other languages — you might want to set up a faster method. The good news is that every device has at least two ways to do this.

Key Takeaways

  • On Windows, hold Alt and type a four-digit number code on the numeric keypad to insert accented letters.
  • On Mac, hold Option and press a key (like e for accents), then type the letter you want to accent.
  • On iPhone and Android, press and hold a letter to see accent options, then tap the one you need.
  • If you type accented letters often, you can add a second keyboard language to your device for faster typing.
  • Copy-and-paste works on any device if you need a single accented letter and don't know the shortcut.

Windows: Alt codes and the numeric keypad

The most common method on Windows is using Alt codes. Hold down the Alt key on your keyboard, type a specific four-digit number on the numeric keypad (the numbers on the right side of your keyboard), then release Alt. The accented letter appears where your cursor is.

Common Alt codes include: Alt+0233 for é, Alt+0241 for ñ, Alt+0252 for ü, Alt+0224 for à, and Alt+0249 for ù. You must use the numeric keypad on the right side of your keyboard — the number row at the top will not work. If your keyboard doesn't have a numeric keypad (common on laptops), you may need to enable Num Lock or use the alternative method below.

If Alt codes feel cumbersome, Windows also lets you hold a key down to see accent options. Press and hold a letter like e, and a small menu pops up showing é, è, ê, ë and others. Tap the number below the accent you want, or click it. This works the same way as on phones.

Mac: Option key combinations

On Mac, hold Option (also labeled Alt) and press e, then release both keys and type the letter you want to accent. For example, Option+e then a gives you á. Option+e then e gives you é. This works for acute accents (slanting right: á, é, í, ó, ú).

For other accents, use different Option combinations: Option+` (backtick, top left of keyboard) then a letter gives you à, è, ì, ò, ù (grave accents, slanting left). Option+u then a letter gives you ä, ë, ï, ö, ü (umlauts). Option+n then n gives you ñ. Once you learn a few, the pattern becomes automatic.

If you forget the combination, you can also hold down a letter on your Mac keyboard and a menu of accents appears — the same as Windows. Press the number shown below the accent you want.

iPhone and Android: Press and hold

On both iPhone and Android, press and hold any letter and a menu of accented versions appears above your finger. For example, hold e and you see é, è, ê, ë. Tap the accent you need and it types into your message or document. This works in any app — messages, email, notes, browsers.

The accents shown depend on the letter. Holding c shows ç. Holding n shows ñ. Holding a shows à, á, â, ä, æ. If you don't see the accent you need, try holding the letter longer — sometimes additional options appear if you swipe left or right while the menu is open.

Adding a second keyboard language for frequent typing

If you type in another language regularly, adding that language's keyboard to your device is faster than using shortcuts every time. On Windows, go to Settings > Time & Language > Language & Region, click your language, then select Options and add a keyboard layout (like Spanish, French, or Portuguese). On Mac, go to System Settings > Keyboard > Input Sources and add the language you need.

Once added, you can switch between keyboards using a keyboard shortcut (usually Ctrl+Shift on Windows, or Command+Space on Mac). When you switch to the Spanish keyboard, for example, typing normally produces accented letters where they belong. You can switch back to English whenever you need to.

On iPhone, go to Settings > General > Keyboard > Keyboards, tap Add New Keyboard, and select the language. On Android, open Settings > System > Languages & Input > Virtual Keyboard, select your keyboard app (like Gboard), and add the language there. You'll see a globe icon on your keyboard to switch between languages.

Copy and paste when you don't know the shortcut

If you need a single accented letter and don't remember the code or combination, the simplest method is to search for it online, copy it, and paste it where you need it. Open a search engine, type the letter you want (like "é" or "ñ"), copy the result, and paste it into your document or message. This takes 10 seconds and works on any device.

This method is not practical if you need many accented letters, but it's useful as a backup when you're stuck. Many people keep a small text file on their computer with the accented letters they use most, so they can copy from there instead of searching each time.

Frequently Asked Questions

Why doesn't the Alt code work on my Windows laptop?

Laptops often don't have a separate numeric keypad. Try enabling Num Lock (usually Fn+Num Lock), then use the number keys on the right side of your keyboard. If that doesn't work, use the hold-down method instead: press and hold the letter e, and a menu of accents appears.

Can I type accents in all programs?

Yes. Accents work in email, web browsers, word processors, messaging apps, and most other programs. The shortcut or hold-down method works the same way everywhere. If a program seems to reject accented letters, it's usually a font issue, not a typing issue — the program can receive the letter but can't display it.

What if I need accents I don't see in the hold-down menu?

The menu shows the most common accents for each letter. If you need a less common one, use the Alt code (Windows) or Option combination (Mac) instead. You can also search online for the specific letter and copy it.

Do I have to choose one method and stick with it?

No. You can use Alt codes sometimes, hold-down menus other times, and copy-paste when you're stuck. Most people mix methods depending on the situation. If you find yourself typing accents constantly, that's when adding a second keyboard language becomes worth the setup time.