Cookie Clicker Guide: First Legacy, What Ascension Resets
Three numbers decide the first run: one trillion (10^12) cookies baked in total gives 1 prestige level and 1 heavenly chip; Legacy costs 1 chip; and an ascension at zero gain is allowed — it still resets the run.
What Cookie Clicker is
Cookie Clicker is an idle game built on one loop: click the big cookie to bake cookies, spend cookies on buildings and upgrades so the game bakes cookies without you, and come back later to spend the pile. Everything else in the game is a multiplier on that loop.
The first decision that matters: Legacy
Legacy is the first heavenly upgrade, and in Orteil's own code its description is the clearest explanation of the system: each time you ascend, the cookies you made in your past life are turned into heavenly chips and prestige. Heavenly chips are spent on permanent transcendental upgrades; your prestige level gives a permanent +1% cookies per second per level.
Legacy costs one heavenly chip. That single number is why the first ascension has a shape of its own:
- Bake a lifetime total of one trillion (10^12) cookies. The prestige calculation in the official code takes the cookies you have baked, divides them by one trillion, takes the cube root and rounds down — at exactly one trillion that is one prestige level and one heavenly chip.
- Ascend. That is your first chip.
- Spend it on Legacy, which from then on unlocks the heavenly chip system for every later run.
Chips are not consumed by ascending: each ascension adds its gain on top of the chips you already own, so from the second ascension onward nothing has this chicken-and-egg shape.
Ascending for nothing is allowed
Nothing in the game stops you from pressing Ascend at zero gain: the confirm prompt always offers the button, and it does not check the amount. What it does state is what the trade costs — "You will lose your progress and start over from scratch. All your cookies will be converted into prestige and heavenly chips".
The forecast is already on screen before you confirm, on the Legacy button's own tooltip. Orteil's code fills it with a computed line — "Ascending now would grant you 1 prestige level (+1% CpS) and 1 heavenly chip to spend." — worked out from the cookies you have baked so far, so it answers "what would this do now?", not "what happened last time".
Read that line first:
- If it reads "Ascending now would grant you no prestige", the ascension would move nothing — and it still resets the run you are in.
- If it shows a gain, the run has already done its job and the multiplier carries forward.
After you confirm, the ascension screen shows the numbers as they now stand: the prestige level and heavenly chips there are the balance you own after the reset, not a prediction. The distinction is worth keeping — the pre-confirm tooltip forecasts the trade, the post-ascension screen reports the result.
The forecast is built from your baking record alone. The code adds the cookies this run has earned (Game.cookiesEarned) to those your earlier ascensions already converted (Game.cookiesReset), divides that total by one trillion (10^12), takes the cube root of the result and floors it; the same formula applied to the earlier ascensions' cookies alone gives your previous prestige level (spending heavenly chips leaves it unchanged), and the difference is the new prestige levels and the heavenly chips the tooltip promises. Heavenly upgrades are not part of that sum: two saves with the same baking record see the same two numbers before confirming a normal ascension, however many upgrades one of them has bought. What the upgrades change is what each level is worth — GetHeavenlyMultiplier multiplies the prestige bonus that actually reaches your cookies per second. That is also why a fixed "ascend at X cookies" number is only right for one player: how soon the next ascension pays depends on the upgrades already owned.
What resets and what stays
In practice, ascending:
- Resets your current cookies, every building, and every ordinary upgrade, along with the cookies per second they gave you.
- Keeps your achievements, your heavenly chips, the heavenly upgrades you bought with them, and your prestige level.
- Keeps building levels and sugar lumps too — but only once the sugar lump system is unlocked. The confirm prompt says so in as many words: before that point it only promises "You will keep your achievements."; after it, "You will keep your achievements, building levels and sugar lumps."
- Pays the prestige bonus in full only after you unlock the multipliers behind it. The stats screen reports your prestige as "at N% of its potential (+M% CpS)": the +1% per level is real, but the amount that actually applies depends on how much of the bonus you have unlocked.
Born again is a different trade
When you ascend you can pick the Born again challenge mode. Its own description: the run "will behave as if you'd just started the game from scratch. Prestige levels and heavenly upgrades will have no effect, as will sugar lumps and building levels. Perma-upgrades and minigames will be unavailable." Some achievements exist only there. If you want the multiplier, do not pick it.
Where to play it officially
Cookie Clicker is by Orteil: cookieclicker.com is the official page. The mechanics above are read from the game's own published code, main.js, not from a copy. We do not host the game, a mirror or its assets here, and there is no Play button on this page.
What to play next on Pizza Edition
The idle and upgrade loops live on the strategy shelf; the short-session ones sit on the casual shelf. Closest matches here:
- Clicker Heroes — clicking, hero upgrades and its own prestige layer.
- Adventure Capitalist — passive income and a reset-for-multiplier decision.
- Monkey Mart — small repeated actions plus upgrades, no timer.
- Tiny Fishing — cast, sell, upgrade, repeat.