To type enye on a laptop without a numeric keypad, open Character Map and copy ñ, or add the United States-International layout and press Right Alt + N. Alt codes such as Alt + 0241 only work with a numeric keypad and Num Lock on.
Tap a letter to copy it.
With a numpad
Turn on Num Lock.
Hold Alt and type 0241 on the numeric keypad for ñ, or 0209 for Ñ.
Open the Activities overview and start the Characters app to find and insert ñ. Or press Ctrl + Shift + U, type 00f1 for ñ or 00d1 for Ñ, then press Space or Enter.
Add the Spanish keyboard: go to Start > Settings > Time & language > Language & region, open Language options for your language, select Add a keyboard and choose Spanish.
Switch to it by holding the Windows logo key and pressing Spacebar.
Press the key to the right of L (the ; key on a US keyboard) for ñ, or hold Shift and press it for Ñ.
Other keys can also type different characters on this layout, so switch back when you are done.
Character Map, the emoji panel and keyboard layouts are part of Windows, so these steps are the same on Windows laptops from HP, Dell, Lenovo, Acer, Asus and other brands.
Go to Start > Settings > Accessibility > Keyboard and turn on On-Screen Keyboard.
Select Options, then turn on numeric keypad.
Microsoft's help for the On-Screen Keyboard does not describe typing Alt codes with it, so this guide does not list that step. To get ñ without a numpad, use Character Map or the US-International layout.
Alt + 0241 for ñ and Alt + 0209 for Ñ, typed on a numeric keypad with Num Lock on. The number keys across the top of the keyboard do not work for Alt codes.