Ingredients
Equipment
Method
Bake the cupcakes
- Preheat the oven to 350°F (175°C).
- Line a 12-cup muffin pan with cupcake liners.
- Prepare cake batter according to package directions.
- Divide the batter into three bowls.
- Leave one bowl white, color one red, and one blue with gel food coloring.
- Spoon small amounts of each color into the cupcake liners, keeping the layers visible.
- Swirl gently with a toothpick to create red, white, and blue ribbons.
- Bake for 18–20 minutes at 350°F (175°C), until a toothpick in the center comes out clean.
- Cool completely before frosting to prevent melting.
Make and pipe the frosting
- Beat the softened butter until creamy.
- Add powdered sugar, heavy cream, and vanilla extract, then mix until smooth and thick.
- Divide the frosting into three bowls.
- Leave one frosting white, color one red, and color one blue with gel food coloring.
- Place the side-by-side red, white, and blue frostings in a piping bag fitted with a large star tip.
- Pipe patriotic swirls onto the cooled cupcakes.
- Decorate with patriotic sprinkles and red, white, and blue star sprinkles, then serve.
Notes
Pro tip: keep the cupcakes completely cool before piping so the frosting holds its star shape. Store in an airtight container in the refrigerator up to 3 days; bring to room temperature before serving for the best texture. Freezing is not recommended for the frosted tops. For a dairy-free swap, use vegan butter and a plant-based heavy cream alternative to keep the frosting creamy.
