How to

CS2 Autoexec – Pro Config Guide (2026)

CS2 autoexec guide for 2026. How to create your config file, best pro commands, viewmodel settings, crosshair, binds, and performance tweaks. Copy-paste ready.

CS2 Autoexec – Pro Config Guide (2026)

A cs2 autoexec is a config file that loads your custom settings every time CS2 starts. Crosshair, sensitivity, viewmodel, binds, audio, and network settings. Set it once. It stays forever. Every pro player uses one. You should too.

How to Create Your Autoexec

Step 1: Find the Config Folder

Navigate to: C:Program Files (x86)SteamsteamappscommonCounter-Strike Global Offensivegamecsgocfg

Step 2: Create the File

Open Notepad. Save a new file as autoexec.cfg in the cfg folder. Make sure the file type is “All Files” not “Text Documents.”

Step 3: Add Your Commands

Paste commands into the file. One command per line. Save.

Step 4: Set Launch Options

In Steam, right-click CS2. Select Properties. In Launch Options, type: +exec autoexec.cfg

CS2 now loads your autoexec on every startup. All settings apply automatically.

Best Autoexec Commands (Copy-Paste)

Viewmodel (Pro Standard)

Command Value Purpose
viewmodel_fov 68 68 Maximum FOV. Smallest gun on screen.
viewmodel_offset_x 2.5 2.5 Gun pushed far right.
viewmodel_offset_y 0 0 Neutral forward/back.
viewmodel_offset_z -1.5 -1.5 Gun dropped low.

Full viewmodel breakdown in our CS2 viewmodel settings guide.

Jump Bind

Command Purpose
bind mwheeldown "+jump" Jump on scroll down
bind mwheelup "+jump" Jump on scroll up
bind space "+jump" Keep spacebar as backup

Full setup in our scroll wheel jump bind guide.

Crosshair

Command Value Purpose
cl_crosshairsize 2 Small crosshair for precision
cl_crosshairgap -1 Tight gap
cl_crosshairthickness 0.5 Thin lines
cl_crosshaircolor 1 Green (high visibility)
cl_crosshairdot 0 No center dot

Audio

Command Purpose
snd_headphone_pan_exponent 2 Improve directional audio
snd_headphone_pan_radial_weight 1 Better spatial positioning
volume 0.3 Lower overall volume for clarity

Performance

Command Purpose
fps_max 0 Uncap FPS (or set to your monitor Hz)
r_drawtracers_firstperson 0 Hide first-person bullet tracers

Utility Binds

Command Purpose
bind "shift" "+speed; r_cleardecals" Clear blood splatters on shift
alias "+jumpthrow" "+jump;-attack"; alias "-jumpthrow" "-jump"; bind "v" "+jumpthrow" One-key jump throw

Complete Copy-Paste Autoexec

Copy everything below into your autoexec.cfg file:


// Viewmodel
viewmodel_fov 68
viewmodel_offset_x 2.5
viewmodel_offset_y 0
viewmodel_offset_z -1.5
cl_righthand 1

// Jump binds
bind mwheeldown "+jump"
bind mwheelup "+jump"
bind space "+jump"

// Crosshair
cl_crosshairsize 2
cl_crosshairgap -1
cl_crosshairthickness 0.5
cl_crosshaircolor 1
cl_crosshairdot 0

// Audio
snd_headphone_pan_exponent 2
snd_headphone_pan_radial_weight 1
volume 0.3

// Performance
fps_max 0
r_drawtracers_firstperson 0

// Utility
bind "shift" "+speed; r_cleardecals"

Pro Player Autoexec Tips

Keep it simple. Don’t add 200 commands. Focus on the settings you actually change from default. Too many commands make debugging harder.

Back up your autoexec. Copy the file somewhere safe. If CS2 updates break something, you restore in seconds.

Test one change at a time. Don’t paste 50 new commands and wonder what broke. Add settings in small batches. Test between each batch.

Use comments. Lines starting with // are ignored by CS2. Use them to label sections. Makes editing easier later.

Practice Your Config

Test your autoexec on community servers before ranked play. Earn free skins while you practice on Xplay.gg.

For CS2 gambling platforms, see our CS2 gambling sites overview.

FAQ

What is a CS2 autoexec?

A config file (autoexec.cfg) that loads custom settings every time CS2 starts. Saves your crosshair, binds, viewmodel, and other settings permanently.

Where does the autoexec file go?

In the cfg folder: ...Counter-Strike Global Offensivegamecsgocfgautoexec.cfg

Do I need launch options for autoexec?

Add +exec autoexec.cfg to your CS2 launch options in Steam. This tells the game to load your config on startup.

Do pro players use autoexec?

Yes. Almost every professional CS2 player uses a custom autoexec with their preferred crosshair, binds, and viewmodel settings.

Does autoexec affect FPS?

Some commands can. fps_max controls your frame cap. Other settings like tracer removal reduce visual load slightly. Most autoexec commands have zero FPS impact.