OGTOOLS

CS2 cheats and cheat codes

In CS2, the legitimate answer to what people search for as cheats is practice commands. On a server you set up yourself, you can turn on sv_cheats, add bots, give yourself infinite ammo and practice smoke and grenade throws over and over. These are the game's own commands, tools that Valve allows and that pro players use every day. None of them work on official servers or in competitive matches.

20 codes 4 categories updated October 25, 2026

How do you open the cheat console?

Your choice is remembered

The CS2 console is turned off by default, so you need to enable it in the settings first. After that, you bring it up with a single key and type your commands. For practice commands to work, you also have to turn on sv_cheats on your own server.

~ (tilde)
  1. In the Settings menu, go to the Game tab and enable the developer console.
  2. Set up your own server. It can be an offline match with bots or a private server.
  3. Open the console with the ~ key, type sv_cheats 1 and press Enter.
  4. You can now use the practice commands below.

On non-US keyboard layouts the tilde key may be in a different place. If the console does not open, you can change the key in the settings.

sv_cheats 1

This command unlocks the practice commands. It only works on a server you set up yourself while playing on your own. On official servers the command is rejected.

  • These commands ONLY work on your own server. They are rejected on official servers, in competitive matches and in Premier.
  • Practice commands are a built-in feature of the game. They are not forbidden and do not harm your account.
  • Third-party cheat programs are a completely different matter. They lead to a VAC ban and are not covered on this page.

Categories

Every category has its own page

All codes

Copy, paste into the game
20 codes listed

Setting up a practice server

Category page →

Turns on practice commands

sv_cheats 1

The requirement for most commands on this page. It only works on your own server and is rejected on official servers.

It does not work on official servers or in competitive matches. Trying it does no harm either, as the command is simply rejected.
PC

Extends the round time

mp_roundtime 60

The number at the end is the round time in minutes. It keeps the round from ending while you practice.

PC

Raises the money cap

mp_maxmoney 65535

You never run short of money when buying. It needs to be used together with the mp_startmoney command.

PC

Sets the starting money

mp_startmoney 65535

Sets how much money you have at the start of each round. Used together with the money cap command, and takes effect when the round restarts.

PC

Turns on instant respawn after death

mp_respawn_on_death_ct 1

You respawn right away when you die on the CT side. For the Terrorist side, replace ct at the end with t.

PC

Ends the warmup

mp_warmup_end

Ends the warmup period instantly and starts the match. It skips the wait while you set up practice.

PC

Bot commands

Category page →

Adds a bot

bot_add

Adds a bot to a random side. To add one to a specific side, use bot_add_t or bot_add_ct.

PC

Freezes bots

bot_stop 1

Bots stop moving and stop shooting, turning into static targets. The most efficient setup for aim practice.

PC

Removes all bots

bot_kick

Removes every bot from the map. It clears the map before you move on to a new drill.

PC

Sets bot difficulty

bot_difficulty 3

0 is the easiest and 3 the hardest. The difficulty change applies to newly added bots.

PC

Stops bots from shooting

bot_dont_shoot 1

Bots keep moving but do not shoot. It lets you practice tracking without dying.

PC

Shooting and grenade practice

Category page →

Gives infinite ammo

sv_infinite_ammo 1

Bullets and grenades never run out. With 1 you never need to reload, and with 2 your reserve ammo is unlimited but you still reload.

PC

Shows the grenade trajectory

sv_grenade_trajectory_prac_pipreview 1

Before you throw, a small picture-in-picture window shows where the grenade will land. Essential when learning smoke and flash lineups.

PC

Rethrows your last grenade

sv_rethrow_last_grenade

Repeats the same throw from the same spot. You can try a smoke lineup as many times as you need until you nail it.

PC

Shows bullet impacts

sv_showimpacts 1

Marks the spot where every bullet you fire hits. It lets you see the pattern while you work on spray control.

PC

Raises how many grenades you can carry

ammo_grenade_limit_total 5

Sets how many grenades you can carry at once. It saves you from buying them again every time during practice.

PC

Movement and view commands

Category page →

Lets you fly through walls

noclip

You fly freely around the map, and walls and floors do not stop you. Perfect for learning maps.

PC

Gives you god mode

god

Nothing can hurt you. Fall damage goes away too, which helps with jump practice.

PC

Sets gravity

sv_gravity 200

The default is 800. At a lower value you stay in the air longer, which lets you work on tricky jumps step by step.

PC

Changes the game speed

host_timescale 0.5

1 is normal, and a lower value gives you slow motion. Used to slow down complex movement so you can practice it.

PC

Common questions

Is it against the rules to use cheats in CS2?
The commands on this page are the game's own practice tools. They are not forbidden and do not harm your account. They only work on your own server. Third-party cheat programs are a completely different matter, lead to a VAC ban and are not covered on this page.
Do these commands work in competitive matches?
No. On official servers, in competitive matches and in Premier, sv_cheats cannot be turned on and the commands are rejected. They only apply on a server you set up yourself.
How do I open the console?
In the Settings menu, go to the Game tab and enable the developer console. Then open it with the tilde key. On non-US keyboard layouts the key may be in a different place, and you can change it in the settings.
How do I practice smoke throws?
Turn on the trajectory preview command and see where the grenade will land before you throw it. Then use the rethrow command to try the same throw again and again. This is exactly how pro players learn lineups.
Do I have to type the settings every time I launch the game?
No. You can write the commands into a config file and load it from the console with a single command. That way your practice server is ready in seconds.
How much does bot practice carry over to real matches?
Aim, spray control and smoke lineups carry over directly. Bots behave differently from real players, though, so for tactics and reading the game you need real matches.

Other games in the archive