yes, cream cheese frosting needs to be refrigerated because it is prone to spoiling. however, cream cheese frosting can last up to two hours at room temperature, so you don't have to worry about eating cold cake.