Short answer

On many HP laptops, the top-row keys control volume or brightness. Hold Fn for F1 to F12. To swap that, use the fn lock if your laptop has one. Otherwise restart, tap F10 to open the BIOS, and set Action Keys Mode to Disabled.

“Turn on” and “turn off” function keys is the same setting, in opposite directions:

You want A top-row key alone gives you Action Keys Mode
F1 to F12 (games, Excel, F5 to refresh) F1, F2 … F12 Disabled
Volume and brightness (the HP default) Volume, brightness, mute … Enabled
Advertisement

Either way, hold Fn to get the other job of the key.

Quick way: the fn lock

Some HP laptops switch with two keys. It works at once, with no restart.

  1. Look for a key with a small padlock and fn printed on it. On many ProBook and EliteBook laptops, it is the left Shift key.
  2. Hold Fn and press that key. A light on the Fn key turns on: the fn lock is on.
  3. Press a top-row key to check. Press the same two keys again to switch back.

No padlock key? Use the BIOS below.

Change Action Keys Mode in the BIOS

HP, Pavilion, Envy, OMEN, Victus

  1. Save your work and turn the laptop off.
  2. Turn it on and tap F10 about once a second until BIOS Setup opens. If it doesn’t, restart, tap Esc to open the Startup Menu, then press F10.
  3. Use the arrow keys to open the System Configuration tab.
  4. Select Action Keys Mode and press Enter.
  5. Choose Disabled for F1 to F12 without Fn, or Enabled for volume and brightness without Fn.
  6. Press F10, then choose Yes to save and restart.

EliteBook, ProBook, ZBook

Business laptops name the setting differently. Open the BIOS with F10 as on the other tab, then look for one of these:

  • Advanced System Options, then Launch Hotkeys without Fn Keypress. Turn it off for F1 to F12 without Fn.
  • On older G1 models: Advanced Device Configuration, then Fn Key switch.

Press F10 to save and restart.

Advertisement

The menus differ between models. If you can’t find the option, your laptop may not have it: use the fn lock or hold Fn.

Function keys not working at all

First check that the fn lock isn’t simply on. Then check whether the keys reach the computer.

Test it now

Keyboard tester

Press F1 to F12, with and without Fn. A key that lights up reached this browser. Some special keys may not reach the browser, so a dark key alone doesn’t prove a fault.

Open the keyboard tester
Advertisement

Update HP’s drivers and BIOS

  1. Restart the laptop: Start, the Power button, then Restart.
  2. Open the HP Support Assistant app, or HP’s support site with your laptop’s serial number. Install the latest BIOS and the drivers HP lists for your model.
  3. Still not working? Reinstall the keyboard driver: see how to uninstall a keyboard driver.

Volume keys still dead? See when the volume keys don’t work. For the screen, see brightness on an HP laptop.

More causes and fixes, for any laptop, are in keyboard not working.

Questions people ask

What do the function keys do?

It depends on the app. In Windows, F2 renames the selected file and F5 refreshes the window. F11 makes most browsers full screen, and Alt + F4 closes the window you’re in.

Why did my function keys suddenly swap?

The fn lock was probably turned on by accident. Press the same two keys again, often Fn and the padlock key, to switch back. Other laptops use other keys: see function keys not working.