What is the shelf life of a cake with buttercream icing?

After a cake has been baked and decorated, if it is stored properly it will usually last for about a week before it should be discarded.