How to Type Underscore on Keyboard: Easy Step-by-Step Guide
Dec 5, 2026
Typing an underscore (_) on your keyboard is a simple yet essential skill, especially useful for creating email addresses, usernames, file names, or coding. Hold down the Shift key: Press and hold the Shift key with one finger. Press the hyphen/underscore key: While continuing to hold Shift , press the key that has the hyphen and underscore symbols (usually the key immediately right of the zero (0) key). Not holding the Shift key: Pressing the hyphen key without Shift will type a hyphen (-), not an underscore (_). Confusing underscore with hyphen or dash: The underscore (_) is a low horizontal line, while hyphens (-) and dashes (– or —) are different characters used for different purposes. Use the on-screen keyboard: If you’re unsure about your physical keyboard layout, both Windows and Mac provide on-screen keyboards that show key mappings, including underscores.
Show More Show Less 