Red, White, and Blue Whoopie Pie Recipe

June 9, 2026

Soft whoopie pie cakes and a fluffy vanilla marshmallow filling give these red, white, and blue sandwiches the kind of tender bite that disappears fast from a dessert tray. The cookies bake up more like little cake rounds than cookies, with a springy crumb that stays plush instead of dry, and the filling adds that sweet, creamy center that makes each one feel special without getting fussy.

Using a boxed white cake mix keeps the texture light and consistent, which matters here because whoopie pies are supposed to be soft enough to bite through cleanly. Dividing the batter and tinting it after mixing gives you distinct colors without overworking the base. The marshmallow creme filling holds its shape better than a plain buttercream, so the cookies stack neatly and the layers don’t squish out the sides.

Below, I’ll walk you through the small details that keep the cakes tender, how to keep the colors bold, and the best way to fill and finish them so they look just as good as they taste.

The cakes stayed soft for two days and the filling was just thick enough to hold the layers together without oozing out. I used sanding sugar on the edges and they looked bakery-level on the platter.

★★★★★— Melissa R.

These patriotic whoopie pies are the kind of dessert that vanishes once the sprinkles hit the table, so pin them for your next red, white, and blue celebration.

Save to Pinterest

The Trick to Keeping Whoopie Pies Soft Instead of Dry and Crumbly

Whoopie pies live or die by texture. If the cakes bake too long, they turn into dry little domes that crack when you bite them. Here, the goal is a tender, springy top that sets just enough to lift from the pan but still feels soft in the center when you press it lightly. Pull them when the tops bounce back and the edges are just set, not when they look deeply browned.

Another common mistake is making the rounds too large. These should be small enough to stack neatly without sliding, and scooping them evenly keeps the sandwiches matched. If one side is much bigger than the other, the filling will squeeze out and the colors won’t look as sharp.

What Each Ingredient Is Actually Doing in This Dish

Red, white, and blue whoopie pies soft cake-like cookies, fluffy filling
  • White cake mix — This gives you the soft, fluffy base that makes whoopie pies work without extra measuring. A plain yellow mix will change the color and make the batter look muddy, so white is the better choice here.
  • Eggs and vegetable oil — The eggs add structure, while the oil keeps the cakes moist and tender. Butter won’t give the same plush, cake-like crumb in this particular recipe.
  • Red and blue gel food coloring — Gel coloring gives bold color without thinning the batter. Liquid food coloring can work in a pinch, but you’ll need more of it and the colors usually come out softer.
  • Marshmallow creme — This is what makes the filling fluffy and stable instead of just sweet buttercream. It gives the center that classic whoopie pie texture that holds up when you press the cookies together.
  • Butter and powdered sugar — The butter gets whipped until pale and airy, then the sugar tightens the filling so it pipes or spreads cleanly. If your filling seems too loose, add a little more powdered sugar a spoonful at a time.
  • Patriotic sprinkles and sanding sugar — These are for the finish, but they do more than decorate. They add a little crunch and help the pies look festive without adding extra work.

How to Build the Batter and Filling So the Colors Stay Clean

Mix the Base Just Until Smooth

Stir the cake mix, eggs, and oil until the batter comes together and no dry streaks remain. Stop there. Overmixing can tighten the batter and make the cakes less tender, which is the last thing you want in a whoopie pie. The texture should look thick and scoopable, not runny.

Divide and Color Without Overworking

Split the batter into three bowls right away, then tint one red and one blue while leaving one portion white. Use gel coloring sparingly and mix only until the color is even, because heavy stirring can make the batter spread more in the oven. The colors should look bold in the bowl since they soften slightly during baking.

Bake Until Just Set

Scoop small mounds onto parchment-lined sheets and bake until the tops look puffed and the edges are set, about 10 to 12 minutes. They should not brown much. If they go too far, the centers lose that soft whoopie pie bite and start eating more like cupcakes without frosting.

Whip the Filling Until It Looks Light

Beat the butter first until it’s pale and fluffy, then mix in the marshmallow creme, powdered sugar, and vanilla. The filling should be smooth, thick, and spreadable, with enough body to hold its shape on the cookies. If it looks greasy or loose, the butter was too warm or the sugar hasn’t been fully incorporated.

Ways to Change These Whoopie Pies Without Losing the Soft Center

Make Them Gluten-Free

Use a gluten-free white cake mix that bakes well on its own, not a dense all-purpose flour blend. The texture will still be soft and cake-like, though the tops may need the full baking time to set properly.

Make Them Dairy-Free

Swap the butter in the filling for a firm dairy-free baking stick that whips well. The flavor stays close, but the filling may soften faster at room temperature, so chill the assembled pies if they’ll sit out for long.

Use One Color Instead of Three

If you want less sorting and scooping, color the full batch one shade and skip the white portion. The flavor doesn’t change, but the finished pies look less like a flag and more like a party dessert with the same soft crumb.

Storage and Reheating

  • Refrigerator: Store in an airtight container for up to 4 days. The cakes stay soft, but the filling firms up a bit when chilled.
  • Freezer: They freeze well once assembled. Wrap individually and freeze for up to 2 months, then thaw in the refrigerator so the filling doesn’t get watery.
  • Reheating: These are best served cold or at cool room temperature, not reheated. If they’ve been chilled, let them sit out for 15 to 20 minutes so the filling softens and the texture feels plush again.

Answers to the Questions Worth Asking

Can I make these whoopie pies ahead of time?+

Yes. You can bake the cakes a day ahead and keep them covered at room temperature, then fill them the day you plan to serve them. If you assemble them too far ahead, the filling softens the cookies and the edges lose that fresh-baked look.

How do I keep the red and blue batter from bleeding together?+

Use gel coloring and mix each bowl just until the color is even. If the batter gets overmixed, it loosens and spreads more on the pan, which makes the colors blend where they shouldn’t.

Can I use whipped cream instead of marshmallow creme in the filling?+

I wouldn’t if you want the filling to hold its shape. Whipped cream is lighter but it breaks down fast and squishes out when you sandwich the cookies. Marshmallow creme gives the filling the stable, fluffy body these pies need.

How do I know when the cookies are done baking?+

The tops should spring back when you touch them lightly, and the edges should look set without turning deeply brown. If they still look soft in the center but don’t jiggle, that’s the sweet spot. They finish setting as they cool on the pan.

Can I freeze red, white, and blue whoopie pies after filling them?+

Yes, they freeze well once they’re fully assembled. Wrap them individually so the filling doesn’t pick up freezer odors and thaw them in the fridge before serving. That keeps the cake layers soft instead of sticky.

Red, White, and Blue Whoopie Pie Recipe

Red, white, and blue whoopie pies with soft cake cookies and a fluffy vanilla cream filling. Color-splitting the batter makes the patriotic look, while a marshmallow crème center keeps each sandwich light and creamy.
Prep Time 20 minutes
Cook Time 12 minutes
Total Time 32 minutes
Servings: 12 servings
Course: Dessert
Cuisine: American
Calories: 320

Ingredients
  

Whoopie Pie Cakes
  • 1 box white cake mix
  • 3 large eggs
  • 0.5 cup vegetable oil
  • 1 Red gel food coloring
  • 1 Blue gel food coloring
Cream Filling
  • 1 cup unsalted butter softened
  • 2 cup marshmallow creme
  • 2 cup powdered sugar
  • 1 tsp vanilla extract
Decoration
  • 0.5 cup red, white, and blue sprinkles
  • 0.5 cup patriotic sanding sugar

Equipment

  • 1 stand mixer

Method
 

Bake the whoopie pie cakes
  1. Preheat oven to 350°F (175°C) and line baking sheets with parchment paper. This prevents sticking and helps the cookies bake evenly.
  2. Mix white cake mix, large eggs, and vegetable oil until smooth. Stop when the batter looks glossy and fully combined.
  3. Divide the batter into three bowls and leave one white. Keep the bowls separate so you can color one red and one blue.
  4. Color one portion red with red gel food coloring and color another portion blue with blue gel food coloring. Stir each bowl until the color is uniform with no streaks.
  5. Scoop small rounds of batter onto the prepared baking sheets. Space them slightly apart so they spread without merging.
  6. Bake for 10–12 minutes at 350°F (175°C). Bake until the tops look set and lightly puffed.
  7. Cool the cookies completely before filling. Let them cool fully so the cream filling doesn’t melt or slide.
Make the vanilla cream filling
  1. Beat softened unsalted butter until fluffy. Continue until the texture turns pale and aerated.
  2. Add marshmallow creme, powdered sugar, and vanilla extract. Mix on medium until light and creamy, with no dry sugar pockets.
Assemble and decorate
  1. Spread or pipe the vanilla cream filling onto half of the cookies. Use a generous layer but keep it close to the edges.
  2. Top each filled cookie with a remaining cookie to form sandwiches. Press lightly just to secure the filling.
  3. Roll the edges in patriotic sprinkles. Then roll in patriotic sanding sugar for a festive, sparkly finish.
  4. Serve immediately or refrigerate until ready to eat. If chilling, let them sit briefly at room temperature for the soft cookie texture.

Notes

For the cleanest whoopie pie shapes, scoop batter to consistent size and cool the cookies fully before filling. Store assembled pies in the refrigerator up to 3 days; for best texture, bring to room temperature 10–15 minutes before serving. Freezing is not recommended because the cookie-softness and cream filling texture can change. For a simpler swap, use store-bought gluten-free vanilla cake mix if you need a gluten-free version.
About the author
Savannah

Leave a Comment

Recipe Rating