cheats
Cookie Clicker has a full set of console/JS cheats and debug options that let you change cookies, spawn golden/wrath cookies, toggle debug features, alter game cosmetics, control wrinklers and purchases, and install external cheat interfaces. Use the browser console (or a bookmarklet / userscript) to run these commands; incorrect values or negative FPS can break the page, so use caution.
Opening the console and running cheats
- Common developer-console shortcuts:
You can also run javascript:[code] from the address bar or load cheat scripts via bookmarklets or TamperMonkey/Greasemonkey userscripts.
- To install a cheat interface automatically, use a bookmark that injects a remote script or add a userscript that appends the cheat script on window.onload.
Cookie bank and CpS manipulation
- Set exact cookie count:
- Game.cookies =
;
- Game.cookies =
- Add cookies to current bank:
- Game.Earn(
);
- Game.Earn(
- Subtract cookies:
- Game.cookies -=
;
- Game.cookies -=
- Make cookies show as Infinity (displayed/in-game):
- Game.cookies = Infinity;
- To display "infinite" temporarily without true Infinity math use NaN: Game.cookies = NaN;
- To clear a broken displayed infinite value: Game.cookies = 0;
You can also set Game.cookies = -Infinity to zero out cookies permanently.
- Force CpS (temporary; it will self-correct when the game recalculates):
- Game.cookiesPs =
; - To override calculation until refresh:
Game.CalculateGains = function() { Game.cookiesPs =
; Game.computedMouseCps = Game.mouseCps(); Game.recalculateGains = 0; }; Game.recalculateGains = 1;
- Game.cookiesPs =
- Auto-click the big cookie:
- var autoClicker = setInterval(Game.ClickCookie,
); - Stop with clearInterval(autoClicker);
- var autoClicker = setInterval(Game.ClickCookie,
Golden / Wrath cookie control
- Spawn a golden cookie manually:
- var newShimmer = new Game.shimmer("golden");
- Force a chain stage (for 6 / 66 / 666 chains):
- Game.shimmer.chain =
; - (stage 1 → 6, 2 → 66, 3 → 666, etc.)
- Game.shimmer.chain =
- Spawn golden cookies without natural delay:
- setInterval(function(){ Game.shimmer.wrath = 0; Game.shimmer.delay = 0; }, 1);
- Grant golden-cookie buff effects directly (no cookie required):
- var effectDurMod = 1; Game.gainBuff('
', Math.ceil( *effectDurMod), );
- var effectDurMod = 1; Game.gainBuff('
- Clear all buffs/debuffs:
- for (let i in Game.buffs) Game.buffs[i].time = 1;
- Or: Game.killBuffs();
- Auto-click golden cookies on spawn:
- setInterval(function() { Game.shimmers.forEach(function(shimmer) { if (shimmer.type == "golden") shimmer.pop(); }); }, 500);
- To avoid clicking wrath cookies, check shimmer.wrath == 0 before popping.
- Set the golden-click counter:
- Game.goldenClicks =
; (or Game.goldenClicksLocal in some contexts)
- Game.goldenClicks =
Wrinklers and Grandmapocalypse
- Pop all wrinklers immediately:
- Game.CollectWrinklers();
- Instantly kill wrinklers as they spawn:
- Game.registerHook('logic', () => { Game.wrinklers.forEach(me => me.hp -= Number.MAX_VALUE) });
- Or set Game.wrinklerHP = 0;
- Change maximum wrinklers or prevent spawning:
- Game.wrinklerLimit =
; (cannot raise above your true maximum) - To block spawning entirely: Game.spawnWrinkler = () => { return; } or set Game.wrinklerLimit = 0;
- Game.wrinklerLimit =
- Spawn/mature all wrinklers and make them shiny:
- for (i=0;i<Game.wrinklers.length;i++){ Game.wrinklers[i].phase = 1; Game.wrinklers[i].type = 1; }
- To only set phase/type for existing ones, loop and set as desired.
- Modify Elder Pledge time remaining:
- Game.pledgeT =
* 60 * Game.fps;
- Game.pledgeT =
- Auto-buy Elder Pledge when it appears:
- setInterval(function(){ if (Game.UpgradesInStore.indexOf(Game.Upgrades["Elder Pledge"]) != -1) { Game.Upgrades["Elder Pledge"].buy(); } }, 500);
Debug upgrades and built-in debug mode
- Cookie Clicker has built-in debug "upgrades" usable in debug mode; enabling them requires debug conditions (e.g., bakery name or debug flags). Examples of debug toggles:
- Ultrascience: research completes in 5 seconds.
- Gold hoard: golden cookies appear extremely frequently.
- Neuromancy: unlocks all upgrades and debug toggles in Stats.
- Perfect idling: produces offline cookies while closed (persists across sessions).
- Wrinkler doormat: wrinklers spawn much more frequently.
- Reindeer season: reindeer spawn rapidly.
- Eternal seasons: unlocks Season Switcher and freezes season timer.
- Magic shenanigans / Occult obstruction: multiply or set cookie production to zero.
- Glucose-charged air / Turbo-charged soil: accelerate sugar lump coalescing and garden growth.
- The built-in "Ruin" debug function exists (Game.Ruin...) and various debug commands can be triggered via stats menus when enabled.
Item/store/price editing
- Change an individual buyable’s price:
- Buyables["
Time machine"].price = 1;
- Buyables["
- Make an item free forever:
- Buyables["
Cursor"].price = 0;
- Buyables["
- Make every buyable free:
- Object.keys(Buyables).forEach(function(e){ Buyables[e].price = 0; }); StoreToRebuild = 1;
- Reset buyable prices to base progression (script provided in-game sources) — useful after making everything free.
Cosmetic and quality-of-life tweaks
- Enable "party" mode (flashing visuals and shaking):
- Game.PARTY = true;
- (Epilepsy/seizure warning: this produces bright flashing effects.)
- Turn big cookie into the face cookie:
- Game.addClass("elderWrath"); remove with Game.removeClass("elderWrath") or refresh.
- Change game FPS (affects animation speed and durations; negative values can freeze the tab):
- Game.fps =
;
- Game.fps =
- Silence big-cookie click noise only:
- Game.playCookieClickSound = function(){ return; };
- Add custom news tickers:
- var customTickers = ["text1","text2"]; customTickersFunction = function(){ return customTickers; }; Game.customTickers.push(customTickersFunction);
- Add more later using customTickers.push("more text");
Farming drops and eggs — practical cheats
- Egg/unlock farming:
- Eggs and seasonal drops can be farmed by popping wrinklers or clicking golden/wrath cookies; you can save before popping and reload if no drop to repeat (do not save the failed attempt).
- Opening multiple tabs from the same save and popping across them is another way to force multiple independent attempts.
- Egg unlock rates are governed by base fail rates and many modifiers; use cheats to spawn golden cookies or wrinklers to increase attempt frequency.
Using external cheat interfaces
- Three common install methods:
- Bookmarklet: create a bookmark with javascript:(function(){var s=document.createElement('script');s.src='
';document.body.appendChild(s);}()); - Paste the interface’s source directly into the console.
- TamperMonkey/Greasemonkey userscript: inject the remote cheat script on page load.
- Bookmarklet: create a bookmark with javascript:(function(){var s=document.createElement('script');s.src='
- Cheat interfaces add GUIs for many of the commands above and can automate tasks like auto-clicking, auto-spawning shimmers, or toggling debug upgrades.
Safety and practical notes
- Many cheats are persistent until you refresh, change properties back, or reload the page. Some altered values (like Infinity cookies or negative FPS) can produce strange behaviour—reset Game.cookies or refresh to normalise.
- Achievements and some game logic may behave unpredictably if you use cheats; for achievements tied to counts, use the correct counter variables (Game.goldenClicks, Game.goldenClicksLocal).
- When testing rare drops or RNG outcomes, saving before an attempt and reloading on failure is an effective non-invasive "cheat."
- Use caution: scripts that repeatedly run at very short intervals (e.g., 1 ms) can freeze or crash browsers.
This page condenses the common console cheats and debug hooks available in Cookie Clicker; copy-paste commands into the browser console or load them via bookmarklet/userscript to use them.