It's hard to imagine a dessert more decadent than cheesecake. In fact, a good cheesecake is so rich and flavorful that you may need several days to finish one. That's a potential problem since the mixture of high-protein cheese and eggs is prone to potentially dangerous bacteria. The exact fridge life of your cheesecake isn't super easy to pin down, but a bit of common sense can help you avoid nasty surprises.
Video of the Day
The U.S. Department of Agriculture's Food Marketing Institute, which deals with commercial food products, suggests a fridge life of up to seven days for retail cheesecakes, unless the packaging specifies a shorter timeline. For homemade baked goods containing eggs, which includes cheesecakes, the official standard is three to four days. If you know you won't eat the whole thing in that time, it's best to cut the cheesecake into smaller portions and freeze the extra for later.
The catch, of course, is that these guidelines assume your cheesecake has been properly refrigerated all along. If it gets too warm on your way home from the store, or the cheesecake sits out for too long after it's baked, the dessert can spoil with unsettling speed. Use the same rule that applies to any potentially hazardous food, and discard a cheesecake that's been at room temperature for more than two hours. Spoilage bacteria can give your cheesecake an "off" smell, yellowed color and unpleasant flavor, but salmonella and other potentially dangerous bacteria won't betray their presence until it's too late.