This post may contain affiliate links. For more information, read my disclosure policy.

These Candy Corn Magic Bars are perfect for Halloween! They have a graham cracker crust and are topped with white chocolate and peanut butter chips, coconut, and candy corn!


overhead shot of stack of candy corn magic bars with candy corn candy around

October is next week. Um, what? I’m at a loss for words over the fact that it’s OCTOBER that soon.

October means Halloween. Which means I need to start turning out Halloween treats. Witches, Ghosts, Pumpkins, Eyeballs. Problem is…every time I start thinking Halloween I’m coming up crickets.

So, until I get my cutesy inspiration back, I’m going to stick with my black t-shirt of goodies: the magic bar.

Specifically Candy Corn Magic Bars. A seven-layer magic bar made with candy corn. So it’s perfect for Halloween!

Three Candy Corn Magic Bars stacked on top of eachother with candy corn around them on a wood table

I am one of those people who doesn’t really like candy corn straight up. I like it in things…like mixes or cookies or fudge, snack mix or bark. But alone, it’s not my favorite. Actually, it’s those dreaded two words…too sweet.

But no. When you add it to magic bars, it’s not too sweet. All that other sugar cuts the sweetness. Or…something. 🙂 Plus, peanuts or peanut butter (or peanut butter chips) go so well with candy corn, like when you make Butterfinger Fudge or Payday Fudge.

Overhead shot of Candy Corn Magic Bars on a wood table with candy corn and purple white striped straws

Candy Corn Magic Bars are perfect for Halloween because they’re full of candy corn and sweetness!

Let’s talk about the layers in these perfect Halloween Magic Bars!

  • Graham cracker crust: you can use a box of graham cracker crumbs or make your own!
  • White chocolate chips
  • Peanut butter chips: peanut butter and candy corn go so well together!
  • Coconut: a magic bar staple, but you can substitute peanuts
  • Candy Corn, obviously
  • Sweetened Condensed Milk, what makes the magic happen!

These magic bars are way too good. Addicting, even. The candy corn is so pretty on the top. These would be a wow at a Halloween party…or just because you want to eat them.

Candy Corn Magic Bars are PERFECT for Halloween! They have a graham cracker crust and are filled with white chocolate, peanut butter chips, and lots of candy corn!

How to make the perfect candy corn magic bars:

  1. Be sure to use fresh candy corn, not the stuff that’s been in your pantry for a year. It’ll get meltier and not be hard after baking.
  2. If you’re worried about the candy corn, you can add it after baking but I’ve made this several times and it’s not been hard.
  3. If you can’t find peanut butter chips you can use butterscotch or more white chocolate.
  4. Add some chopped peanuts to make this taste like a payday candy bar!
  5. If your kids hate coconut you can leave it out.

I think this is the mood I’m in for Halloween!

Want even more? Subscribe to Crazy for Crust to get new recipes and a newsletter delivered to your inbox. And stay in touch on Facebook, Pinterest, Twitter, and Instagram for all my latest updates.

overhead shot of stack of candy corn magic bars with candy corn candy around

Candy Corn Magic Bars

5 from 4 votes
These Candy Corn Magic Bars are perfect for Halloween! They have a graham cracker crust and are topped with white chocolate and peanut butter chips, coconut, and candy corn!
Prep Time 20 minutes
Cook Time 25 minutes
Cool Time 1 hour
Total Time 45 minutes
Yield 24 bars
Serving Size 1 bar


  • 1 1/2 cups graham cracker crumbs
  • 1/2 cup unsalted butter, melted
  • 1 1/2 cups white chocolate chips
  • 1 cup peanut butter chips
  • 1 cup coconut
  • 1 1/2 cups candy corn
  • 1 (14 ounce) can sweetened condensed milk


  • Preheat oven to 350F. Line a 9x13” pan with foil and spray with cooking spray.
  • I used a box of graham cracker crumbs, but if you only have actual graham crackers, process them in a food processor until they are a fine crumb. Stir into butter. Press into the bottom of your prepared pan.
  • Sprinkle white chocolate chips, peanut butter chips, coconut, and candy corn over the top. Pour sweetened condensed milk evenly over the top of the bars.
  • Bake for about 25 minutes, until they get golden around the edges. Cool completely before slicing into bars.

Recipe Video

Recipe Notes

Add 1 cup chopped peanuts for even more flavor!

Recipe Nutrition

Serving: 1bar | Calories: 251kcal | Carbohydrates: 34g | Protein: 4g | Fat: 11g | Saturated Fat: 7g | Cholesterol: 13mg | Sodium: 144mg | Potassium: 53mg | Sugar: 30g | Vitamin A: 160IU | Vitamin C: 0.2mg | Calcium: 89mg | Iron: 0.5mg
Nutritional information not guaranteed to be accurate
Course Dessert
Cuisine American

Love candy corn recipes? Check outCandy Corn White Chocolate Rice Krispie Treats by Love from the Oven, Candy Corn Fudge by Something Swanky, or Candy Corn Cheesecake By I Heart Nap Time!

Click here to see more of my ULTIMATE COCONUT recipes!

Butterfinger Fudge

Payday Fudge

**Did you make this recipe? Don’t forget to give it a star rating below!**

Last Updated on February 2, 2023

Dorothy Kern

Welcome to Crazy for Crust, where I share recipes that are sometimes crazy, often with a crust, and always served with a slice of life.

Learn to Bake in 4 Days!
Get my tips, tricks and recipes to take your baking to the next level for FREE!

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating


  1. These look so good,and I’m not a big fan of candy corn but these may just change that! I’ve been on a gooey bar kick recently and have been looking for recipes, you are the gooey bar queen! All of your recipes look amazing! I wanna try them all!

  2. Hi.. Dorothy…! This is amazing and more beautiful colored candy…am so glad to read your post and i can’t wait make this candy corn magic bars…Thanks for sharing & keep shared your new fabulous recipes……!

  3. Dorothy, you need to warn us when you just rerun an old post, LOL! When I read that tomorrow is October 1st, it scared me!!! Whew! I have another week. Thank heavens! The candy corn magic bars are SO pretty! 🙂

  4. These are amazing! I substituted butterscotch chips for the white chocolate chips and added some semi-sweet chocolate chips. I have found my new favorite dessert! Thank you.

  5. What am I doing wrong. My oven is pretty spot on with all other recipes, but with magic bars, they just don’t hold together – like they are under cooked- suggetions?…

    Cooked and cooled and now I have put the pan back in th oven at a very low temp to possibly dry them out a bit, but then again, I have not a clue about baking so not sure this will solve the problem..

    1. I’m sorry Jo! Is the center not done? I know that sometimes with magic bars the center few bars are stickier than the edges. I think it depends on all the ingredients. I usually just cook them until the edges are browned and once they set they’re okay in the middle, just stickier. If you chill them a bit they may firm up to aid in cutting. They’ll get gooey again as they come to room temperature, but at least you’ll be able to cut them! I know that these bars were sticky – I think the candy corn made them stickier than regular magic bars.

  6. I’m right there with you — I cannot eat candy corn by itself. At all. Even for a huge sweet tooth like me, I still can barely nibble through one piece! (And it tastes a little chalky to me too…) But that’s a great idea to use them in your magic bars! Very creative Dorothy, and perfect for Halloween. 🙂

  7. These were really delicious! However, I don’t see how you can keep the candy corn from melting so that it doesn’t even look like candy corn! Mine melted right into the bar. I was thinking about making a second batch and perhaps putting the candy corn on the top right after it comes out of the oven to prevent this and to help keep the candy corn shape. However, I don’t think this will work as the sweetened condensed milk on top would be hardened by the time it comes out of the oven so the candy corn wouldn’t stick. How did you manage to keep the candy corn from melting?

      1. I’m sorry that happened Lisa! Some of mine melted and some held the shape. I guess maybe different ovens cook them differently?

    1. I’m not sure Kay! Maybe it’s difference in ovens? Some of them melted, but some stayed the same. Possibly the ones underneath the SCM melted, the ones on top didn’t. I wonder if they were sprinkled on top the SCM they wouldn’t melt as much? I’ll have to try them again!

    2. The same thing happens to me whenever I put candy corn in the oven. The candy corn comes out so hard and sticky it’s too hard on my teeth. Can the bars be saved somehow, after the fact? Maybe heating up each serving before eating? Thanks.

      1. That would help for sure. Also, I guess you could add the candy corn on top as soon as they come out of the oven. That would melt them slightly into the bars, to make them stick, but not make them have that result. It’s so strange – mine weren’t hard. And I was worried about that, but when they turned out okay I didn’t think it wouldn’t!