Hold the Alt key then type 164 on the numeric keypad to create a lowercase ñ. For the uppercase Ñ, hold the Alt key then type 165.

Hold the Alt key then type 164 on the numeric keypad to create a lowercase ñ. For the uppercase Ñ, hold the Alt key then type 165.