Cheesecake sits somewhere between a cake and a custard, and that is exactly why its shelf life catches people out. It is not like a sponge that you can leave under a dome on the counter for three days.
So, how long does it actually stay good? Well, that depends on where you keep it, and it matters more than you might think.
What Makes Cheesecake Different From Other Cakes?
Mostly the cream cheese. A regular cake is flour, sugar, and fat, held together with a bit of egg, and it is fairly forgiving. Cheesecake is the other way round. It is mostly dairy and eggs, with only a little flour, if any at all.
So, that gives you the dense, rich texture we all turn up for. But, it also means you are essentially storing a fresh dairy product, and it needs to be treated like one.
How Long Does It Keep In The Fridge?
A homemade cheesecake will be good for about five to seven days, covered and properly chilled. No-bake versions are slightly less robust, so aim for four or five. Our guide to how long cheesecake lasts in the refrigerator goes further into this.
Store-bought ones often go a little longer because of preservatives, and there is usually a date on the box to work from. Now, once you have cut a slice, press some cling film against the open edge, otherwise it dries out and starts tasting stale well before its time.
How Long Can It Sit Out At Room Temperature?
Two hours. That is the whole answer, and it is worth taking seriously.
Cream cheese and eggs are an excellent home for bacteria once they warm up, and unlike a dry cake, there is nothing about cheesecake that discourages them. So, if it has been out on the buffet table since lunchtime, it does not go back in the fridge, it goes in the bin.
And, on a hot day, or outdoors in summer, we would cut that down to an hour. We know it feels wasteful. But, it is not worth making someone ill over a dessert.
What About The Freezer?
This is where cheesecake genuinely shines, because it freezes better than almost any other dessert. Wrapped properly, it will keep for around two months with very little change in texture.
So, wrap it tightly in plastic and then in foil, and freeze it whole or in slices, whichever suits you. Then thaw it overnight in the fridge rather than on the counter. And, do not refreeze it afterwards, because that is what turns a smooth cheesecake grainy.
How Can You Tell When It Has Gone Off?
Smell it first. Fresh cheesecake smells creamy and mild, while a spoiled one smells sour and stale, rather like off milk.
Then look for mold, discoloration, or a slick, slimy film on top. A soggy crust and dry, browning edges are both signs it is past its best as well.
But, do keep one thing in mind. Cheesecake is meant to taste slightly tangy, and that is simply the cream cheese. Tangy is fine. Sour and unpleasant is not. So, when you are genuinely unsure, throw it out rather than risk it.
Watch This Video:

Sam is an experienced pastry chef and baking enthusiast who loves to create delicious desserts. Born and raised in a small town, Sam grew up with a deep appreciation for the simpler things in life, including cooking and baking. After graduating from culinary school, Sam began working in a number of bakeries and restaurants, honing her craft and perfecting her recipes.