how to keep cakes moist overnight. while the cake is still hot, wrap it with a layer of plastic wrap, then a layer of aluminum foil, and put it in the freezer. the water created by the cake's residual heat will keep it moist (but not too moist) in the freezer.