This can vary and depends on the type of cake and how it has been stored. Store-bought cakes without perishable ingredients, like fresh fruit or whipped cream, can likely still be safe to eat after six days. However, cakes with perishable ingredients typically spoil within a few days. Most cakes turn stale after five days, even if properly stored.