Sweet vanilla flavor and light almond notes make Patriotic Funfetti Cupcakes a festive favorite for the 4th of July, complete with red and blue swirls and a smooth layer of frosting.

I know what you’re thinking—I really love funfetti. And you’re not wrong. While organizing the baking shelf at work, I had an idea for patriotic cupcakes using funfetti with a surprise star in the center. How fun is that?
We celebrated a little early at a BBQ tonight, so I brought these along and now I get to share them with you in time for July 4. Soft and moist vanilla cupcakes are filled with red, white, and blue sprinkles, have a swirled star inside, and are topped with light, fluffy vanilla buttercream. They may not be apple pie, but they’re festive and pretty darn delicious. Happy 4th of July—enjoy the fireworks!
Table of Contents
Why We Love Patriotic Cupcakes
- Versatile enough to serve for birthdays, holidays, patriotic events, or any warm-weather celebration.
- Moist texture stays soft for days, as the richness of sour cream and whole milk keeps the crumb tender and balanced.
- Made entirely from scratch using pantry staples but still easy and approachable for beginner bakers.
Recipe Ingredients
Red, White, and Blue Jimmies – Slightly sweet and soft, jimmies melt into the cupcakes as they bake, adding subtle sugary flavor throughout. Use jimmies (the long, soft kind) instead of nonpareils to prevent bleeding into the batter.
Heavy Cream – Rich and smooth, heavy cream gives the buttercream its creamy finish and mellow flavor. It softens the sweetness and makes the frosting feel light.
Vanilla Bean Paste – This gives a deeper vanilla flavor with those little specks that look extra special in the crumb.
For a full list of ingredients and amounts, see the recipe card below.
Variations
Use Buttermilk Instead of Whole Milk – Buttermilk gives the cupcakes a slight tang and tender crumb. It works well with the almond and vanilla extracts already in the recipe.
Add White Chocolate Chips or Chopped Candy Bars – Mix in your favorite white chocolate chips or chopped candy (up to ½ cup) to bring extra richness and a creamy bite to the batter.
How to Make Patriotic Funfetti Cupcakes
Step 1: Preheat the oven to 350 degrees Fahrenheit (177 degrees Celsius). Line one standard cupcake pan with liners, and set aside. Line the bottom of one standard-sized loaf pan with parchment paper, then lightly coat it with baking spray and flour. Set aside.
Step 2: In the bowl of a stand mixer, beat the butter and sugars until light and fluffy, about 3 minutes. Add the vanilla bean paste, vanilla extract, and almond extract. With the mixing speed on low, add the egg, and then the egg yolk, mixing until just combined.
Step 3: In a medium-sized mixing bowl, whisk together the flour, cake flour, baking powder, baking soda, and salt. In a glass measuring cup, mix together the sour cream and milk. With the mixing speed on low, alternate adding the dry and wet ingredients, mixing until the batter is smooth and homogeneous (being careful not to overmix).
Step 4: Remove the bowl from the stand. Portion out ¾ cup of batter into one small mixing bowl and ¾ cup of batter into another. Dye one portion red and the other blue. Add the red batter into one side of the loaf pan and the blue batter into the other side of the loaf pan. Swirl the red and blue batter together gently (be careful not to overmix, or the colors will blend into purple). If you would prefer to just use one color for the star, you can do that with 1 ½ cups of batter. Bake for 15–18 minutes or until the cake is set.
Step 5: Once the cake has cooled, remove it from the pan and cut out star shapes (use a small star cutter, about 1″ in diameter and ½″–¾″ thick, so it fits neatly into the cupcake liner with enough space for the batter to bake around it).
Step 6: After the stars have been cut out, add the jimmies to the remaining cupcake batter. Stir them in slowly and don’t overmix them so that the colors don’t bleed throughout the batter.
Step 7: Place a little batter into the bottom of each cupcake liner and then set in the stars and add the batter on top of the stars making sure to evenly place the batter into all lines.
Step 8: Bake for 16 to 20 minutes, checking for doneness at the 16-minute mark by inserting a toothpick into the cake (avoiding the star center); if it comes out clean, they’re done. Let the cupcakes cool completely.
Step 9: Prepare the frosting: Place the softened butter in a medium mixing bowl. Using a stand or hand mixer with the paddle attachment, whip on medium speed for around 3 minutes, or until light and fluffy. Pause the mixer and add the powdered sugar, heavy cream, and vanilla. Start mixing on low for about a minute to combine, then switch to high speed and beat for another 3–4 minutes until the frosting is airy and smooth. If it’s too runny, add more sugar; if it’s too thick, mix in a little more cream. To balance excessive sweetness, stir in a pinch of salt (I typically use ¼ teaspoon).
Step 10: After the cupcakes have cooled, frost the cupcakes and then add your favorite patriotic sprinkles.

Expert Tips
Pipe Buttercream with a Large Open Tip – A large round or star piping tip gives you control and a clean swirl when decorating. It also keeps the frosting light and fluffy without over-handling it.
Fill Cupcake Liners Evenly with a Scoop – Use a medium cookie scoop or ¼ cup measure to divide the batter evenly across the liners. This helps all the cupcakes bake at the same rate and come out the same size.
FAQs
Gel food coloring gives vibrant results using only a small amount, which keeps the batter thick and stable. It blends smoothly into the mix without affecting the texture or baking time.
Yes, cream cheese frosting, whipped frosting, or even a lightly sweetened stabilized whipped cream all work well. Just make sure the texture is firm enough to hold its shape when piped.
Storage Information
STORE leftover Patriotic Cupcakes in an airtight container at room temperature for up to 3 days, or refrigerate them for up to 5 days to keep the frosting firm. If you’d like to make them ahead of time, FREEZE unfrosted cupcakes in a sealed container or freezer bag for up to 2 months.
Let them thaw at room temperature, then frost and serve. To REHEAT, microwave an unfrosted cupcake for about 10 seconds to refresh the texture before topping.

Patriotic Funfetti Cupcakes Recipe
Ingredients
- 1 cup all-purpose flour
- 3/4 cup cake flour
- 3/4 cup sugar
- 1/4 cup brown sugar
- 8 Tbsp (1 stick) butter - room temperature
- 1 large egg + 1 egg yolk
- 1/4 cup sour cream
- 3/4 cup whole milk
- 1/2 tsp baking powder
- 1/4 tsp baking soda
- 1/2 tsp salt
- 2 teaspoon vanilla extract
- 1 tsp vanilla bean paste
- 1/4 tsp almond extract
- red and blue food coloring
- 1/2 cup red, white and blue jimmies
Vanilla Buttercream Frosting
- 3 1/2-4 cups powdered sugar
- 16 Tbsp (2 sticks) butter - room temperature
- 3 Tbsp heavy cream
- 1 3/4 tsp vanilla extract
- pinch of salt - to taste
- red and blue sprinkles and stars - on top of the frosting
Instructions
- Preheat the oven to 350 degrees Fahrenheit (177 degrees Celsius). Line one standard cupcake pan with liners, and set aside. Line the bottom of one standard-sized loaf pan with parchment paper, then lightly coat it with baking spray and flour. Set aside.
- In the bowl of a stand mixer, beat the butter and sugars until light and fluffy, about 3 minutes. Add the vanilla bean paste, vanilla extract, and almond extract. With the mixing speed on low, add the egg, and then the egg yolk, mixing until just combined.
- In a medium-sized mixing bowl, whisk together the flour, cake flour, baking powder, baking soda, and salt. In a glass measuring cup, mix together the sour cream and milk. With the mixing speed on low, alternate adding the dry and wet ingredients, mixing until the batter is smooth and homogeneous (being careful not to overmix).
- Remove the bowl from the stand. Portion out ¾ cup of batter into one small mixing bowl and ¾ cup of batter into another. Dye one portion red and the other blue. Add the red batter into one side of the loaf pan and the blue batter into the other side of the loaf pan. Swirl the red and blue batter together gently (be careful not to overmix, or the colors will blend into purple). If you would prefer to just use one color for the star, you can do that with 1 ½ cups of batter. Bake for 15–18 minutes or until the cake is set.
- Once the cake has cooled, remove it from the pan and cut out star shapes (use a small star cutter, about 1″ in diameter and ½″–¾″ thick, so it fits neatly into the cupcake liner with enough space for the batter to bake around it).
- After the stars have been cut out, add the jimmies to the remaining cupcake batter. Stir them in slowly and don't overmix them so that the colors don't bleed throughout the batter.
- Place a little batter into the bottom of each cupcake liner and then set in the stars and add the batter on top of the stars making sure to evenly place the batter into all lines.
- Bake for 16 to 20 minutes, checking for doneness at the 16-minute mark by inserting a toothpick into the cake (avoiding the star center); if it comes out clean, they're done. Let the cupcakes cool completely.
- Prepare the frosting: Place the softened butter in a medium mixing bowl. Using a stand or hand mixer with the paddle attachment, whip on medium speed for around 3 minutes, or until light and fluffy. Pause the mixer and add the powdered sugar, heavy cream, and vanilla. Start mixing on low for about a minute to combine, then switch to high speed and beat for another 3–4 minutes until the frosting is airy and smooth. If it’s too runny, add more sugar; if it’s too thick, mix in a little more cream. To balance excessive sweetness, stir in a pinch of salt (I typically use ¼ teaspoon).
- After the cupcakes have cooled, frost the cupcakes and then add your favorite patriotic sprinkles.
NOTES
Nutrition
Recipe Source: Adapted from Sally’s Baking Addiction, Funfetti Cupcakes











These look amazing, I know my grandchildren will love them. I am glad the recipe just makes 12!!! I must have missed a step, though! How long do you bake the cupcakes once the stars are in place? Thanks !!
These are so fun! Hope you had a great 4th!
That is adorable! I love these!
Those are seriously the cutest little cupcakes! I love this twist!