Skip to content
Counter-Strike 2Reference

CS2 autoexec

An autoexec is a cfg file of console commands. The builder writes radar commands, an optional fps_max, and binds you paste in.

Checked against Valve fps_max note, 14 Aug 2025.

Where the file goes

Save the text as autoexec.cfg in the game cfg folder: Counter-Strike Global Offensive/game/csgo/cfg.

If the game does not run it, add +exec autoexec.cfg to the Steam launch options. Plus-commands run as console commands after the menu loads.

fps_max

Set fps_max from the menu or before you connect. Valve's 14 August 2025 update stopped the command from changing while you are on a server. This page does not estimate the frame rate that follows.

Read next

Sources

Game rules come from these pages. Advice marked “Our recommendation” is the site’s judgement, not a game rule.

  • Valve CS2 update, 14 Aug 2025: fps_max cannot be changed while connected to a server.