Cinco de Mayo Piñata Cake

Featured in: Seasonal Kitchen Notes

This vibrant cake showcases six brightly colored layers stacked to hold a surprise center filled with assorted candies. Each layer is carefully tinted with gel food coloring and baked to create a stunning rainbow effect when sliced. The frosting complements the cake with a smooth, creamy texture, made from butter, powdered sugar, and vanilla. Perfect for festive occasions, this cake combines a joyful presentation with delightful flavors, offering a sweet and colorful centerpiece that brings both visual excitement and delicious indulgence.

Updated on Fri, 06 Mar 2026 11:27:00 GMT
Cinco de Mayo Piñata Cake with Rainbow Inside bursts with colorful layers and a surprise candy center. Save
Cinco de Mayo Piñata Cake with Rainbow Inside bursts with colorful layers and a surprise candy center. | petitzayan.com

My neighbor knocked on the door one April afternoon with her daughter bouncing on her toes, asking if I could help her make something special for Cinco de Mayo. That's when I discovered this rainbow layer cake with candy hiding inside—a dessert that's part baking project, part treasure hunt. The moment we cracked open those gel food coloring bottles and started tinting the batter, her daughter's eyes went wide. I realized then that this cake wasn't just about layers and frosting; it was about creating that gasp-worthy moment when someone cut into it and discovered the piñata surprise. It's become my go-to for celebrations ever since.

I'll never forget bringing this to a potluck where everyone was skeptical about homemade desserts. As I cut the first slice and that avalanche of mini M&Ms and gummy bears tumbled out onto the plate, the whole table went quiet for exactly one second. Then someone shouted, "It's a piñata!" and suddenly everyone wanted to know how I'd done it, when really it's just a clever stacking trick combined with patience and good timing.

What's for Dinner Tonight? 🤔

Stop stressing. Get 10 fast recipes that actually work on busy nights.

Free. No spam. Just easy meals.

Ingredients

  • All-purpose flour (3 cups): The foundation that holds everything together; make sure it's fresh because old flour can make your cake dense instead of tender.
  • Baking powder and baking soda (2½ tsp and ½ tsp): These need to be measured precisely because they're what gives you that light crumb structure where the layers stay distinct.
  • Unsalted butter and granulated sugar (1 cup and 2 cups): Creaming these together for a full three minutes aerates the batter and creates that delicate cake texture.
  • Room temperature eggs and milk: Cold ingredients don't blend smoothly, which can cause lumps or uneven rising.
  • Vanilla extract (2 tsp): Use real vanilla; the imitation stuff can taste metallic when paired with bright gel colors.
  • Gel food coloring (red, orange, yellow, green, blue, purple): Gel colors won't thin your batter like liquid food coloring does, and they give you those vibrant, true rainbow hues.
  • Assorted small candies (1½ cups): This is your treasure; stick with items that won't soften or melt like chocolate (save that for another time).
  • Butter and powdered sugar for frosting (1½ cups and 5 cups): Sift that powdered sugar because even tiny lumps will show up as grittiness in your frosting.

Tired of Takeout? 🥡

Get 10 meals you can make faster than delivery arrives. Seriously.

One email. No spam. Unsubscribe anytime.

Instructions

Set up your station:
Preheat the oven to 350°F and have three 8-inch round pans greased and lined with parchment paper. If you have six pans, wonderful; if not, you'll bake in batches, which just means extra cooling time between rounds.
Mix the dry foundation:
Whisk together flour, baking powder, baking soda, and salt in a medium bowl and set it aside. This step prevents lumps and distributes the leavening agents evenly.
Cream butter and sugar:
In a large bowl, beat softened butter and sugar together for about three minutes until the mixture is pale, fluffy, and looks almost mousse-like. This is where the magic of aeration happens, creating that tender crumb.
Incorporate eggs and vanilla:
Add eggs one at a time, beating well after each addition to ensure they're fully incorporated. Finish with vanilla extract and beat just until combined.
Build the batter:
Add the dry mixture in three parts, alternating with the milk and always starting and ending with dry ingredients. Mix on low speed just until you don't see flour streaks; overmixing develops gluten and makes the cake tough.
Create your rainbow:
Divide the batter equally among six bowls and add a different gel color to each, stirring gently until the color is uniform. The batter should look like a painter's palette when you're done.
Fill the pans:
Pour each colored batter into its prepared pan, smooth the tops, and slide into the oven. Bake for 15 to 18 minutes until a toothpick inserted in the center comes out clean with just a few moist crumbs.
Cool with patience:
Let each layer rest in its pan for about 10 minutes (this prevents breakage), then transfer to a wire rack to cool completely. Don't rush this step; a warm cake crumbles when you try to carve it.
Create the cavity:
Once completely cool, use a 3-inch round cutter to carefully carve out the center of four of your six layers (keep the top and bottom layers whole and intact). Push straight down, twist slightly, and lift out the cylinder of cake.
Prepare the frosting:
Beat softened butter until creamy, then gradually add sifted powdered sugar, milk, vanilla, and a pinch of salt. Beat until you reach a smooth, spreadable texture that's fluffy but not grainy.
Stack with strategy:
Place your purple layer (the bottom) on a serving plate and spread a thin layer of frosting on top. Stack the first cut-out layer on top, frost lightly, and repeat with remaining cut-out layers, building a tower of color.
Fill the surprise:
Pour your assorted candies into the center cavity created by all those stacked cut-out layers. Don't overfill or they'll spill when you add the top layer.
Seal the secret:
Place the final whole layer (your top layer) over the candy-filled cavity, pressing down gently to secure it. This is the moment when you're protecting the surprise.
Frost the exterior:
Generously frost the outside and top of the entire cake with remaining frosting, smoothing or creating texture as desired. You can add colored frosting stripes, sprinkles, or decorations for that festive piñata feel.
Chill before the reveal:
Refrigerate the finished cake for 30 minutes so the frosting sets and the layers are easier to slice cleanly. When you cut into it, that candy tumble will be spectacular.
Save
| petitzayan.com

There's something magical about watching someone's face shift from skepticism to wonder when they discover that the cake they're eating is actually a piñata. I've seen adults forget their manners, kids laugh with their mouths full of frosting, and everyone ask the same question: "How did you do that?" That's when I know a dessert has crossed from simple cake into something memorable.

Still Scrolling? You'll Love This 👇

Our best 20-minute dinners in one free pack — tried and tested by thousands.

Trusted by 10,000+ home cooks.

The Coloring Strategy That Actually Works

The first time I made this, I used liquid food coloring because it was what I had in the pantry, and the batter looked watery and separated. The layers baked unevenly and some were oddly cakey while others were dense. I learned the hard way that gel coloring is worth the trip to a specialty store or online order because it's concentrated, doesn't thin your batter, and gives you those true, vibrant rainbow shades that make the reveal so stunning. Your guests will notice the difference in color intensity, and your cake will bake more consistently.

Troubleshooting Stacking and Structure

The scariest moment in making this cake is usually when you're stacking the layers, especially once you've carved out those center holes. I used to worry the whole thing would topple, but I discovered that a thin, even layer of frosting between each layer acts like glue and keeps everything stable. You don't need much; just enough to anchor the next layer. If your layers are slightly uneven from baking, a dab of frosting under the lower side of a wobbly layer corrects it instantly. Chill between layers if you're nervous, and remember that frosting is forgiving.

Candy Selection and Seasonal Variations

The assorted candies you choose completely change the personality of this cake, and part of the fun is picking your mix. I've used mini M&Ms and rainbow sprinkles for Cinco de Mayo, then switched to Halloween candies for a fall party. The only rule is to avoid anything that will soften, melt, or stick to itself—so chocolate pieces are out, but gummy bears, hard candies, and sprinkles are perfect. You can even theme the colors of your candies to match your frosting decorations for an extra-coordinated look.

  • Stick with candies that stay firm and won't melt or clump together inside the cavity.
  • Avoid anything sticky or chunky that might jam during slicing and ruin the presentation.
  • Consider coordinating your candy colors to your frosting decorations for a polished, intentional look.
Save
| petitzayan.com

This cake has become my celebratory signature, the dessert I make when I want to turn an ordinary dinner into something people will talk about long after the last crumb is gone. There's joy in watching the surprise unfold, and that's worth every minute of planning and baking.

Recipe FAQs

How do I create the colorful layers?

Divide the batter evenly into six portions and tint each with a different gel food coloring before baking separately to achieve vibrant layers.

What candies work best for the center?

Small, assorted candies like mini M&Ms, sprinkles, or gummy bears are ideal to create an easy-to-slice, fun surprise without melting or sticking.

Can I make this cake gluten-free?

Yes, substitute the all-purpose flour with an equal amount of gluten-free flour blend, ensuring it’s suitable for baking layered cakes.

How do I assemble the layers with the candy filling?

Cut out a center circle from four of the six layers, stack them with frosting, pour candies into the cavity, and then top with a whole layer to seal the surprise.

What is the best way to decorate the cake?

Apply a smooth layer of frosting around the cake and use additional colored frosting or sprinkles to enhance the festive appearance.

20-Minute Dinner Pack — Free Download 📥

10 recipes, 1 shopping list. Everything you need for a week of easy dinners.

Instant access. No signup hassle.

Cinco de Mayo Piñata Cake

A colorful layered cake with a hidden candy center, ideal for festive celebrations and joyful gatherings.

Prep time
45 minutes
Time to cook
30 minutes
Overall time
75 minutes
Created by Juliette Meyer


Skill level Medium

Cuisine Mexican-inspired American

Servings made 12 Portions

Dietary notes Suitable for vegetarians

What You'll Need

Cake Layers

01 3 cups all-purpose flour
02 2.5 teaspoons baking powder
03 0.5 teaspoon baking soda
04 0.5 teaspoon salt
05 1 cup unsalted butter, softened
06 2 cups granulated sugar
07 4 large eggs, room temperature
08 2 teaspoons vanilla extract
09 1.25 cups whole milk, room temperature
10 Gel food coloring: red, orange, yellow, green, blue, and purple

Piñata Filling

01 1.5 cups assorted small candies such as mini M&Ms, rainbow sprinkles, and gummy bears

Frosting

01 1.5 cups unsalted butter, softened
02 5 cups powdered sugar, sifted
03 0.25 cup whole milk
04 2 teaspoons vanilla extract
05 Pinch of salt
06 Additional gel food coloring for decorating, optional

How to Prepare

Step 01

Prepare Baking Pans: Preheat oven to 350°F. Grease and line three 8-inch round cake pans with parchment paper.

Step 02

Combine Dry Ingredients: In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside.

Step 03

Cream Butter and Sugar: In a large bowl, beat softened butter and granulated sugar until light and fluffy, approximately 3 minutes.

Step 04

Incorporate Eggs and Vanilla: Add eggs one at a time to the butter mixture, beating well after each addition. Mix in vanilla extract.

Step 05

Alternate Dry and Wet Ingredients: Add dry ingredients in three parts, alternating with milk, beginning and ending with dry ingredients. Mix until just combined.

Step 06

Color Cake Batters: Divide batter evenly into six bowls. Tint each portion with a different color of food gel to create red, orange, yellow, green, blue, and purple batters.

Step 07

Fill and Bake Cake Layers: Pour each colored batter into its own greased and lined 8-inch pan. Smooth tops. Bake for 15 to 18 minutes, or until a toothpick inserted in the center comes out clean.

Step 08

Cool Cake Layers: Allow layers to cool in pans for 10 minutes, then transfer to wire racks to cool completely.

Step 09

Cut Center Cavities: Using a 3-inch round cutter, cut a hole in the center of four of the six layers, leaving the top and bottom layers whole.

Step 10

Prepare Frosting: Beat softened butter until creamy. Gradually add powdered sugar, milk, vanilla, and salt, beating until smooth and fluffy.

Step 11

Assemble Cake Structure: Place the purple whole layer on a serving plate. Spread a thin layer of frosting. Stack the first cut-out layer on top and frost lightly. Repeat with all cut-out layers.

Step 12

Fill Piñata Cavity: Pour assorted candies into the center cavity created by the stacked cut-out layers.

Step 13

Cap Cake Structure: Place the final whole cake layer over the candy-filled cavity to seal the piñata surprise.

Step 14

Frost and Decorate: Frost the outside and top of the cake generously with remaining frosting. Decorate with colored frosting, sprinkles, or festive decorations as desired.

Step 15

Chill Before Serving: Chill the assembled cake for 30 minutes before slicing to achieve clean cuts and reveal the candy piñata inside.

You Just Made Something Great 👏

Want more like this? Get my best easy recipes — free, straight to your inbox.

Join 10,000+ home cooks. No spam.

Equipment needed

  • Three 8-inch round cake pans
  • Electric mixer
  • Mixing bowls
  • Gel food coloring
  • 3-inch round cutter
  • Offset spatula
  • Wire cooling rack

Allergy info

Be sure to check all ingredients for allergens and talk to your doctor if necessary.
  • Contains eggs
  • Contains dairy: milk and butter
  • Contains wheat gluten
  • Assorted candies may contain nuts, soy, or gluten; verify packaging for specific allergen information

Nutrition details (per portion)

Nutrition information is for general guidance and shouldn't replace advice from a professional.
  • Caloric value: 590
  • Fats: 26 g
  • Carbohydrates: 85 g
  • Proteins: 5 g

Cooking Shouldn't Be Hard ❤️

Get a free recipe pack that makes weeknight dinners effortless. Real food, real fast.

Free forever. Unsubscribe anytime.