To maximize the shelf life of canned or packaged frosting after opening, refrigerate in a covered glass or plastic container. ... Frosting that has been continuously refrigerated will keep for about 3 to 4 weeks.