Buttercream frosting has to be refrigerated for extended storage, but it's good at room temperature for about three days. This is because of the sheer amount of powdered sugar in the frosting. The sugar acts as a natural stabilizer and preservative, making the butter and cream in the frosting safe to store at room temperature for a short time.