Cake and cupcake crusts have a tendency to become sticky if the weather is humid or if you've made minor errors in the baking process. This makes adding the icing difficult and may make the cake taste slightly soggy. Making sure the cake is fully cooked before you take it out of the oven is the biggest factor in making sure the cake doesn't become sticky, but you can use other tricks, too.
Video of the Day
Take the cake out of the oven.
Set the cake on top of the stove or counter and let it cool or move it onto a cooling rack, depending on the recipe's instructions. It should be at room temperature before you wrap it or frost it.
Sprinkle some powdered sugar on top of the cake to help absorb some of the moisture if the cake is a little sticky.
Trim off sticky areas from the cake before frosting.