For the Spanish ñ, press Ctrl + ~, then the n key.
How to do the n in Spanish on laptop?
Hold down the "Alt" key, and then type "164" using the numerical keypad to create a lowercase "ñ," or type "165" to create an uppercase "Ñ." On some laptops, you must hold down both the "Fn" and "Alt" keys while typing the numbers.
How do you put a tilde over an N?
Press the Shift and tilde (~) keys at the same time. Release them and then press the “n” key.