Cookie Clicker Cheats (CC Codes): Get Free infinite Cookies, Unlocks Every Achievement, And More
Cookie Clicker cheats still work on the current browser build (v2.061) and the Steam version, letting you summon infinite cookies, unlock every achievement, or open the hidden saysopensesame debug menu. Since Cookie Clicker has no code redemption system, these console commands never expire. Below is the full list of working Cookie Clicker cheats, updated.
Mastering these commands requires accessing your web browser’s developer console, a built-in tool for inspecting website code. Once opened, you can input specific JavaScript commands used by the game to instantly add cookies, unlock upgrades, spawn golden cookies, and much more. Whether you want to skip the early grind, experiment with late-game mechanics, or just cause chaotic fun, this guide covers all the essential CC codes and how to use them effectively.
Comprehensive Cookie Clicker Cheats ( CC Codes)
The following table categorises the most useful and popular Cookie Clicker cheats. When entering these codes, replace any text within < > brackets with your desired value. All codes are case-sensitive. Cookie Clicker has no code redemption system, so these cheats never expire. Expired codes: N/A.
| Category | Cheat Code | Primary Effect | Example & Notes |
|---|---|---|---|
| Cookie & Production | Game.cookies = Infinity; | Gives you infinite cookies instantly. | Can break building price scaling, so use it with care. |
Game.cookies = <number>; | Sets your total cookies to an exact amount. | Game.cookies = 1000000; banks 1 million cookies. | |
Game.Earn(<number>); | Adds a set number of cookies to your current total. | Game.Earn(500000); adds half a million cookies. | |
Game.cookiesPs = <number>; | Sets your cookies-per-second (CpS) rate. | Game.cookiesPs = 10000; sets your CpS to 10k. | |
Game.cookiesEarned += Game.cookies; Game.cookies *= 2; | Doubles your cookies without triggering the “Cheated cookies taste awful” shadow achievement. | Paste both lines into the console together. | |
| Progression & Unlocks | Game.SetAllAchievs(1); | Unlocks every standard achievement. | Triggers the “Cheated cookies taste awful” achievement. |
Game.Ascend(1); | Immediately ascends your game, converting cookies to Heavenly Chips. | ||
Game.SetAllUpgrade(1); | Unlocks and purchases every standard upgrade in the game. | Does not include debug upgrades. | |
Game.gainLumps(<number>); / Game.dragonLevel = <level>; / Game.santaLevel = <level>; | Adds Sugar Lumps, and sets your dragon and Santa levels. | Game.gainLumps(50); adds 50 lumps. | |
| Debug & God Mode | Game.RuinTheFun(); | Unlocks everything: all upgrades (including debug upgrades), all achievements, and 1 nonillion cookies. | The classic “win everything” command. |
Game.OpenSesame(); / Game.bakeryName = "<name>"; | Opens the official debug menu / renames your bakery. | Adding saysopensesame to the bakery name unlocks the menu without the console. | |
Game.popups = 0; | Silences the news ticker popups. | ||
Game.Achievements["Cheated cookies taste awful"].won = 0; | Removes the “Cheated cookies taste awful” shadow achievement. | Lets you cheat without permanently marking your save. |

How to Access the Cheat Console
Before entering any codes, you must open the developer console in your browser. The method varies slightly depending on your browser and operating system.
Here is how to open the console on major platforms:
- Google Chrome (Windows/Linux): Press
Ctrl + Shift + J. Alternatively, pressF12and click the “Console” tab. - Google Chrome (Mac): Press
Cmd + Option + J. - Mozilla Firefox (Windows/Linux): Press
Ctrl + Shift + KorF12. - Mozilla Firefox (Mac): Press
Cmd + Option + K. - Microsoft Edge: Press
F12and navigate to the “Console” tab. - Safari (Mac): First, enable the Developer menu in Safari Preferences. Then, press
Cmd + Option + C.
For the Steam version of Cookie Clicker, you must first enable the developer console. Navigate to the game’s local files through Steam, find the Start file, and change the line let DEV=0; to let DEV=1;. After launching the game, you can then open the console using the same F12 key.
A critical warning: Using most cheats will automatically grant you the “Cheated cookies taste awful” shadow achievement. This cannot be removed through normal play, permanently marking your save file. Always create a backup save before experimenting.
Using the Open Sesame Debug Menu
Beyond one-off codes, the most powerful tool is the Open Sesame debug panel. You can activate it by entering Game.OpenSesame(); in the console or, on the web version, by renaming your bakery to include saysopensesame (e.g., “MyBakerysaysopensesame“).
This menu grants access to game-breaking debug upgrades you can toggle on/off for just 7 cookies each, such as:
- Gold Hoard: Makes golden cookies appear extremely frequently.
- Magic Shenanigans: Multiplies your cookie production by 1,000.
- Turbo-charged Soil: Causes garden plants to grow every second.
Common Issues and How to Fix Them
Even with cheats, you might encounter issues. A very common problem is entering a code and seeing no effect. This is almost always due to a syntax error. Ensure you copy the code exactly, including correct capitalisation, parentheses, and semicolons.
If you set your cookies to an excessively high number, you may break the game’s internal calculations. Buildings and upgrades may have their costs displayed as NaN (Not a Number), preventing purchases. The safest fix is to reload a backup save from before you used the cheat.
Remember, cheating permanently alters your save. The only way to fully remove the “Cheated cookies taste awful” achievement and reset your legacy is to perform a hard reset using Game.HardReset(2);.
FAQ: Cookie Clicker CC Codes
How do you enter cheat codes in Cookie Clicker?
You enter cheat codes by typing them into your web browser’s developer console. First, open the console using a keyboard shortcut like Ctrl+Shift+J (Chrome) or F12 (Edge). Then, paste or type the code into the console input line and press Enter.
What is the ‘Ruin the Fun’ cheat?
Game.RuinTheFun(); is a famous console command often cited by the community as a quick way to unlock massive amounts of content, effectively “winning” the game instantly. It unlocks everything: all upgrades (including debug upgrades), all achievements, and 1 nonillion cookies.
Can you use cheats in the Steam version of Cookie Clicker?
Yes, but you must first enable the developer console. Edit the game’s Start file to change let DEV=0; to let DEV=1;. After this, you can open the console F12 and use the same code as the browser version.
How do you get the Open Sesame menu?
You can open the debug menu by entering Game.OpenSesame(); it in the console. On the browser version, you can also get it by changing your bakery name to end with saysopensesame.
Does using cheats disable achievements?
Using cheats will lock you out of earning new achievements legitimately and will automatically award the shadow achievement “Cheated cookies taste awful” as a permanent marker on your save file.
Get More Game Codes:
- MCCC Sims 4 Cheats
- Wheel Of Fortune Codes
- Click Simulator X
- The Forge Codes
- Grand Piece Online Codes
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Codes You May Like
Blood Strike Codes (October 2026): Working Redeem Codes & How to Use Them
Pokemon UNITE Codes (October 2026): Working Gift Codes & How to Redeem
Watcher of Realms Codes (October 2026): How to Redeem & Where to Find Them
Brawlhalla Codes (October 2026): Skins, Titles & How to Redeem
Lords Mobile Codes (October 2026): Working Redeem Codes & How to Use Them
BreakDoor Codes (October 2026)- All working Codes
Berry Avenue Codes: Get Free Bangs, Cute Face, Denim Shorts, And More
Four Elements Trainer Cheats 2026: Sets Free Your money, Respect Level, And More