
Learning smokes and flashes is slow when you have to rebuy grenades, wait out the freeze time and walk back after every throw. A CS2 practice config fixes that. It is a small text file that switches a local match into a sandbox, with infinite ammo, grenade previews and no round timer getting in the way.
This guide shows how to build the file, how to load it and what each line does. You will need the developer console enabled. If it is not, see how to open the console first.
Where does a CS2 practice config go?
Config files live in the game's cfg folder. The quickest way to find it is through Steam:
- Right-click Counter-Strike 2 in your Steam Library.
- Choose Manage, then Browse local files.
- Open game, then csgo, then cfg.
On a default Windows install the full path is C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg. The folder keeps its old CS:GO name. Create a new text file there and name it practice.cfg. Turn on file extensions in Windows so it does not end up as practice.cfg.txt.
The practice config file
Paste these lines into the file. Lines starting with two slashes are comments, and the game ignores them.
sv_cheats 1// unlocks cheat-protected commands on your serverbot_kick// removes all botsmp_limitteams 0andmp_autoteambalance 0// stop team balancing moving yoump_warmup_end// ends warmupmp_freezetime 0// no freeze at round startmp_roundtime_defuse 60// long rounds on bomb maps, in minutesmp_startmoney 60000andmp_maxmoney 60000// plenty of cashmp_buytime 9999andmp_buy_anywhere 1// buy anywhere, any timesv_infinite_ammo 1// grenades and bullets never run outammo_grenade_limit_total 5// carry a full grenade setsv_grenade_trajectory_prac_pipreview 1// shows where a grenade will landsv_grenade_trajectory_prac_trailtime 4// keeps the flight path visible for 4 secondssv_showimpacts 1// marks where bullets hitmp_respawn_on_death_ct 1andmp_respawn_on_death_t 1// respawn instantlymp_restartgame 1// restarts so the settings apply
Put each command on its own line. Keep mp_restartgame 1 last, because several settings only take effect on a fresh round.
How to load it
- Start an offline match against bots from the Play menu, or type
map de_miragein the console. Any map name works. - Once you spawn, open the console.
- Type
exec practiceand press Enter.
The round restarts with your settings. If you see unknown command errors, check the spelling in the file. If nothing changes at all, the file is probably named wrong or saved in the wrong folder.
Useful practice binds
A few binds make practice much faster. Type them in the console or add them to the file. Our guide to bind commands explains the syntax.
bind n noclipflies you through walls to reset your position. Press it again to land.bind p sv_rethrow_last_grenadethrows your last grenade again from the same spot, so you can watch where it lands.bind k "ent_fire smokegrenade_projectile kill"clears smokes instantly.bind l "ent_fire inferno kill"puts out molotov fires.
Pick keys you do not use in normal play, or remove these binds before your next ranked game.
Practising with bots as targets
To work on peeks or prefires, you can add bots back. bot_add adds one. bot_stop 1 freezes them. bot_place moves a bot to where you are aiming. These help with the drills in our aim training guide and the crosshair placement guide.
Why does my CS2 practice config not work online?
Everything in this file depends on sv_cheats 1. That only works on a server you control. Official matchmaking and Premier servers block it, as do most community servers. This is by design. The config is a training tool, not a way to gain an edge in real matches.
Also note that older guides use sv_grenade_trajectory and sv_grenade_trajectory_time. Those were CS:GO commands. Current references list them as removed, with the sv_grenade_trajectory_prac_ commands taking their place.
When you finish, quit the map or type sv_cheats 0. Your normal settings are not affected, because most of these commands only change the local server.
Sources and checks
Command names were checked on 1 November 2026 against Leetify's CS2 practice commands guide and the csdb.gg CS2 command list. Valve can change commands in updates, so test the file after a big patch.
Frequently asked questions
Can I get banned for using a practice config?
No. It only runs on your own local server, and cheat commands are blocked on official servers anyway.
Why does exec practice say the file is missing?
The file is in the wrong folder or has a hidden .txt ending. It must be practice.cfg inside game, csgo, cfg.
Can I use the same file on every map?
Yes. Load any map, then run exec practice. Nothing in the file is map specific.


