Jump to Recipe
These candy corn cupcakes are festive, fun, and easy to make. They’re perfect for Halloween parties, school events, or a cozy baking session at home. Moist chocolate cupcakes are topped with a simple buttercream piped in candy corn colors for a cheerful seasonal treat.

If you enjoy holiday baking, these cupcakes are an easy way to bring a little Halloween spirit to the table. A reliable chocolate cupcake base means you can change the frosting and decoration to suit any occasion.
I experimented with lots of decorating ideas before settling on a candy corn swirl. The colors are inspired by candy corn, though there’s no actual candy corn in the frosting—just a creamy, flavorful buttercream that holds bright gel colors well.

Why These Cupcakes Make The Best Easy Halloween Treat
- Delicious chocolate flavor — these cupcakes are moist and satisfy chocolate cravings.
- Festive and simple — the buttercream takes little effort but delivers a big visual impact.
- Kid-friendly project — children enjoy coloring and piping the frosting layers.
Ingredient Notes and Substitutions
- Flour: A cup-for-cup gluten-free blend like Bob’s Red Mill 1-to-1 works well. If you use a different blend, make sure it contains xanthan gum. Regular all-purpose flour can be used if you’re not gluten-free.
- Cocoa powder: Use natural unsweetened cocoa powder for the best flavor and texture. Avoid Dutch-process cocoa in this recipe.
- Oil: Canola or vegetable oil keeps the cupcakes extra moist when combined with butter.
- Eggs: For eggless cupcakes, use a reliable egg replacer per package instructions.
- Milk: Any milk, including non-dairy alternatives, will work.
- Heavy cream: Adds richness to the frosting, but you can substitute milk if needed.
- Food coloring: Gel food coloring is recommended for vibrant colors without thinning the buttercream.

How To Make Candy Corn Cupcakes (Step-by-Step)
STEP ONE: Preheat the oven to 350°F and line a muffin tin with liners. In a medium bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
STEP TWO: In a mixer, beat the sugar, butter, and oil until smooth. Add eggs (or egg replacer) and vanilla, and mix to combine.


STEP THREE: Add the dry ingredients in three additions, alternating with the milk. Start and finish with the dry mix, mixing until just combined after each addition.
STEP FOUR: Spoon batter into liners, filling them a bit over halfway. Bake at 350°F for 18–20 minutes, or until a toothpick comes out clean. Cool completely before frosting.


STEP FIVE — Frosting: Use cold, cubed butter and beat it 4–5 minutes until light and creamy. Add powdered sugar and beat another 3–4 minutes. Add heavy cream one tablespoon at a time until you reach the desired consistency.
Divide the frosting into three portions. Leave one portion white, tint one with yellow gel coloring and one with orange gel coloring. Pipe the frosting on each cupcake in layers: a larger yellow swirl, then a slightly smaller orange swirl, and finish with a small white tip to mimic candy corn.
That’s it—simple, colorful, and fun. Happy Halloween!
Expert Tips
- Weigh your flour if possible—accuracy helps ensure consistent cupcake texture. This recipe uses 148 g flour.
- A large cookie scoop (about 3 tablespoons) helps portion batter evenly and keeps baking consistent.
- Beat the butter until light and fluffy for the best buttercream texture.
- Add cream gradually to the frosting. If it becomes too thin, firm it up with more powdered sugar, a tablespoon at a time.

Did you try these candy corn cupcakes? Leave a comment or tag @justastastyblog on Instagram and use #justastastyblog to share your creations.
Frequently Asked Questions
No. The candy corn look comes from the layered frosting colors. There’s no candy corn in the batter.
Yes. Use non-dairy butter and milk alternatives to make the cupcakes and frosting dairy free.
Frosted cupcakes can be stored in an airtight container at room temperature for up to two days. After that, refrigerate them.
Yes. Bake a day ahead and store unfrosted cupcakes. Frost on the day of your event for the freshest appearance.
More Fall Dessert Recipes To Try
-
The Best Apple Pie Cheesecake
-
Gluten Free Pumpkin Bars
-
Fluffy Gluten Free Pumpkin Pancakes
-
Gluten Free Halloween Sugar Cookies
📖 Recipe

Easy Candy Corn Cupcakes
Print Recipe
Ingredients
Chocolate Cupcakes
- 1 cup (148g) flour*
- ½ cup (42g) unsweetened cocoa powder
- ½ teaspoon baking powder
- ½ teaspoon baking soda
- ¼ teaspoon fine salt
- ⅔ cup (134g) sugar
- 4 tablespoons (57g) unsalted butter
- ¼ cup (60ml) vegetable or canola oil
- 2 eggs*
- ½ teaspoon vanilla extract
- ½ cup (120ml) milk of choice
Buttercream frosting
- 1 ½ cups (340g) unsalted butter
- 4 ½ cups (540g) powdered sugar
- 2-4 tablespoons heavy cream
- orange and yellow gel food coloring
Instructions
-
Preheat oven to 350°F. Line a muffin tin with cupcake liners.
-
Whisk flour, cocoa powder, baking powder, baking soda, and salt in a medium bowl. Set aside.
-
Beat sugar, butter, and oil until smooth. Add eggs and vanilla and beat to combine.
-
Add dry ingredients in thirds, alternating with milk. Start and end with the dry mix, beating to incorporate after each addition.
-
Spoon batter into liners a little over halfway full. Bake for 18–20 minutes or until a toothpick comes out clean. Cool completely before frosting.
Buttercream Frosting
-
Beat cold, cubed butter until creamy, about 4–5 minutes. Add powdered sugar and beat another 3–4 minutes. Add heavy cream one tablespoon at a time until desired consistency is reached.
-
Divide frosting into three portions. Leave one white, tint one yellow and one orange with gel coloring. Pipe a large yellow swirl, then a slightly smaller orange swirl, and finish with a small white tip to create the candy corn look.
Notes
- For eggless cupcakes, use a powdered egg replacer according to package directions (for example, 2 tablespoons replacer mixed with 4 tablespoons water, or follow the brand instructions).
- If not making them gluten free, substitute all-purpose flour cup-for-cup.