How to Make an autoexec for CS:GO

There is a long list of reasons that CS:GO remains one of my favorite video games. One of the reasons is that it gives players nearly endless customization options. 

In this guide, I'll show you how to create a CS:GO autoexec.cfg file for saving your settings and binds.

What is an autoexec and Why You Should Make One

Put simply, a CS:GO autoexec is a file that you put in the game’s files. It can store settings such as your crosshair, graphic settings, buy binds, and custom binds like jump+throw.

As the name of the file suggests, it automatically executes upon loading Counter-Strike. This makes it a fantastic solution if you find your game overwrites settings that you’ve changed each time you close and load the game.

How to Make an autoexec.cfg File for CS:GO

Here are the step-by-step instructions for making an autoexec for CS:GO.

  1. Locate your CS:GO config (cfg) folder. The fastest way is to:
  2. Locate CS:GO's properties in your Steam Library.
  3. Select browse local files from the available options.
  4. Locate the config (cfg) folder.
  5. Right-click in an open space in the folder and select New>Text Document. You can use any text editor, including basic options like Notepad, which I’ll be using in this example.
  6. Open the file you created.
  7. You can now add whatever setting or binds you want to include in your autoexec. In this basic example, the autoexec file contains crosshair settings, a jump + throw bind, and a few buy binds.
  8. Make sure the last line of your file ends with “host_writeconfig”.
  9. Save your file as “autoexec.cfg”. Make sure to select “All Files” in the dropdown when saving it to avoid saving the file as a text file (.txt) rather than a config (.cfg).

This autoexec file for CS:GO will now load every time you launch your game.

If, for some reason, it doesn’t load when launching your game, you can add it to your launch options. Steam>Library>Properties>Launch Options.

If you have CS:GO open, you can use the console (default console key is “~”) to execute your autoexec at any time. Just type in “exec autoexec” and hit enter.

Keep in mind, you can update your autoexec CS:GO file at any time with almost all text editors if you have more setting to add!