Forfoodiefriends

  • Quick and Easy Recipes
  • Recipe Roundups
  • Browse Recipes
  • About Sana Umer | Home Cook Behind For Foodie Friends
  • Newsletter
menu icon
go to homepage
  • Quick and Easy Recipes
  • Recipe Roundups
  • Browse Recipes
  • About Sana Umer | Home Cook Behind For Foodie Friends
  • Newsletter
search icon
Homepage link
  • Quick and Easy Recipes
  • Recipe Roundups
  • Browse Recipes
  • About Sana Umer | Home Cook Behind For Foodie Friends
  • Newsletter
×
Home » Desserts

Fireworks Funfetti Cupcakes (Sprinkle-Packed Fourth of July Treat)

Updated: May 16, 2026 · Published: Jul 3, 2025 by Sana Umer · This post may contain affiliate links · Leave a Comment

7 shares
  • Facebook
  • X
↓ Jump to Recipe

I started making these funfetti cupcakes a couple of summers ago for the Fourth of July, mostly because Zainab saw a picture somewhere and would not let it go. She wanted the red, white, and blue sprinkles on top, the swirled frosting, all of it. So I went into the kitchen and figured it out — and honestly, I've made them at least a dozen times since, not just for the Fourth but for birthdays, school events, and one random Tuesday when we just needed something cheerful.

What makes this recipe work is keeping the batter simple and not overthinking it. It's a basic vanilla cupcake with sprinkles folded in, and the trick — the only real trick — is using the right kind of sprinkles and not overmixing the batter once they're in. The first time I made these, I used the tiny round nonpareil sprinkles I had in the pantry, and the batter turned purple. The cupcakes tasted fine but looked terrible. Jimmies (the long, soft kind) are what you want inside the batter. Save the nonpareils for the top.

My husband usually skips dessert unless it involves chocolate, but he'll take one of these no problem. Zainab eats two before I can stop her, and Saad always wants the one with the most frosting. I make a full dozen every time I bake these, and they're reliably gone within a day. If you're making them for a party, I'd double the batch — you'll need it. These are also a great pairing if you're doing a full spread; something like my Sheet Pan Tacos for the main course and these cupcakes for dessert covers a backyard BBQ pretty well.

These come together in under an hour start to finish. The frosting is a simple three-ingredient buttercream, and if you want the tricolor swirl effect, I'll walk you through how I do it with a regular piping bag — no fancy equipment needed. You don't need a stand mixer either. I've made these with a hand mixer and also with a wooden spoon and some patience. Both work.

Patriotic Funfetti cupcakes with white frosting, red and blue sprinkles, and American flag toppers on white platter.

Why You'll Love This Recipe

  • The sprinkle situation inside and out: Folding jimmies into the batter gives you little pops of color through every single bite, not just on top. It's the thing that makes these feel genuinely festive rather than just a vanilla cupcake with decorations stuck on afterward. Zainab calls them "surprise cupcakes" because you don't see the sprinkles until you bite in.

  • One bowl, pantry staples: I keep all of these ingredients in my kitchen at all times — flour, butter, eggs, sugar, vanilla, milk. Nothing specialty, nothing you need to hunt down. If I decide to make these at 3pm for a 6pm gathering, I can actually pull it off without a grocery run.

  • The frosting is genuinely simple: It's butter, powdered sugar, milk, and vanilla. I split it into three portions, tint one red and one blue, and load all three into the same piping bag for the swirl. It looks like it took effort. It did not take that much effort. If you've never piped frosting before, this is actually a good recipe to start with because the multicolor swirl hides any uneven piping.

  • Make-ahead friendly: I bake the cupcakes the night before, let them cool completely, wrap them up, and frost them the next day. The frosted cupcakes hold at room temperature for a couple of days without drying out if they're covered. This is huge when you're trying to get food ready for a party and don't want to be decorating cupcakes an hour before guests arrive.

  • Easy to theme for any occasion: Red, white, and blue for the Fourth. Pink and gold for a birthday. Green and red for Christmas. The base cupcake is the same every time — you just change the sprinkle colors. I've made these for at least five different events and nobody's noticed it's the same recipe because the colors change the whole look.

Ingredients

  • 1½ cups all-purpose flour
  • 1½ teaspoons baking powder
  • ¼ teaspoon salt
  • ½ cup unsalted butter, softened (leave it out 30 minutes before you start)
  • ¾ cup granulated sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • ½ cup whole milk, at room temperature
  • ¼ cup rainbow jimmies sprinkles (the soft rod-shaped ones — not nonpareils)
  • For the frosting:
  • ½ cup unsalted butter, softened
  • 1½ cups powdered sugar
  • 1–2 tablespoons milk
  • ½ teaspoon vanilla extract
  • Red and blue gel food coloring
  • Extra sprinkles and star toppers for decorating

Directions

  • Step 1: Preheat and prep — Preheat your oven to 350°F (175°C). Line a 12-cup muffin tin with cupcake liners. I set this up before I touch anything else so the oven has time to fully come to temperature while I'm mixing the batter.
  • Step 2: Whisk dry ingredients — In a medium bowl, whisk together the flour, baking powder, and salt. Getting this right at the start means you won't overwork the batter later by trying to distribute lumps.
  • Step 3: Cream butter and sugar — In a large bowl, beat the butter and sugar together until the mixture looks pale and fluffy, about 2–3 minutes. This is what gives you a light cupcake — don't rush it. I use a hand mixer here, but a wooden spoon and some elbow grease works too.
  • Step 4: Add eggs and vanilla — Add the eggs one at a time, beating well after each. Then mix in the vanilla. The batter might look slightly curdled at this point — that's normal. It comes back together when the flour goes in.
  • Step 5: Alternate dry and wet — Add the flour mixture and milk to the butter mixture in three alternating additions (flour, milk, flour, milk, flour), mixing gently each time. This method keeps the batter from getting tough. Stop mixing as soon as everything is just combined.
  • Step 6: Fold in sprinkles — Add the jimmies and fold them in with a spatula using just a few strokes. Do not use the mixer here. The less you stir after adding the sprinkles, the better — too much mixing and the colors start bleeding into the batter.
  • Step 7: Fill and bake — Divide the batter evenly among the lined cups, filling each about two-thirds full. Bake for 18–20 minutes, until a toothpick inserted in the center comes out clean. My oven runs a little hot so I start checking at 17 minutes.
  • Step 8: Cool completely — Let the cupcakes sit in the pan for 5 minutes, then transfer to a wire rack. They need to be fully cool before frosting — I've rushed this and the buttercream just slides right off. Give them at least 30 minutes.
  • Step 9: Make the frosting — Beat the butter until creamy and smooth. Add the powdered sugar gradually, then the vanilla and milk, and beat until fluffy. Divide the frosting into three portions. Tint one red and one blue using gel food coloring (gel works better than liquid — it doesn't water down the frosting).
  • Step 10: Load and pipe — To get the swirl, spoon all three colors side by side into your piping bag fitted with a star tip. The first squeeze or two will be muddy — pipe those off onto a plate until the colors separate, then pipe onto your cupcakes. Top with extra sprinkles or star toppers.
Funfetti cupcake with white frosting piped in swirl, topped with red and blue sprinkles, in golden wrapper.

Tips for Success

  • Jimmies only in the batter: I cannot say this enough — nonpareils bleed. I found out the hard way when my first batch came out tie-dye purple. Jimmies are the long soft sprinkles (think rainbow rods) and they hold their shape through baking. You can get a bag at Walmart or any grocery store. Save the nonpareils for topping after the cupcakes are frosted, where they look great and don't have time to bleed.

  • Don't overmix after the flour goes in: Overmixing develops gluten and makes cupcakes dense and tough. Once the flour is just incorporated, stop. With sprinkles, there's another reason — too many strokes and the color coats the batter and you lose the distinct pops of color inside. I fold in the sprinkles with 4–5 strokes and call it done.

  • Room temperature everything: Cold butter won't cream properly, cold eggs can make the batter break, and cold milk can cause the whole thing to seize up. I pull my butter, eggs, and milk out of the fridge at least 30 minutes before I start. If I forget (which happens), I soften the butter in 5-second microwave bursts and set the eggs in a bowl of warm water for 5 minutes.

  • Use gel food coloring for the frosting: Liquid food coloring adds water to the buttercream and makes it soft and hard to pipe. Gel coloring (little squeeze bottles or pots — any grocery store has them near the baking stuff) gives you bright, saturated color without wrecking the frosting texture. A tiny amount of gel goes a long way, so add it gradually.

  • Fill the liners evenly: I use a medium cookie scoop to portion the batter — two level scoops per liner. Before I started doing this, I always had some cupcakes peak into domes while others baked flat, and the baking time was inconsistent. The cookie scoop changed that. A regular ice cream scoop works too.

Variations

  • Lemon funfetti: Add 1 teaspoon of fresh lemon zest to the batter along with the vanilla. It gives the cupcakes a lighter, brighter flavor that works really well in summer. I've made this version for birthday parties and it goes fast — the lemon cuts through the sweetness of the frosting nicely.

  • Filled cupcakes: Once the cupcakes are baked and cooled, use a small knife or apple corer to cut out a little plug from the center of each one. Fill it with strawberry jam, lemon curd, or even Nutella, then replace the top before frosting. Nobody sees the filling until they bite in. Saad calls this the "secret version" and always asks for it.

  • Cream cheese frosting: Swap the plain buttercream for a simple cream cheese frosting — 4 oz cream cheese beaten with ¼ cup butter, 1½ cups powdered sugar, and a splash of vanilla. It's tangier and slightly less sweet, which balances the sprinkle-packed cupcake well. You can still tint it red, white, and blue — just make sure the cream cheese is fully at room temperature or you'll get lumps.

  • Dairy-free version: Use plant-based butter (I've had good results with Earth Balance) and oat milk or almond milk in equal amounts. The texture is slightly denser but still works. This is also the version I make when a kid with a dairy allergy is coming to the party — same sprinkles, same frosting technique, just swapped ingredients. Most people don't notice the difference.

  • Holiday recolor: The base recipe stays exactly the same no matter what occasion — only the sprinkle colors change. Green and red jimmies for Christmas, pink and gold for a birthday, orange and black for Halloween. If you're making a big batch for the holidays and want more festive dessert ideas, my Cake Pops Recipe uses a similar concept of customizing by color and is another great option to put on the same dessert table.

Serving and Storage

Serving

Serve these at room temperature — the buttercream firms up in the fridge and doesn't taste as good cold. If you refrigerated them overnight, pull them out at least 20 minutes before serving and let the frosting come back to room temperature. I usually arrange them on a flat plate and add a few extra sprinkles right before putting them out, just to make them look freshly decorated. For a July Fourth spread, I set these alongside something savory like my Cheesy Sloppy Joe Casserole — the sweet-savory combo always goes over well at backyard gatherings.

Storage

Frosted cupcakes keep in an airtight container at room temperature for up to 2 days. In the fridge, they'll last up to 5 days — just expect the sprinkles on top to lose some of their crunch. If you want to get ahead of a party, bake and fully cool the unfrosted cupcakes, wrap them individually in plastic wrap, and freeze for up to 2 months. Thaw overnight on the counter, then frost the day of. The texture stays really good this way — sometimes I think the frozen-then-thawed cupcakes are actually a little more moist than the fresh ones.

Fireworks funfetti cupcakes with white frosting, red and blue sprinkles, and star flag toppers on white plate.

Frequently Asked Questions

Can I make these cupcakes ahead of time?

Yes, and I actually recommend it. Bake the cupcakes, cool them completely, wrap each one in plastic wrap, and either refrigerate overnight or freeze for up to 2 months. Frost them the day you're serving — the frosting always looks better when it's freshly piped, and you won't be scrambling the morning of a party.

What type of sprinkles should I use inside the batter?

Use jimmies — the soft, rod-shaped rainbow sprinkles. Nonpareils (the tiny round balls) bleed color into the batter almost immediately and turn everything a muddy purple-gray. Jimmies hold their shape and color through baking. You can find them in the baking aisle at any grocery store, Walmart, or Target.

Can I use buttermilk instead of regular milk?

Yes, it works great. Buttermilk makes the cupcakes a little more tender and adds a very slight tang that you won't really notice but makes the overall flavor a bit more interesting. Use the same amount — ½ cup — and don't change anything else in the recipe.

How do I get the tricolor swirl in the frosting?

Divide your frosting into three portions and tint one red and one blue. Then lay a piece of plastic wrap flat, spoon the three colors in side-by-side rows, roll it into a log, and twist the ends. Snip one end and drop it into your piping bag with a star tip attached. The first squeeze or two will mix together — pipe that onto a plate first, then start piping your cupcakes. You don't need anything fancy, just a basic piping bag and a star tip, which you can get for a couple of dollars at Walmart.

Can I double this recipe?

Easily. I do this whenever I'm making them for a party — one batch of 12 disappears fast. Double everything proportionally, divide across two muffin tins, and rotate the pans halfway through baking so they cook evenly. The bake time stays roughly the same — start checking at 18 minutes.

Fireworks Funfetti Cupcakes

Sana Umer
Fireworks Funfetti Cupcakes are festive, fluffy treats bursting with colourful sprinkles and topped with patriotic frosting. Perfect for 4th of July, birthdays, or parties—these cupcakes are as fun to make as they are to eat!
Print Recipe Pin Recipe
Prep Time 15 minutes mins
Cook Time 20 minutes mins
Chill Time 30 minutes mins
Total Time 1 hour hr 5 minutes mins
Course Dessert
Cuisine American
Servings 12 cupcakes
Calories 280 kcal

Ingredients
  

For the Cupcakes:

  • 1 ½ cups all-purpose flour
  • 1 ½ teaspoons baking powder
  • ¼ teaspoon salt
  • ½ cup unsalted butter softened
  • ¾ cup granulated sugar
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • ½ cup milk
  • ¼ cup red white & blue sprinkles

For the Frosting:

  • ½ cup unsalted butter softened
  • 1 ½ cups powdered sugar
  • 1 –2 tablespoons milk
  • ½ teaspoon vanilla extract
  • Red and blue food colouring
  • Additional sprinkles or star toppers

Instructions
 

Preheat Oven:

  • Preheat to 350°F (175°C). Line a 12-cup muffin tin with cupcake liners.

Make Batter:

  • In a bowl, whisk flour, baking powder, and salt. In a separate bowl, cream butter and sugar until fluffy. Beat in eggs and vanilla. Alternate adding dry ingredients and milk until smooth. Fold in sprinkles.

Bake:

  • Divide batter evenly among liners. Bake for 18–20 minutes or until a toothpick comes out clean. Cool completely.

Make Frosting:

  • Beat butter until creamy. Gradually add powdered sugar, vanilla, and milk until smooth and spreadable. Divide into thirds; tint one red, one blue, and leave one white.

Decorate:

  • Pipe or spread frosting using all three colours for a swirl effect. Top with sprinkles or themed decorations.

Notes

    • Swirl Tip: Add coloured frosting to separate sides of a piping bag for a fun swirl.
    • Make Ahead: Bake cupcakes a day in advance; frost before serving.
    • Storage: Store in an airtight container at room temperature for up to 3 days.
    • Dairy-Free Option: Use plant-based butter and milk.
    • Kid-Friendly: Great baking activity for kids with easy customisation!
Keyword 4th of July cupcakes, fireworks cupcakes, funfetti cupcakes, red white and blue cupcakes

These have become one of my most-made desserts, which is saying something because I bake a lot.

  • TRADITIONAL BRITISH PIMM’S TRIFLE FOR SUMMER GARDEN PARTIES (SHOWSTOPPER DESSERT)
  • FOOLPROOF FIRST-TIMER'S BLUEBERRY COBBLER WITH BISQUICK
  • SMALL-BATCH STRAWBERRY SHORTCAKE FOR TWO EMPTY NESTERS
  • SINGLE-SERVE PEACH COBBLER MUG CAKE FOR ONE PERSON
7 shares
  • Facebook
  • X

About Sana Umer

I'm Sana Umer — the home cook behind every recipe on For Foodie Friends. I'm a Pakistani-American mom of two based in the US, and I've been cooking seriously for about a decade now, mostly because feeding a family every day is the fastest way to learn how to actually cook.

I'm completely self-taught. I learned by watching my mother in Pakistan, by burning a lot of food in my early years, and by paying attention to which recipes worked and which ones needed fixing. I don't specialize in just one cuisine — I cook the Pakistani dishes I grew up with, the American desserts my kids request, weeknight dinners, holiday roasts, and everything in between.

Every recipe is personally tested in my own kitchen, every word is written by me, and every photo is taken of food I actually made.

Comments

No Comments

Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




for-foodie-frends-logo-1

Hi, I'm Sana Umer — the home cook, recipe tester, and writer behind For Foodie Friends.

I'm a Pakistani-American mom based in the US. I learned to cook in two kitchens — my mother's in Pakistan, where I grew up watching whole spices bloom in oil, and my own kitchen now, where I cook for my husband and kids.

Every recipe on this site has been tested in my own kitchen, often more times than I'd like to admit, before it ever made it here. I cook a little bit of everything: the Pakistani comfort food I grew up with, the American desserts my kids beg for, weeknight dinners that need to come together fast, and the holiday spreads that take all day.

If a recipe is on this site, it earned its place. No ghostwriters, no AI shortcuts, no copy-paste from somewhere else — just real recipes from a real kitchen, written to actually work the first time you make them.

Welcome to my corner of the internet.

— Sana

More about me →

Popular

  • 23 BUDGET CHICKEN RECIPES FOR THE WHOLE WEEK
  • 25 PANTRY STAPLE RECIPES WHEN THE FRIDGE IS EMPTY
  • 31 CHEAP FAMILY DINNERS THAT FEED 4 FOR UNDER $15
  • 27 BUDGET-FRIENDLY MEAL PREP RECIPES FOR THE WHOLE WEEK
  • 29 DINNERS UNDER $5 PER SERVING (REAL RECIPES, REAL MATH)
  • 19 EASY TILAPIA RECIPES THAT DON'T TASTE BLAND
  • 23 SEAFOOD PASTA DISHES FOR COASTAL-INSPIRED DINNERS
  • 21 HEALTHY WHITE FISH RECIPES THE FAMILY WILL LOVE

Footer

↑ back to top

About

  • Privacy Policy
  • Disclaimer
  • Terms & Conditions
  • Editorial Principles
  • Corrections Policy
  • Affiliate Disclosure

Newsletter

  • Sign Up! for emails and updates

Contact

  • Contact

Resources

  • Kitchen Essentials
  • Pantry Essentials

As an Amazon Associate I earn from qualifying purchases.

Copyright © 2024 For Foodie Friends

  • Facebook
  • Pinterest