Go Back

Swirled Rainbow Tie Dye Cupcakes

Swirl your way to pure joy! These vanilla cupcakes hide a mesmerizing rainbow surprise inside — ready in 45 minutes with one simple batter. The ultimate birthday showstopper that's easier than it looks. Save for your next celebration! 🌈
Prep Time 20 minutes
Cook Time 20 minutes
Total Time 40 minutes
Servings: 12 servings
Course: Dessert
Cuisine: American

Ingredients
  

  • 1 1/2 cups all-purpose flour spooned and leveled
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon salt
  • 1/2 cup unsalted butter softened to room temperature
  • 3/4 cup granulated sugar
  • 2 large eggs room temperature
  • 2 teaspoons vanilla extract
  • 1/2 cup whole milk room temperature
  • Gel food coloring in red orange, yellow, green, blue, and purple
  • 2 cups vanilla buttercream frosting
  • Rainbow sprinkles for topping

Method
 

  1. Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners. Set aside.
  2. In a medium bowl, whisk together the flour, baking powder, and salt until evenly combined. Set aside.
  3. In a large bowl, beat the softened butter and sugar together with an electric mixer on medium speed for 3-4 minutes until light and fluffy. The mixture should look pale and have a whipped texture.
  4. Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract until fully incorporated.
  5. Alternate adding the flour mixture and milk to the butter mixture, beginning and ending with flour (flour-milk-flour). Mix on low speed just until combined after each addition, being careful not to overmix.
  6. Divide the batter evenly among 6 small bowls (about 1/4 cup each). Add a different gel food coloring to each bowl and gently stir until the color is just incorporated — about 10 stirs per bowl.
  7. Spoon small dollops of each colored batter into the prepared cupcake liners, alternating colors and layering them randomly. Fill each liner about 2/3 full. Gently tap the pan on the counter twice to release air bubbles.
  8. Use a toothpick to create a swirl pattern by drawing a figure-eight motion through the colors once or twice — don't overdo it or the colors will muddy together.
  9. Bake for 18-20 minutes until a toothpick inserted in the center comes out clean and the tops spring back when lightly touched. The cupcakes should be lightly golden on top.
  10. Cool in the pan for 5 minutes, then transfer to a wire rack to cool completely before frosting. Once cool, frost with vanilla buttercream and top with rainbow sprinkles.