I always find myself reaching for this recipe when I want something celebratory but straightforward.
This confetti cupcake recipe captures that familiar childhood fun, but elevates it with a secret ingredient: a sophisticated brown butter cardamom swirl. Weโre taking the nostalgia of sprinkles and pairing it with rich, warm spices for a grown-up twist that still feels simple enough for a family weekend baking project. If you’ve ever wanted to make a confetti cupcake that tastes even better than it looks, this easy recipe guarantees light, fluffy cupcakes with a perfectly creamy vanilla bean frosting, without any complicated steps or fussy techniques. This confetti cupcake recipe is a go-to for my family, especially when we want something special but don’t have time for a complicated layered cake.

Ingredients
Cupcakes
- 200g (1 ยพ cups) all-purpose flour: Provides structure for the cupcake; measure by weight for accuracy or use the scoop-and-level method.
- 200g (1 cup) granulated sugar: Adds sweetness and moisture; don’t reduce this amount or the texture will change.
- 10g (2 teaspoons) baking powder: The primary leavening agent; ensure itโs fresh for optimal rise.
- 3g (ยฝ teaspoon) fine sea salt: Balances the sweetness and enhances the overall flavor profile.
- 113g (ยฝ cup or 1 stick) unsalted butter, softened: Provides richness; ensure it’s truly room temperature (soft enough to indent easily).
- 60ml (ยผ cup) vegetable oil: Adds moisture and keeps the crumb soft for days; can substitute with canola or grapeseed oil.
- 2 large eggs, room temperature: Act as a binder; using room temperature eggs helps create a smooth batter without separating.
- 120ml (ยฝ cup) whole milk, room temperature: Adds liquid and helps activate the baking powder; room temperature milk blends better with the butter mixture.
- 5ml (1 teaspoon) alcohol-free vanilla extract: Enhances the flavor of the cake; alcohol-free prevents a potential bitter aftertaste if a lot is used.
- 60g (ยฝ cup) rainbow sprinkles: Use jimmies (rod-shaped) for best results; avoid nonpareils as they tend to bleed color into the batter more easily.
Brown Butter Cardamom Swirl
- 56g (ยผ cup or ยฝ stick) unsalted butter: This will be browned to create a nutty, deep flavor; do not use already softened butter for this step.
- 5g (1 teaspoon) ground cardamom: Provides a warm, complex spice note that complements the vanilla; use fresh ground cardamom for maximum flavor.
- 30g (ยผ cup) powdered sugar: Added to thicken the brown butter mixture and provide sweetness; sift it to avoid clumps.
Vanilla Bean Frosting
- 226g (1 cup or 2 sticks) unsalted butter, softened: The base for the buttercream frosting; make sure it is softened, but not melted.
- 480g (4 cups) powdered sugar, sifted: Provides bulk and sweetness; sifting removes clumps for a smooth frosting texture.
- 45ml (3 tablespoons) heavy cream or whole milk: Adjusts the consistency; heavy cream creates a richer mouthfeel.
- 5ml (1 teaspoon) alcohol-free vanilla extract: Enhances the sweetness and aroma.
- 2.5ml (ยฝ teaspoon) vanilla bean paste (or seeds from ยฝ vanilla bean): Adds visual appeal (tiny black specks) and a deep, true vanilla flavor that standard extract lacks.
- Pinch of fine sea salt: Balances the intense sweetness of the powdered sugar.
Garnish
- 1g (ยผ teaspoon) ground cardamom: For dusting on top of the frosting; adds a final aromatic note.
- Additional rainbow sprinkles: Used immediately after dusting the cardamom to create a finished look.
Instructions
1. Prep the Oven and Pan: Preheat your oven to 175ยฐC (350ยฐF). Line a standard 12-cup muffin tin with paper liners, ensuring they fit snugly into the cups. This ensures even baking and easy cleanup.
2. Make the Brown Butter Cardamom Swirl: In a small saucepan over medium heat, melt the 56g unsalted butter. Continue to cook, stirring occasionally, until the butter brownsโthis means nutty solids form at the bottom and the aroma changes from buttery to toasted. Immediately pour the brown butter into a heatproof bowl to stop cooking; stir in the ground cardamom and powdered sugar, then set aside to cool completely and thicken. It will become a spreadable consistency as it cools.
3. Mix Dry Ingredients: In a large bowl, whisk together the 200g flour, 200g granulated sugar, 10g baking powder, and 3g salt until thoroughly combined. This step ensures even distribution of the leavening agent throughout the batter.
4. Cream Butter and Oil: In a separate medium bowl, use an electric mixer to cream together the softened 113g butter and 60ml vegetable oil until light and fluffy. This process incorporates air into the batter, which is crucial for a tender crumb. Beat for about 2 minutes on medium speed.
5. Add Eggs and Flavorings: Beat in the 2 eggs one at a time, mixing well after each addition until fully incorporated. Scrape down the sides of the bowl as needed to ensure everything combines evenly. Add the 5ml vanilla extract and mix until just combined.
6. Combine Wet and Dry: Gradually add the dry ingredients to the wet ingredients, alternating with the 120ml milk. Start and end with the dry ingredients (e.g., โ dry, ยฝ wet, โ dry, ยฝ wet, โ dry). Mix on low speed until just combined, being careful not to overmix, which can result in tough cupcakes. If you find the batter looks stiff, add an extra tablespoon of milk to adjust consistency before folding in the sprinkles.
7. Add Sprinkles: Gently fold in the 60g rainbow sprinkles using a rubber spatula. Work quickly and lightly to avoid overmixing and prevent the colors from bleeding into the batter. Divide the batter evenly among the 12 prepared liners, filling each about two-thirds full.
8. Swirl and Bake: Spoon about 1 teaspoon of the cooled and thickened brown butter swirl mixture onto the center of each cupcake batter. Use a skewer or toothpick to gently swirl the brown butter mixture into the batter, creating a ribbon effect. Bake for 18-22 minutes, or until a toothpick inserted into the center comes out clean. The confetti cupcake recipe is nearly complete!
9. Cool: Let the cupcakes cool in the muffin tin for 5 minutes before transferring them to a wire rack to cool completely. The cupcakes must be fully cooled before frosting to prevent the frosting from melting.
10. Prepare Frosting: While the confetti cupcakes cool, beat the softened 226g butter with an electric mixer until creamy, about 2-3 minutes. Gradually add the 480g sifted powdered sugar, 45ml heavy cream, 5ml vanilla extract, 2.5ml vanilla bean paste, and pinch of salt. Beat on low speed until combined, then increase to medium-high for 3-5 minutes until light and fluffy.
11. Frost and Garnish: Once completely cool, frost generously using an offset spatula or piping bag. Lightly dust each frosted cupcake with a tiny pinch of the 1g ground cardamom. Immediately scatter additional rainbow sprinkles over the cardamom dust for visual appeal. This confetti cupcake recipe is perfect for family-friendly celebrations.
The Brown Butter Cardamom Swirl: A Deep Dive
Why Brown Butter Matters
Browning the butter creates a rich, nutty depth that adds complexity to the cupcake. It elevates the flavor beyond standard vanilla and adds a warm undertone that complements the cardamom spice perfectly. This simple extra step transforms a basic confetti cupcake recipe into something truly memorable.
The Cardamom Difference
Cardamom adds a unique warm and citrusy flavor profile. It pairs exceptionally well with the caramelized notes of the brown butter and the sweetness of the vanilla frosting. The combination makes this confetti cupcake recipe more interesting than a basic vanilla cupcake, creating a sophisticated twist on a nostalgic classic.
Swirling Technique for Best Results
Ensure the brown butter mixture is cooled and slightly thickened before swirling; if it’s too hot, it will simply melt into the batter. Use a light hand with the skewer; swirl just enough to create a ribbon effect without fully incorporating the mixture into the batter. This technique ensures the swirl remains visible after baking.
Don’t Be Afraid of Spices
Cardamom is often reserved for specialty baking, but it’s a game-changer when combined with classic confetti sprinkles. It transforms a simple dessert into something truly memorable and special for birthdays or celebrations. The warm spice contrasts beautifully with the colorful jimmies, creating a family-friendly dessert that feels elevated.

Troubleshooting Common Cupcake Baking Issues
My Cupcakes Sank in the Middle
This is often caused by underbaking or a change in oven temperature during baking. Ensure your oven temperature is accurate (use an oven thermometer) and do not open the oven door during the first 15 minutes of baking. Also ensure you are using a fresh leavening agent (baking powder) that hasn’t expired.
My Sprinkles Bled Color
Sprinkles (nonpareils in particular) contain dyes that dissolve when exposed to moisture for too long. To prevent this, add the sprinkles at the very end of the mixing process and bake immediately. I always prefer using high-quality jimmies in this confetti cupcake recipe because they hold their color better than nonpareils.
The Cupcakes Are Dense and Tough
Overmixing the batter develops excess gluten, which results in a tough texture. Mix only until the flour streaks disappear; it’s okay if a few small lumps remain. For a lighter crumb, mix on low speed for only 30-45 seconds after adding the final ingredients.
The Frosting is Too Soft or Runny
This usually happens when the butter is too soft or warm. If this occurs, try adding more powdered sugar (1 tablespoon at a time) or place the bowl in the refrigerator for 15-20 minutes to firm up before beating again. If the butter is too soft to begin with, the frosting will separate and appear oily.
FAQs
Can I use regular vanilla extract instead of vanilla bean paste?
Yes, you can substitute the paste with 1 teaspoon of vanilla extract in the frosting. However, the paste provides a more robust vanilla flavor and adds visual appeal with the tiny black specks, which is why we recommend it for this confetti cupcake recipe.
How do I store these confetti cupcakes?
Store unfrosted cupcakes in an airtight container at room temperature for up to 3 days, or freeze for up to 3 months. Frosted cupcakes should be stored in an airtight container at room temperature for up to 2 days; refrigerating them can make the cake dry.
Can I make the batter ahead of time?
It’s best to bake the batter immediately after mixing for the best rise, as the baking powder starts to activate once combined with the wet ingredients. If necessary, you can make the swirl ahead of time and store it in an airtight container for up to a week.
Why do you use both butter and oil in this confetti cupcake recipe?
Butter provides rich flavor, while oil ensures the cupcake stays moist and tender longer. Using both results in a more flavorful and resilient cupcake crumb compared to using just butter in this confetti cupcake recipe.
What kind of sprinkles are best for confetti cupcakes?
For this recipe, we recommend using jimmies (rod-shaped sprinkles) because nonpareils (tiny round balls) tend to bleed color more significantly into the batter, especially when overmixed. Jimmies hold up better in the batter during baking.
My brown butter swirl isn’t visible after baking. What did I do wrong?
The brown butter mixture may have been too warm when added to the batter, causing it to fully incorporate rather than creating a distinct swirl. Ensure the mixture is cooled completely before attempting to swirl it into the batter. I always make sure itโs almost solidified before I swirl it.
Conclusion
This confetti cupcake recipe offers the perfect blend of nostalgic fun and sophisticated flavor, thanks to the brown butter cardamom swirl and rich vanilla bean frosting. Itโs an easy-to-follow recipe thatโs guaranteed to be a hit at any family gathering or birthday celebration. Save this recipe to your Pinterest board for quick access to family-friendly baking ideas.
Print
confetti cupcake recipe
- Total Time: 55 minutes
- Yield: 12 cupcakes 1x
- Diet: general
Description
This confetti cupcake recipe combines classic vanilla cupcakes with a sophisticated brown butter cardamom swirl and a creamy vanilla bean frosting, creating an elevated version of a nostalgic dessert. The recipe guarantees light, fluffy cupcakes with a perfectly creamy frosting.
Ingredients
- 200g (1.75 cups) all-purpose flour
- 200g (1 cup) granulated sugar
- 10g (2 teaspoons) baking powder
- 3g (0.5 teaspoon) fine sea salt
- 113g (0.5 cup) unsalted butter, softened
- 60ml (0.25 cup) vegetable oil
- 2 large eggs, room temperature
- 120ml (0.5 cup) whole milk, room temperature
- 5ml (1 teaspoon) alcohol-free vanilla extract
- 60g (0.5 cup) rainbow sprinkles (jimmies)
- 56g (0.25 cup) unsalted butter (for swirl)
- 5g (1 teaspoon) ground cardamom (for swirl)
- 30g (0.25 cup) powdered sugar (for swirl)
- 226g (1 cup) unsalted butter, softened (for frosting)
- 480g (4 cups) powdered sugar, sifted (for frosting)
- 45ml (3 tablespoons) heavy cream
- 5ml (1 teaspoon) alcohol-free vanilla extract (for frosting)
- 2.5ml (0.5 teaspoon) vanilla bean paste
- Pinch of fine sea salt (for frosting)
- 1g (0.25 teaspoon) ground cardamom (for garnish)
- Additional rainbow sprinkles (for garnish)
Instructions
- Prep Oven and Pan: Preheat oven to 350ยฐF (175ยฐC). Line a standard 12-cup muffin tin with paper liners.
- Prepare Brown Butter Swirl: Melt 56g butter in a small saucepan over medium heat, cooking until brown bits form and it has a nutty aroma. Immediately transfer to a bowl and stir in 1 teaspoon cardamom and 30g powdered sugar. Set aside to cool completely and thicken.
- Combine Dry Ingredients: Whisk together flour, granulated sugar, baking powder, and salt in a large bowl to ensure even distribution.
- Cream Butter and Oil: In a separate bowl, use an electric mixer to cream together 113g softened butter and vegetable oil until light and fluffy (about 2 minutes).
- Add Eggs and Vanilla: Beat in the eggs one at a time, mixing well after each addition. Add vanilla extract and mix until just combined.
- Form Batter: Gradually add the dry ingredients to the wet mixture, alternating with the milk. Start and end with the dry ingredients. Mix on low speed until just combined, being careful not to overmix. Gently fold in the 60g rainbow sprinkles using a spatula.
- Swirl and Bake: Divide batter evenly among the 12 prepared liners. Spoon about 1 teaspoon of the cooled and thickened brown butter swirl mixture onto the center of each cupcake, then use a toothpick to gently swirl it into the batter. Bake for 18-22 minutes, until a toothpick inserted into the center comes out clean.
- Cool Cupcakes: Let the cupcakes cool in the muffin tin for 5 minutes before transferring them to a wire rack to cool completely before frosting.
- Prepare Frosting: Beat the 226g softened butter until creamy (2-3 minutes). Gradually add the sifted powdered sugar, heavy cream, vanilla extract, vanilla bean paste, and salt. Beat on low speed until combined, then increase to medium-high for 3-5 minutes until light and fluffy.
- Frost and Garnish: Frost the completely cooled cupcakes generously. Dust each frosted cupcake lightly with the remaining ground cardamom and immediately scatter additional rainbow sprinkles over the top.
Notes
To ensure sprinkles do not bleed color into the batter, use high-quality jimmies and fold them in quickly right before baking. Ensure the brown butter mixture for the swirl is completely cooled and slightly thickened before adding to the batter to keep the pattern visible after baking. Avoid overmixing the batter, which can result in tough cupcakes.
- Prep Time: 30 minutes
- Cook Time: 25 minutes
- Category: dessert
- Method: baking
- Cuisine: american
Nutrition
- Serving Size: 1 cupcake
- Calories: 400 kcal
- Sugar: 45g
- Sodium: 100mg
- Fat: 20g
- Saturated Fat: 12g
- Unsaturated Fat: 8g
- Trans Fat: 0g
- Carbohydrates: 50g
- Fiber: 1g
- Protein: 3g
- Cholesterol: 50mg
FREE PRINTABLE RECIPE
Get the Printable Recipe PDF (Free)
Enter your email and weโll send you the ingredients + step-by-step instructions as a clean PDF you can save to your phone.
- โ Printable PDF (ingredients + steps)
- โ Save it to your phone (no long scrolling)
- โ Includes cook time + servings
- โ Easy to follow
FAQ
Whereโs the full recipe?
Itโs delivered as a printable PDF so you can save it and cook without scrolling.
I didnโt get the email.
Check Spam/Promotions and search your inbox for your site name. Then click Confirm to receive the PDF.