The enye keyboard shortcut on Windows is Alt + 0241 for ñ and Alt + 0209 for Ñ, typed on the numeric keypad with Num Lock on. On a Mac, press Option + N, then n. On iPhone, iPad and Android, touch and hold the N key.
Tap a letter to copy it.
Windows with a numpad
Turn on Num Lock.
Hold Alt and type 0241 on the numeric keypad for ñ, or 0209 for Ñ.
Release Alt.
Use the numeric keypad, not the number keys across the top of the keyboard.
Touch and hold N on the onscreen keyboard, slide to ñ and release. If ñ is missing, add a Spanish keyboard in Settings > General > Keyboard > Keyboards > Add New Keyboard.
In Gboard, touch and hold N and choose ñ. If ñ is missing, add Spanish: at the top of the keyboard tap Settings, then Languages, then Add keyboard, pick Spanish and a layout, and tap Done.
Touch and hold the N key, then slide to ñ and release. On iPhone, add a Spanish keyboard if it is missing. On Android, add Spanish in Gboard if it is missing.