Cookie Clicker – How to Play Offline in Game

Cookie Clicker – How to Play Offline in Game 1 -
Cookie Clicker – How to Play Offline in Game 1 -

Table of Contents

You keep producing cookies even while the game is closed.


If you don’t want to leave your game running all night to bake those precious cookies.
No mods, no save file tricks, just guide how to buy “Prefect idling” upgrade and keep it forever.
Cookie Clicker - How to Play Offline in Game - Why? - 1610DA8


Close the game.
Browse to local files of your installed game and open file:
…\SteamLibrary\steamapps\common\Cookie Clicker\resources\app\src\main.js
Find section (9090 line)

Game.RebuildUpgrades=function()//recalculate the upgrades you can buy

And just a little lower this piece of code:

 if (!me.bought && me.pool!='debug' && me.pool!='prestige' && me.pool!='prestigeDecor' && (Game.ascensionMode!=1 || (!me.lasting && me.tier!='fortune')))
 if (me.unlocked) list.push(me);

delete “debug” condition and move it to unlock condition, so this code will look like this:

 if (!me.bought && me.pool!='prestige' && me.pool!='prestigeDecor' && (Game.ascensionMode!=1 || (!me.lasting && me.tier!='fortune')))
 if (me.unlocked || me.pool=='debug') list.push(me);

Start the game, buy “Perfect idling” upgrade and save.
Close the game and revert your changes.
That’s it.

Written by bvb

Hope you enjoy the Guide about Cookie Clicker – How to Play Offline in Game, if you think we should add extra information or forget something, please let us know via comment below, and we will do our best to fix or update as soon as possible!


  1. It works perfectly, just couple suggestions from me: 1. Import your progress before doing this. 2. Read what you choose, because you’ll get couple suggestion in upgrades which can mess up your game really fast and buy only (Perfect Idling cookie), I didin’t pay attention and bought everything for the first time and had to wipe my whole progress (2nd ascesion) and start everything from beginning

Leave a Reply

Your email address will not be published.