Cinco de Mayo Piñata Cake

Featured in: Sweet Simple Treats

This vibrant layered cake highlights six colorful batters tinted with gel food coloring to create a stunning rainbow effect. The centerpiece is a hidden cavity filled with assorted small candies for a fun surprise. Layers are baked separately, cooled, hollowed out, then stacked with frosting to secure the filling. The exterior is finished with a creamy vanilla buttercream, optionally decorated with extra colors or sprinkles. Best chilled before serving to achieve clean slices and reveal the colorful interior bursting with candy.

Updated on Thu, 05 Mar 2026 10:06:00 GMT
Vibrant rainbow cake layers hide a candy-filled center, perfect for festive Cinco de Mayo celebrations.  Pin Recipe
Vibrant rainbow cake layers hide a candy-filled center, perfect for festive Cinco de Mayo celebrations. | fordishes.com

My neighbor knocked on my kitchen door one afternoon with a wild idea: what if we made a cake that actually held a surprise inside, like a real piñata? We spent the next hour covered in flour and food coloring, arguing over whether blue or purple should go on the bottom layer, and by the time we pulled that first slice and watched the candies tumble out, we understood why she'd been so excited. This Cinco de Mayo Piñata Cake became our thing after that—the kind of dessert that makes people gasp when you cut into it, then immediately reach for seconds.

I made this cake for my daughter's fifth birthday party, and watching her little friends' faces when I sliced into it and candies scattered across their plates was pure magic. One kid actually gasped and said it was "a secret treasure cake," and suddenly this recipe felt like it was doing something bigger than just being dessert. That's when I realized certain dishes become memories before you even finish eating them.

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 backbone of your cake structure; make sure it's fresh and aerated by whisking it before measuring.
  • Baking powder and baking soda (2½ tsp and ½ tsp): Work together to give you that tender crumb and gentle lift; don't skip the sifting step.
  • Unsalted butter (1 cup for cake, 1½ cups for frosting): Room temperature is non-negotiable here, or your batter won't cream properly and incorporate air.
  • Granulated sugar (2 cups): Beating this with butter for a full three minutes creates the foundation for a fluffy cake; rushing this step changes everything.
  • Eggs (4 large, room temperature): Cold eggs won't blend smoothly into the batter and can break your emulsion; take them out thirty minutes before baking.
  • Vanilla extract (2 tsp for cake, 2 tsp for frosting): The secret ingredient that makes people ask what that incredible flavor is.
  • Whole milk (1¼ cups for cake, ¼ cup for frosting): Room temperature milk prevents shocking your batter and keeps everything smooth.
  • Gel food coloring (red, orange, yellow, green, blue, purple): Gel holds color better than liquid and won't thin out your batter the way liquid coloring does.
  • Assorted small candies (1½ cups): This is your piñata surprise, so choose things you actually love eating; mini M&Ms, gummy bears, and rainbow sprinkles work beautifully together.
  • Powdered sugar (5 cups, sifted): Sifting removes lumps and makes frosting silky smooth; this matters more than you'd think.
  • Salt: A small pinch in both cake and frosting balances sweetness and brings out the vanilla.

Tired of Takeout? 🥡

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

One email. No spam. Unsubscribe anytime.

Instructions

Set the Stage:
Preheat your oven to 350°F and prepare three 8-inch round pans by greasing and lining them with parchment paper. This takes five minutes but prevents the heartbreak of a stuck cake.
Build Your Dry Foundation:
Whisk together flour, baking powder, baking soda, and salt in a medium bowl, then set aside. This combination creates lift and tender crumbs when it meets the wet ingredients.
Cream Butter and Sugar:
Beat softened butter and sugar together for about three minutes until it looks pale, fluffy, and cloud-like. This isn't rushing; take your time here because you're incorporating air that will make your cake light.
Incorporate Your Eggs:
Add eggs one at a time, beating well after each addition until the mixture is smooth. This gradual approach ensures your batter stays emulsified and stays together.
Add Your Vanilla:
Mix in vanilla extract, then prepare to alternate your dry and wet ingredients, starting and ending with the dry mixture. This sandwich technique prevents overmixing, which is how you end up with dense, tough cake.
Create Your Rainbow:
Divide your batter evenly into six bowls and add a different gel food coloring to each one, stirring gently until the color is uniform. The colors should be vibrant but not so dark they overpower the vanilla flavor.
Fill and Bake:
Pour each colored batter into its own prepared pan and smooth the tops, then bake for fifteen to eighteen minutes until a toothpick comes out clean. The kitchen will smell absolutely incredible, and that's your signal to start thinking about frosting.
Cool with Patience:
Let layers cool in the pans for ten minutes, then transfer to wire racks to cool completely. Warm cake layers will slide around when you stack them, so don't rush this part.
Create Your Cavity:
Once completely cool, use a 3-inch round cutter to carefully cut out the center of four of your six layers, creating hollow rings. Save those scraps for snacking; baker's privilege.
Make Your Frosting:
Beat softened butter until creamy, then gradually add powdered sugar, milk, vanilla, and salt, beating until smooth and fluffy. If it seems thick, add milk a teaspoon at a time until you reach spreadable consistency.
Assemble with Intention:
Place your purple layer (solid, no cutout) on a serving plate, spread a thin frosting layer, then stack the first cutout layer on top. Continue this pattern, stacking all four cutout layers with frosting between each one.
Fill the Secret:
Pour your assorted candies into the center cavity you've created, filling it generously but not overstuffing. This is the moment where the magic actually happens.
Crown Your Cake:
Place your final whole layer (the top) over the candy-filled cavity, creating a sealed secret inside. Frost the entire outside generously with remaining frosting.
Decorate and Chill:
Add colored frosting, sprinkles, or any festive decorations you love, then refrigerate for at least thirty minutes. Cold cake is easier to slice cleanly and reveals your candy surprise beautifully.
Showstopping piñata cake reveals colorful surprises inside when sliced, delighting guests at any party.  Pin Recipe
Showstopping piñata cake reveals colorful surprises inside when sliced, delighting guests at any party. | fordishes.com

There's something about pulling a slice from this cake and hearing someone at the table literally say "wow" that makes all the coloring and stacking and planning feel worthwhile. My husband now requests this every celebration, not because it's the fanciest cake, but because it's the most fun one to eat.

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 Rainbow Layer Decision

Choosing which color goes where matters more than you'd think, not for flavor but for the visual story. I've learned that putting purple or dark colors on the bottom layer makes the progression feel intentional as you move up, while finishing with yellow or white on top looks bright and celebratory. Some people stick to traditional rainbow order; others create ombre effects or wild combinations. There's no wrong way here, just your way.

Candy Choices That Actually Work

Not all candies are created equal when it comes to hiding inside a cake. Mini M&Ms, gummy bears, crushed candy canes, and rainbow sprinkles all stay intact and taste great when surrounded by cake and frosting, but chewy caramels or anything sticky will make cutting messy. Hard candies are fine too, though some people worry about biting down on them, so know your crowd. The assortment matters because that mix of textures is part of the surprise.

Make-Ahead Magic and Storage

You can bake these layers the day before and store them wrapped tightly at room temperature, then assemble everything the morning of your event if timing feels tight. The frosted, assembled cake will keep beautifully in the refrigerator for up to three days, though the texture stays best if you serve it within forty-eight hours. Slice with a sharp, clean knife dipped in hot water between each cut for clean, impressive pieces that show off your candy surprise.

  • Gluten-free bakers can swap a 1:1 gluten-free flour blend without changing any other measurements or techniques.
  • If you only have two pans instead of three, bake in batches and it'll take longer but the cakes will be just as beautiful.
  • Keep extra frosting on hand for patching any small cracks that appear during assembly.
Festive dessert features rainbow cake layers and candy center, ideal for Cinco de Mayo gatherings. Pin Recipe
Festive dessert features rainbow cake layers and candy center, ideal for Cinco de Mayo gatherings. | fordishes.com

This cake proves that a little color, some candies, and careful stacking can turn an ordinary dessert into something that feels like celebration. Make it for someone you love, watch their face when that first slice reveals the surprise, and you'll understand why this has become the cake people request.

Recipe FAQs

What colors are used for the cake layers?

Red, orange, yellow, green, blue, and purple gel food coloring are used to create vibrant layers.

How is the candy filled inside the cake?

Four of the six layers are hollowed out with a round cutter, then stacked with frosting and candy poured into the center cavity before the final layer is placed on top.

Can this cake be made gluten-free?

Yes, substitute all-purpose flour with a 1:1 gluten-free flour blend to accommodate gluten sensitivities.

What is the best way to slice the cake?

Chilling the cake for 30 minutes before slicing helps keep the layers firm and reveals the candy surprise cleanly.

Are there alternative fillings for the candy center?

Small assorted candies like mini chocolates, sprinkles, or gummies work well; avoid large or sticky items.

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 vibrant layered cake featuring colorful batters and a hidden candy surprise inside.

Prep Duration
45 mins
Cooking Duration
30 mins
Complete Time
75 mins
Recipe by Fordishes Ava Reynolds


Skill Level Medium

Cuisine Mexican-inspired American

Makes 12 Number of Servings

Diet Details Vegetarian Option

Ingredient List

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 in 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

Directions

Step 01

Prepare Baking Setup: 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 mixing bowl, whisk together flour, baking powder, baking soda, and salt.

Step 03

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

Step 04

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

Step 05

Combine Wet and Dry Ingredients: Alternate adding the dry ingredient mixture and milk to the butter mixture in three additions, starting and ending with dry ingredients. Mix until just combined.

Step 06

Divide and Tint Batter: Divide batter evenly into six bowls. Tint each portion with a different gel food coloring to create red, orange, yellow, green, blue, and purple batters.

Step 07

Pour and Smooth Batters: Pour each colored batter into a greased and lined 8-inch pan. Smooth the tops evenly. If using only three pans, bake in two batches.

Step 08

Bake Cake Layers: Bake each layer for 15 to 18 minutes, or until a toothpick inserted in the center comes out clean. Cool in pans for 10 minutes, then transfer to wire racks for complete cooling.

Step 09

Create Center Cavities: Once fully cooled, use a 3-inch round cutter to 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. Beat until smooth and fluffy.

Step 11

Assemble Cake Structure: Place the purple whole layer as the base on a serving plate. Apply a thin frosting layer. Stack the first cut-out layer and frost lightly. Repeat with remaining cut-out layers.

Step 12

Fill with Candy: Pour assorted candies into the center cavity created by the stacked cut-out layers.

Step 13

Apply Final Layer: Position the remaining whole cake layer over the candy-filled cavity.

Step 14

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

Step 15

Chill Before Serving: Refrigerate for 30 minutes before slicing to ensure 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.

Needed Equipment

  • Three 8-inch round cake pans
  • Electric mixer
  • Multiple mixing bowls
  • Gel food coloring set
  • 3-inch round cutter
  • Offset spatula
  • Wire cooling racks

Allergy Info

Double-check ingredients for allergens and speak with a healthcare provider if you're unsure.
  • Contains eggs, dairy products including milk and butter, and wheat gluten
  • Candies may contain nuts, soy, or gluten; review packaging for specific allergen information

Nutrition Information (per serving)

For informational use only—doesn't replace personalized medical direction.
  • Calories: 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.