These Candy Corn Layered Cupcakes turn a boxed white cake mix into a colorful Halloween dessert with layers of yellow, orange and white cake. They take about 45 minutes to prepare and are an easy way to make a festive treat without making cupcakes completely from scratch.
This post contains affiliate links. See our Disclosure Statement for more information.
Candy Corn Cupcakes are perfect for all of your Halloween and fall parties and gatherings. Or, simply make them as a special, surprise treat for the kids.
The flavor is the same as white cake, but 2 portions of the cake batter are dyed orange and yellow, then layered into a cupcake pan and baked. The finished cupcakes look similar to candy corn.
Finish them with a simple swirl of white frosting or add a Homemade Marshmallow Ghost for an extra-cute Halloween cupcake that’s perfect for parties and dessert tables.
What are candy corn cupcakes?
Candy Corn Cupcakes are Halloween cupcakes inspired by the yellow, orange and white colors of classic candy corn. In this version, white cake batter is divided and colored, then layered in cupcake liners before baking. The finished cupcakes reveal the candy corn colors when the wrappers are removed or the cupcakes are cut open.
Why this recipe works
- A boxed cake mix keeps them easy. Starting with white cake mix makes these Halloween cupcakes quick to prepare while providing a neutral base for the bright colors.
- The proportions mimic candy corn. Dividing the batter into 40% yellow, 40% orange and 20% white creates prominent yellow and orange layers with a smaller white section.
- Egg whites help keep the colors bright. Using egg whites instead of whole eggs keeps the batter pale so the yellow and orange stay vibrant and the white layer stays lighter.
- You can keep the decorating simple or dress them up. Use prepared frosting for an easy finish or add Homemade Marshmallow Ghosts for a more elaborate Halloween presentation.
Ingredients
For the cupcakes
- 1 box (15.25 ounces) Pillsbury Moist Supreme White Premium Cake Mix: White cake mix is important for creating distinct yellow, orange and white layers.
- 1 cup water
- 1/2 cup vegetable oil: Adds moisture to the cupcakes.
- 4 large egg whites: Egg whites help keep the cake batter as pale as possible so the colors remain bright.
- Yellow gel food coloring: Gel coloring creates a vibrant yellow without adding much additional liquid to the batter.
- Orange gel food coloring: Use gel coloring for a strong orange color.
- White food coloring (optional): A few drops can help neutralize the slight yellow tint of boxed cake mix and create a brighter white layer.
For decorating
- 1 container (16 ounces) white or vanilla frosting: One container is enough for a modest swirl of frosting on 16 cupcakes.
- 16 Homemade Marshmallow Ghosts (optional): Add one to each cupcake for an extra cute Halloween presentation.
The entire recipe and instructions can also be found in the recipe card at the bottom of this post. You can print the recipe from the card, if needed.
How to Make Candy Corn Layered Cupcakes
Prep!
Preheat your oven to 350°F. Line 16 wells of standard muffin pans with paper cupcake liners.
Prepare the box of white cake mix according to the package directions using the water, vegetable oil and egg whites.
Mix just until the batter is smooth and combined.
Divide and color the batter
For the most even candy corn layers, weigh the entire batch of prepared cake batter using a digital kitchen scale.
Divide the batter among three bowls:
- Place 40% of the batter into the first bowl.
- Place 40% of the batter into the second bowl.
- Place the remaining 20% of the batter into the third bowl.
Add yellow gel food coloring to one of the larger portions and stir until evenly colored.
Add orange gel food coloring to the other larger portion and stir until evenly colored.
Leave the smaller portion white. If the boxed cake mix has a noticeable yellow tint, you can add a few drops of optional white food coloring to brighten it.
Chef’s Tip: Add gel coloring gradually. You can always add more to deepen the color, but you can’t remove it once it’s mixed into the batter.
Layer the cupcakes
Divide the yellow batter evenly among the 16 cupcake liners.
Next, gently spoon the orange batter over the yellow batter.
Finish by gently spooning the white batter over the orange.
Do not swirl or stir the layers together. Gently adding each color over the previous layer helps preserve the candy corn effect.
The cupcake liners should be approximately two-thirds full.
Bake
Bake the cupcakes for 18 to 22 minutes, or until the tops spring back when lightly touched and a toothpick inserted into the center comes out clean or with just a few moist crumbs.
Don’t be concerned if the layers move slightly while baking or some orange batter rises through the thinner white layer. Cake batter expands as it bakes, so some movement is normal.
Let the cupcakes cool in the pans for about 5 minutes, then transfer them to a wire cooling rack.
Allow the cupcakes to cool completely before frosting.
Decorate
Transfer the prepared white or vanilla frosting to a piping bag fitted with a large piping tip.
Pipe a low swirl of frosting onto each completely cooled cupcake.
If you’re adding Homemade Marshmallow Ghosts, gently place one ghost in the center of each cupcake and press it very lightly into the frosting to secure it.
Keeping the frosting relatively low creates a more stable base for the marshmallow ghost and keeps the topper from overwhelming the cupcake.
Tips and Techniques
- Use white cake mix. Yellow cake mix will tint the white portion of the cupcakes and can also affect the final shades of the orange and yellow layers.
- Weigh the prepared batter for the most consistent layers. Measuring 40%, 40% and 20% by weight is much more accurate than trying to estimate the proportions by volume.
- Use gel food coloring when possible. Gel coloring produces vibrant colors without adding significant additional liquid to the cake batter.
- Add the coloring gradually. It’s easy to deepen a pale yellow or orange, but you can’t lighten the batter once you’ve added too much coloring.
- Spoon the layers gently. Add each new color over the previous layer without swirling or stirring the batters together.
- Don’t expect perfectly straight layers. The cake batter will expand and shift as it bakes. Some orange may even rise through the thinner white layer, which is completely normal.
- Fill the liners approximately two-thirds full. The tested batch yielded 16 cupcakes when filled to this level.
- Keep the frosting low when using marshmallow ghosts. A modest swirl provides enough frosting while creating a stable base for the ghost.
- Use white food coloring only if needed. It can help brighten the white batter if your cake mix has a yellow tint, but it is completely optional.
Storage
Store unfrosted cupcakes in an airtight container at room temperature for up to 2 days.
Cupcakes decorated with commercially prepared frosting can generally be stored covered at room temperature according to the frosting manufacturer’s storage directions.
If using the homemade buttercream, store the cupcakes appropriately for the ingredients used.
You can also bake the cupcakes a day ahead. Store the cooled, unfrosted cupcakes in an airtight container at room temperature, then frost and decorate them before serving.
For the best appearance and texture, add the Homemade Marshmallow Ghosts shortly before serving. Prolonged contact with moist frosting can eventually soften the marshmallows.
Frequently asked questions
Why did my cupcake layers move while baking?
Cake batter expands as it bakes, so some movement between the yellow, orange and white layers is completely normal. The layers don’t have to form perfectly straight lines for the cupcakes to have a recognizable candy corn appearance.
Why is orange batter showing through the white layer?
Only 20% of the batter is used for the white layer, so some of the orange batter underneath may rise through it as the cupcakes bake. This is normal. The tops will eventually be covered with frosting while the colorful layers remain visible from the sides and inside the cupcakes.
Do I really need to weigh the cake batter?
No, but weighing it is the easiest way to create consistent 40%, 40% and 20% portions. You can estimate the amounts by volume if you don’t have a digital kitchen scale.
Can I use a different brand of cake mix?
Yes. For the best colors, use another white cake mix rather than yellow cake mix. Prepare the cake mix according to its own package directions before dividing it since package sizes and required ingredients can vary.
Can I use canned frosting?
Absolutely. Prepared white or vanilla frosting keeps this recipe quick and easy and was used for the photographed cupcakes. You can also make the optional homemade vanilla buttercream.
Can I make candy corn cupcakes ahead of time?
Yes. Bake the cupcakes a day ahead and store them in an airtight container at room temperature. Frost and decorate them when you’re ready to serve. If you’re using Homemade Marshmallow Ghosts, add them shortly before serving for the best texture.
More Halloween Recipes to Try
Love this Candy Corn Cupcakes recipe? Follow me on Pinterest, Instagram, and Facebook for more!
If you try this recipe, please leave a comment and star rating. I would really appreciate it!

Candy Corn Layered Cupcakes
Ingredients
- 1 15.25 ounce box Pillsbury Moist Supreme White Premium Cake Mix
- 1 cup water
- 1/2 cup vegetable oil
- 4 large egg whites
- yellow gel food coloring
- orange gel food coloring
- white food coloring (optional)
- 1 16 ounce tub white or vanilla frosting (or 2 cups homemade frosting)
- 16 Homemade Marshmallow Ghosts (optional)
Instructions
- Preheat oven to 350°F. Line 16 wells of standard muffin pans with paper cupcake liners.
- Prepare the box of white cake mix according to the package directions using the water, vegetable oil and egg whites. Mix just until the batter is smooth and combined.1 15.25 ounce box Pillsbury Moist Supreme White Premium Cake Mix, 1 cup water, 1/2 cup vegetable oil, 4 large egg whites
- Divide the batter among three bowls. Place 40% of the batter into the first bowl, 40% of the batter into the second bowl and the remaining 20% of the batter into the third bowl.
- Add yellow gel food coloring to one of the larger portions and stir until evenly colored. Add orange gel food coloring to the other larger portion and stir until evenly colored. Leave the smaller portion white. If the boxed cake mix has a yellow tint, you can add a few drops of white food coloring to brighten it.yellow gel food coloring, orange gel food coloring, white food coloring
- Divide the yellow batter evenly among the 16 cupcake liners. Next, gently spoon the orange batter over the yellow batter. Finish by gently spooning the white batter over the orange. The cupcake liners should be approximately two-thirds full.
- Bake the cupcakes for 18 to 22 minutes, or until the tops spring back when lightly touched and a toothpick inserted into the center comes out clean or with just a few moist crumbs.
- Let the cupcakes cool in the pans for about 5 minutes, then transfer them to a wire cooling rack. Allow the cupcakes to cool completely before frosting.
- Transfer the prepared white or vanilla frosting to a piping bag fitted with a large piping tip. Pipe a low swirl of frosting onto each completely cooled cupcake.1 16 ounce tub white or vanilla frosting
- If you're adding Homemade Marshmallow Ghosts, gently place one ghost in the center of each cupcake and press it very lightly into the frosting to secure it.16 Homemade Marshmallow Ghosts
Notes
- Use white cake mix. Yellow cake mix will tint the white portion of the cupcakes and can also affect the final shades of the orange and yellow layers.
- Weigh the prepared batter for the most consistent layers. Measuring 40%, 40% and 20% by weight is much more accurate than trying to estimate the proportions by volume.
- Use gel food coloring when possible. Gel coloring produces vibrant colors without adding significant additional liquid to the cake batter.
- Add the coloring gradually. It's easy to deepen a pale yellow or orange, but you can't lighten the batter once you've added too much coloring.
- Spoon the layers gently. Add each new color over the previous layer without swirling or stirring the batters together.
- Don't expect perfectly straight layers. The cake batter will expand and shift as it bakes. Some orange may even rise through the thinner white layer, which is completely normal.
- Fill the liners approximately two-thirds full. The tested batch yielded 16 cupcakes when filled to this level.
- Keep the frosting low when using marshmallow ghosts. A modest swirl provides enough frosting while creating a stable base for the ghost.
- Use white food coloring only if needed. It can help brighten the white batter if your cake mix has a yellow tint, but it is completely optional.
- Store unfrosted cupcakes in an airtight container at room temperature for up to 2 days.
- Cupcakes decorated with commercially prepared frosting can generally be stored covered at room temperature according to the frosting manufacturer's storage directions.
- If using the homemade buttercream, store the cupcakes appropriately for the ingredients used.
- You can also bake the cupcakes a day ahead. Store the cooled, unfrosted cupcakes in an airtight container at room temperature, then frost and decorate them before serving.
- For the best appearance and texture, add the Homemade Marshmallow Ghosts shortly before serving. Prolonged contact with moist frosting can eventually soften the marshmallows.





















Leave a Reply