What clearing a keybind in FiveM actually does

Clearing a keybind in FiveM removes the keyboard shortcut you assigned to a specific action in the game. When you clear it, that action no longer responds to any key press until you assign a new keybind or reset to the default binding. This is different from disabling a script — the action itself stays in the game, but you've disconnected it from your keyboard.

Most players clear keybinds because they've accidentally bound two actions to the same key, they want to free up a key for another purpose, or they're troubleshooting a script that isn't responding correctly. The process varies slightly depending on whether you're clearing a single keybind or resetting all of them at once.

Key Takeaways

  • FiveM stores keybind settings in a configuration file called settings.xml, located in your FiveM installation folder under AppData.
  • You can clear individual keybinds by editing settings.xml directly or by using the in-game settings menu if the server allows it.
  • Resetting all keybinds to FiveM defaults requires either deleting the settings.xml file or manually removing the keybind entries from the file.
  • Always back up your settings.xml file before editing it, in case you need to restore your other game settings.
  • Some servers restrict keybind changes through server-side scripts, so clearing a keybind may not work on all servers.

Finding your FiveM settings file

FiveM stores all your keybind data in a file called settings.xml. To find it, open File Explorer and navigate to C:\Users\[YourUsername]\AppData\Local\FiveM\FiveM.app\data. Replace [YourUsername] with your actual Windows username. If you don't see the AppData folder, you need to show hidden files: click the View tab at the top of File Explorer, then check "Hidden items".

Once you're in the data folder, look for settings.xml. This is a plain text file that contains all your keybinds, graphics settings, and other FiveM preferences. Before you make any changes, right-click settings.xml, select Copy, and paste it somewhere safe like your Desktop. This backup lets you undo any mistakes.

Clearing a single keybind by editing the settings file

Open settings.xml with Notepad (right-click the file, select "Open with", then choose Notepad). The file contains lines that look like this: <setting name="game_keymap_JUMP" value="SPACE" />. Each line represents one keybind. The part after "game_keymap_" is the action name, and the value is the key it's bound to.

Find the keybind you want to clear by searching for its action name. For example, if you want to clear the jump keybind, search for "JUMP". Once you find the line, change the value to an empty string: <setting name="game_keymap_JUMP" value="" />. Save the file (Ctrl+S), close Notepad, and restart FiveM. The keybind is now cleared.

If you're not sure what the action name is, common ones include JUMP, SPRINT, CROUCH, RELOAD, AIM, SHOOT, MELEE, INTERACT, and INVENTORY. Server-specific scripts may add custom actions with names like "job_start" or "menu_open". Check the server's documentation or ask in the server's Discord if you can't find the action you're looking for.

Resetting all keybinds to FiveM defaults

If you want to clear every keybind at once and return to FiveM's default key layout, the fastest method is to delete settings.xml entirely. Close FiveM completely, navigate to your data folder, and delete settings.xml. When you restart FiveM, it will generate a new settings.xml file with all default keybinds restored.

This approach resets your graphics settings, audio settings, and other preferences along with the keybinds. If you want to keep those other settings, use the manual editing method instead: open settings.xml in Notepad, find every line that starts with <setting name="game_keymap_, and delete those lines entirely. Save the file and restart FiveM. The keybind lines will regenerate with defaults, but your other settings stay the same.

Using the in-game settings menu

Some FiveM servers allow you to change keybinds directly through the in-game settings menu without touching the settings.xml file. Press Esc to open the pause menu, look for a Settings or Controls option, and navigate to the keybinds section. You can usually clear a keybind by selecting it and pressing Delete or Backspace, or by clicking a "Clear" button if one appears.

Not all servers enable this feature — some restrict it through server-side scripts to prevent players from accidentally breaking their controls mid-game. If the settings menu doesn't show a keybinds option, or if changes you make don't save, the server has disabled in-game keybind editing. In that case, you'll need to edit settings.xml directly.

What to do if clearing a keybind doesn't work

If you've cleared a keybind but the action still responds to the old key, the problem is usually one of three things. First, check that you saved settings.xml correctly and that FiveM has fully restarted — not just minimized and reopened. Second, verify you edited the correct line: search the file for the exact action name and make sure the value field is truly empty.

Third, the server itself may be overriding your keybind settings. Some servers run scripts that force specific keybinds on all players, which means your settings.xml changes won't take effect while you're on that server. Try the keybind on a different server to test whether it's a server-side restriction. If it works on another server, contact the first server's administrators to ask if they can adjust the script.

Backing up and restoring your keybind settings

Once you've set up keybinds the way you like them, make a copy of settings.xml and store it somewhere safe. If you ever need to reset FiveM or move it to a new computer, you can copy that backup file back into the data folder and all your keybinds will be restored when ready. This is much faster than rebinding every key manually.

To restore from a backup, close FiveM, replace your current settings.xml with the backup copy, and restart FiveM. Your keybinds will be exactly as they were when you made the backup. You can keep multiple backups with different names — for example, "settings_backup_jan2024.xml" — if you want to switch between different keybind layouts for different playstyles.

Frequently Asked Questions

Can I clear a keybind without editing the settings file?

Yes, if the server allows it. Open the in-game settings menu, find the Controls or Keybinds section, select the keybind you want to clear, and press Delete or look for a Clear button. If that option doesn't exist, the server has disabled in-game keybind editing and you'll need to edit settings.xml manually.

What happens if I delete settings.xml by mistake?

FiveM will automatically generate a new settings.xml file with default settings the next time you launch the game. You'll lose any custom keybinds, graphics settings, and other preferences you had saved. This is why backing up the file before you edit it is important — if you made a backup, you can restore it.

Why does my keybind still work after I cleared it?

The most common reason is that FiveM hasn't fully restarted. Close FiveM completely (not just the window, but the entire process), wait a few seconds, and relaunch it. If the keybind still works, the server may be forcing that keybind through a script, which overrides your local settings.

Can I clear keybinds for scripts the server installed?

You can clear them from your settings.xml file, but the server's script may reassign them the next time you join. Check the server's documentation or ask in their Discord whether custom keybinds can be disabled. Some servers let you turn off specific scripts or features through a config menu.

Is it safe to edit settings.xml with Notepad?

Yes, as long as you don't change the file format. Always open it with Notepad, not Word or another rich-text editor, and make sure you save it as a plain text file with no formatting. If you're unsure, make a backup first so you can restore it if something goes wrong.