As summer takes center stage and colors burst into bloom, there’s nothing quite like the joy of creating something delightful in the kitchen. Enter Rainbow Whoopie Pies—these whimsical treats not only tantalize your taste buds but also celebrate the vibrant spirit of diversity. Soft, confetti-infused vanilla cakes cradle lush, rainbow-hued buttercream, making them a perfect choice for picnics, birthday bashes, or festive Pride Month gatherings. Whether you’re a seasoned chef or a home cook looking to elevate your dessert game, these whoopie pies promise to impress with their eye-catching allure and scrumptious flavor. Let’s embark on a culinary adventure that’s as joyful as it is delicious!
Why are Rainbow Whoopie Pies a must-try?
Joyful Celebration: These vibrant whoopie pies are a feast for the eyes and taste buds, ideal for summer gatherings and celebrations like Pride Month.
Easy to Make: With straightforward steps, anyone can whip up these delicious treats, making them perfect for both novice and experienced bakers.
Colorful Appeal: The luscious rainbow buttercream adds a pop of color, ensuring your desserts stand out and bring smiles all around.
Versatile Filling: Feel free to experiment with flavors in the buttercream, using various extracts for a personalized twist!
Perfectly Portable: These whoopie pies are easy to store and transport, making them a great choice for parties or picnics where sharing is key.
Rainbow Whoopie Pies Ingredients
Get ready to create these fantastic treats!
For the Cakes
- All-Purpose Flour – Provides structure to the cakes; opt for gluten-free flour for a gluten-free version.
- Baking Powder – Acts as a leavening agent; check freshness for optimal rising.
- Baking Soda – Works with baking powder to leaven the cakes; ensure it’s active for fluffy results.
- Fine Sea Salt – Enhances sweetness and balances flavors; kosher salt is a great substitute.
- Unsalted Butter – Adds richness and moisture; replace with vegan butter for a dairy-free option.
- Granulated Sugar – Sweetens the cakes and contributes to texture; coconut sugar can be used, but it might change flavor.
- Egg – Provides moisture and binding; swap for flaxseed meal mixed with water for an egg-free option.
- Vanilla Extract – Deepens flavor; almond extract can give a nice twist.
- Whole Milk – Contributes moisture; feel free to use any plant-based milk you prefer.
- Rainbow Sprinkles – Adds texture and fun; nonpareils or confetti sprinkles are excellent alternatives.
For the Buttercream
- Confectioner’s Sugar – Essential for the buttercream’s sweetness and texture; try powdered erythritol for a low-sugar substitution.
- Cake Batter Flavoring – Infuses additional cake-like flavor into the buttercream; it doesn’t have a direct substitute.
- Gel Food Coloring (Various Colors) – Provides bright colors for the buttercream; natural food coloring can also be used.
These Rainbow Whoopie Pies are sure to bring joy to any celebration, so gather your ingredients and let the fun begin!
How to Make Rainbow Whoopie Pies
-
Preheat the oven to 375°F (190°C) and line baking sheets with silicone mats. This ensures an even bake and prevents sticking—your whoopie pies will release easily!
-
Sift together flour, baking powder, baking soda, and sea salt in a mixing bowl. This step aerates the dry ingredients, giving your cakes a light, fluffy texture that’s essential for whoopie pies.
-
Cream the unsalted butter in a separate bowl until fluffy, then mix in granulated sugar, the egg, and vanilla extract until well combined. You want a light and airy mixture to help your cakes rise beautifully!
-
Blend the dry mixture gradually into the wet ingredients, adding whole milk and rainbow sprinkles at the end. Stir gently until just combined; don’t overmix to keep that tender crumb!
-
Transfer the batter into a piping bag and pipe 1-1.25 inch rounds onto the prepared baking sheets. Refrigerate for 20 minutes to chill, which helps the cookies retain their shape while baking.
-
Bake for 8-9 minutes until the edges are lightly golden; then, cool them completely on a wire rack. Your cakes should feel soft to the touch but firm enough to hold the buttercream.
-
Make the rainbow buttercream by beating softened butter in a bowl, gradually adding confectioner’s sugar and milk until creamy. Then, divide into bowls, coloring each with gel food coloring. Get creative with those hues!
-
Assemble your whoopie pies by piping swirls of the colorful buttercream onto the flat side of one cake, and top it with another to form a delicious sandwich. Look at those gorgeous colors!
Optional: Sprinkle some extra rainbow sprinkles on top for an extra pop of fun!
Exact quantities are listed in the recipe card below.

Expert Tips for Rainbow Whoopie Pies
- Keep It Chilled: Chill the piped batter for 20 minutes before baking to ensure your whoopie pies hold their shape and don’t spread too much.
- Check Freshness: Always verify that your baking powder and baking soda are fresh; old leavening agents can lead to dense cakes instead of light, fluffy Rainbow Whoopie Pies.
- Avoid Overmixing: When combining wet and dry ingredients, mix just until incorporated to maintain a tender crumb—overmixing can lead to tough cakes.
- Use Silicone Mats: Baking on silicone mats prevents sticking and allows for even cooking, which is essential for achieving that perfect whoopie pie texture.
- Storage Tips: Once assembled, store the whoopie pies in an airtight container at room temperature for up to 3 days. They taste best when enjoyed fresh!
Make Ahead Options
These Rainbow Whoopie Pies are perfect for meal prep enthusiasts! You can prepare the cake components up to 24 hours in advance by baking the cakes and allowing them to cool completely. Simply store the unfilled whoopie pies in an airtight container to maintain freshness. The rainbow buttercream can also be made ahead and refrigerated for up to 3 days; just give it a good stir to regain that creamy consistency before assembling. When ready to serve, pipe the buttercream between the cakes as directed and enjoy these vibrant treats with minimal effort. This way, you’ll have colorful desserts ready for any celebration!
Rainbow Whoopie Pies Variations & Substitutions
Feel free to put your own spin on these delightful desserts for added enjoyment!
- Chocolate Cake: Swap vanilla for chocolate cake for a rich, sweet contrast to the colorful buttercream.
- Fruit-Flavored Buttercream: Use strawberry or lemon extract in the buttercream for a refreshing fruity twist.
- Nutty Addition: Fold in ground nuts like almond or hazelnut into the cake batter for extra texture and flavor.
- Vegan Option: Replace butter with coconut oil and use a flax egg to create a dairy-free and egg-free alternative.
- Gluten-Free Flour: Substitute all-purpose flour with a gluten-free blend for a celiac-friendly treat that doesn’t skimp on flavor.
- Mini Whoopie Pies: Pipe smaller rounds for bite-sized whoopie pies. They’re perfect for parties or snack platters!
- Spicy Kick: Add a pinch of cayenne or cinnamon to the buttercream for a surprising warmth in every bite.
- Natural Colors: Use beet juice or spinach powder for naturally dyed buttercream—it’s a lovely way to keep things vibrant and healthy!
Each of these variations will not only elevate your Rainbow Whoopie Pies but also let your creativity shine through in the kitchen!
What to Serve with Rainbow Whoopie Pies?
Dive into a world of flavors that beautifully accompany these vibrant, eye-catching treats.
-
Fresh Fruit Salad: A medley of seasonal fruits adds a refreshing contrast to the sweet whoopie pies, cleansing the palate perfectly.
-
Vanilla Ice Cream: The creamy sweetness of vanilla ice cream beautifully balances the colorful buttercream, creating a delightful dessert ensemble. A scoop on the side is always a crowd-pleaser!
-
Lemonade: A glass of zesty lemonade brings a citrusy kick that complements the richness of the whoopie pies while keeping the party vibe alive.
-
Chocolate Dipped Strawberries: These elegant bites add a touch of sophistication to your dessert table and provide a delicious pairing to the sweet cake flavors.
-
Tea or Coffee: A warm cup of chamomile tea or a rich, dark roast coffee enhances the flavors of the whoopie pies, offering a cozy finish to your sweet indulgence.
-
Mini Cupcakes: Small, colorful cupcakes can create a whimsical dessert spread alongside whoopie pies, keeping the joy of vibrant colors alive on your table.
-
Sparkling Water with Mint: Infuse your sparkling water with fresh mint leaves for a refreshing beverage that cleanses the palate after each sweet bite.
These pairings ensure a delightful experience, elevating your gathering with the vivid charm of Rainbow Whoopie Pies!
How to Store and Freeze Rainbow Whoopie Pies
Room Temperature: Store assembled Rainbow Whoopie Pies in an airtight container at room temperature for up to 3 days for the best texture and flavor.
Fridge: If you want to keep them even longer, you can refrigerate the whoopie pies in an airtight container for up to 5 days; just note they may become slightly firmer.
Freezer: For longer storage, freeze unfilled cakes in a single layer for up to 3 months. When ready to enjoy, thaw and fill with buttercream for a fresh taste.
Reheating: If desired, you can briefly microwave each whoopie pie for about 10-15 seconds to warm them up slightly before serving!

Rainbow Whoopie Pies Recipe FAQs
How do I choose the right ripeness for ingredients?
Absolutely! When selecting ingredients, especially eggs and butter, ensure your butter is at room temperature for easy creaming. For eggs, fresh ones work best—check for cracks or an off smell. If using milk, ensure it’s fresh as well to guarantee the quality of your whoopie pies.
How should I store leftover Rainbow Whoopie Pies?
Store your assembled Rainbow Whoopie Pies in an airtight container at room temperature for up to 3 days for optimal flavor and texture. If you’re not planning to eat them immediately, refrigerating them will extend their freshness for up to 5 days; just be aware they might get slightly firmer in the fridge.
Advertisement
Can I freeze Rainbow Whoopie Pies and how?
Absolutely! To freeze unfilled cakes, place them in a single layer on a baking sheet and freeze until solid, about 1–2 hours. Once frozen, transfer them to an airtight container or zip-top bag for up to 3 months. When you’re ready to enjoy, simply thaw and fill with buttercream for that freshly made taste!
What if my whoopie pies come out too flat?
Very much! If your whoopie pies turn out flat, it may be due to old baking soda or baking powder. Make sure they’re fresh for the best rise. Also, chilling the piped batter before baking helps maintain shape, so don’t skip that step!
Can pets eat Rainbow Whoopie Pies?
It’s best to keep these treats away from pets. Ingredients like butter and sugar are not healthy for dogs and other pets. Always opt for pet-safe treats instead if you want to include your furry friends in the enjoyment of your baking!
Are there allergy considerations I should be aware of?
Absolutely! For those with gluten sensitivities, using a gluten-free flour blend is a great alternative. You can also make these treats dairy-free by substituting unsalted butter with vegan butter and whole milk with any plant-based milk. Above all, always double-check labels for any allergens specific to those you’re serving!

Rainbow Whoopie Pies: A Colorful Celebration of Sweetness
Ingredients
Equipment
Method
- Preheat the oven to 375°F (190°C) and line baking sheets with silicone mats.
- Sift together flour, baking powder, baking soda, and sea salt in a mixing bowl.
- Cream the unsalted butter until fluffy, then mix in granulated sugar, the egg, and vanilla extract until well combined.
- Blend the dry mixture gradually into the wet ingredients, adding whole milk and rainbow sprinkles at the end.
- Transfer the batter into a piping bag and pipe 1-1.25 inch rounds onto the prepared baking sheets.
- Refrigerate for 20 minutes to chill.
- Bake for 8-9 minutes until the edges are lightly golden.
- Cool them completely on a wire rack.
- Make the rainbow buttercream by beating softened butter in a bowl, gradually adding confectioner’s sugar and milk until creamy.
- Divide into bowls, coloring each with gel food coloring.
- Assemble your whoopie pies by piping swirls of the colorful buttercream onto the flat side of one cake, and top it with another.







