Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Cotton Candy Cupcakes (Homemade Pink & Blue Swirl) Recipe

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.1 from 58 reviews
  • Author: admin
  • Prep Time: 25 minutes
  • Cook Time: 20 minutes
  • Total Time: 45 minutes
  • Yield: 12 cupcakes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Description

Delight in these whimsical Cotton Candy Cupcakes featuring a homemade pink and blue swirl batter and matching swirled frosting. Light, fluffy, and playfully flavored with optional cotton candy extract, these fun party treats bring a nostalgic carnival vibe to your dessert table. Topped optionally with real cotton candy or sprinkles, they are perfect for birthdays or any festive occasion.


Ingredients

Scale

For the cupcakes:

  • 1 1/2 cups all-purpose flour
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon salt
  • 1/2 cup unsalted butter, softened
  • 3/4 cup granulated sugar
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • 1/2 teaspoon cotton candy flavoring (optional but recommended)
  • 1/2 cup whole milk
  • pink and blue gel food coloring

For the frosting:

  • 1/2 cup unsalted butter, softened
  • 2 cups powdered sugar
  • 1–2 tablespoons milk
  • 1/2 teaspoon vanilla extract
  • 1/4 teaspoon cotton candy flavoring (optional)
  • pink and blue gel food coloring
  • optional cotton candy or sprinkles for topping


Instructions

  1. Preheat and prepare tin: Preheat the oven to 350°F (175°C) and line a 12-cup muffin tin with cupcake liners to ensure easy removal after baking.
  2. Mix dry ingredients: In a medium bowl, whisk together the all-purpose flour, baking powder, and salt to evenly distribute the leavening agents and salt.
  3. Cream butter and sugar: In a large bowl, beat the softened butter and granulated sugar for 2–3 minutes until light and fluffy, providing a smooth texture and incorporating air.
  4. Add eggs and flavorings: Beat in eggs one at a time, then stir in vanilla extract and optional cotton candy flavoring to build the cupcake’s base flavor.
  5. Combine dry and wet ingredients: Add the dry ingredients in two parts, alternating with milk, beginning and ending with the dry ingredients; mix only until just combined to prevent overworking the batter.
  6. Color the batter: Divide the batter evenly into two bowls. Tint one bowl with pink gel food coloring and the other with blue gel food coloring to prepare for the swirl effect.
  7. Fill liners with swirled batter: Spoon small amounts of pink and blue batter alternately into each cupcake liner until about 2/3 full. Use a toothpick to gently swirl the colors together, creating a vibrant marbled pattern.
  8. Bake the cupcakes: Bake in the preheated oven for 18–20 minutes or until a toothpick inserted into the center comes out clean, ensuring they are fully cooked but moist.
  9. Cool completely: Remove cupcakes from the oven and allow them to cool completely before frosting to prevent melting or sliding of the frosting.
  10. Prepare frosting: Beat the softened butter until creamy, then gradually add powdered sugar. Mix in vanilla extract, optional cotton candy flavoring, and milk until the frosting is light and fluffy.
  11. Color and pipe frosting: Divide the frosting into two portions. Tint one pink and the other blue, then spoon each color into opposite sides of a piping bag fitted with a star tip to create a beautiful swirled frosting effect.
  12. Decorate cupcakes: Pipe the swirled frosting on cooled cupcakes and optionally top with a small tuft of real cotton candy or sprinkles for extra flair. Serve immediately if using real cotton candy, as it dissolves quickly.

Notes

  • Cotton candy flavoring enhances the nostalgic carnival flavor but can be omitted for a standard vanilla cupcake.
  • Store unfrosted cupcakes at room temperature for up to 2 days.
  • Frosted cupcakes can be refrigerated for up to 4 days.
  • If using real cotton candy as a topping, serve cupcakes shortly after decorating to prevent it from dissolving.