Baked Macaroni and Cheese

4.98 from 110 votes

Baked mac and cheese with cheddar, Gruyère, and a crispy panko topping. An easy, creamy baked macaroni and cheese that’s a comfort-food favorite.

Jump to Recipe ▼
Prep Time 10 minutes
Servings 4 servings
Comments
39

This post may contain affiliate links. Please read our disclosure policy.

I’m a corner-piece person when it comes to baked mac and cheese. I want the creamy pasta, of course, but I also want as much of that panko crust as I can get. I usually make it as a side, but we’ve definitely eaten it out of the baking dish and then realized it’s dinner. I used to make baked macaroni and cheese with just cheddar, and I had no complaints. Then I added Gruyère, and now I don’t want to leave it out. The sauce is creamier with both, but I still get the cheddar flavor I want. I add a little Dijon, too. Not enough to taste mustardy, just enough that the cheese sauce tastes a little flat without it.

Baked macaroni and cheese in baking dish garnished with fresh herbs.
Save this recipe!
Type your email & I’ll send it to you!

 Recipe testing notes

For the past 10 years, I’ve tested every recipe multiple times before sharing it! These notes give you a peek into my process of developing and testing.

I liked the flavor of cheddar on its own, but the sauce wasn’t quite as smooth as I wanted for this baked mac and cheese. Adding Gruyère got it there, so I’m keeping both. I also grate the cheese myself. I know the bag is easier, but that coating on pre-shredded cheese can leave the sauce a little grainy, and I’d rather spend a few minutes grating than deal with that.

I let the sauce boil too hard after adding the cheese once, and it split and went grainy. There wasn’t any creamy cheese sauce happening at that point. So I turn the heat way down or take the pan off the heat before stirring in the cheese and give it time to melt.

The pasta still needs a little bite when I drain it because it’s going into the oven next. And I liked panko better than regular breadcrumbs for the top. It gets lighter and crunchier, which is what I want if I’m going after that corner piece.

Happy Cooking!
– Yumna

Baked Macaroni and Cheese Ingredients

Ingredients for recipe in individual bowls: dry macaroni, salt and pepper, breadcrumbs, butter, flour, dijon, milk, shredded cheddar, and shredded gruyere cheese.
  • Macaroni: Elbow macaroni is classic for mac and cheese, but you can also use shells or another small shape. Just make sure to adjust the cooking time according to the box instructions.
  • Cheese: I use a combination of cheddar and Gruyére. If you can’t find Gruyére, fontina is a good substitute. For the smoothest sauce, shred the cheese from blocks rather than using pre-shredded.
  • Sauce base: Unsalted butter, all-purpose flour, and 2% milk make the base of the cheese sauce. You can also use whole milk.
  • Dijon mustard: You can use regular yellow mustard if that’s what you have.
  • Breadcrumbs: I use panko breadcrumbs, but you can also use homemade breadcrumbs or even crushed-up butter crackers.
  • Seasoning: Just salt and pepper to taste.

How to Make Baked Macaroni and Cheese

These step-by-step photos walk you through how to make easy, creamy Baked Mac and Cheese. For the full ingredient list and detailed instructions, head to the recipe card below, or skip straight to the → Baked Mac and Cheese recipe below

1. Whisk the butter and flour

Butter and flour mixed in large saucepan.

Melt the butter in a saucepan, then whisk in the flour until the mixture is combined and golden.

2. Pour in the milk

Milk, dijon mustard, and seasoning added.

Slowly add the milk while whisking, breaking up any flour clumps so the mixture looks smooth. Then, add the Dijon, salt, and pepper. Bring to a boil, then reduce to low and simmer, whisking occasionally until the sauce thickens.

3. Add the cheese & seasoning

Cheeses added.

Once the milk mixture thickens, add the shredded cheddar and Gruyère.

4. Stir until smooth

Cheeses stirred.

Keep the heat low and stir until the cheese melts and there are no visible shreds left in the sauce.

5. Add the cooked macaroni

Pasta added on top of mixed sauce.

Add the cooked, drained pasta into the cheese sauce. It should still hold its shape rather than being soft.

6. Coat the pasta

Cheesy sauce and pasta combined.

Fold everything together, reaching the bottom of the pan so all the macaroni gets coated.

7. Transfer to Baking Dish

Mac and cheese in 8x11 baking dish with panko on top before baking.

Spread the pasta and sauce in the buttered baking dish, then sprinkle the breadcrumbs evenly over the surface.

8. Bake the Mac and Cheese

Mac and cheese after baking.

The topping should be golden, with sauce bubbling around the edges. Add parsley before serving if you’d like.

Full Baked Mac and Cheese Recipe

Baked Macaroni and Cheese

Baked Macaroni and Cheese Recipe

Author: Yumna Jawad
4.98 from 110 votes
Easy baked mac and cheese with cheddar, Gruyére, and a crispy panko breadcrumb topping.
Prep Time10 minutes
Cook Time35 minutes
Total Time45 minutes
Servings4 servings
Email This Recipe
Enter your email and I’ll send this directly to you. You’ll get new recipes from me every week!

Ingredients
  

Instructions

  • Preheat the oven to 350°F. Butter an 8 x 11-inch baking dish and set aside.
  • In a large pot of boiling salted water, cook the pasta al dente according to package instructions. Drain, rinse, and set aside to cool.
  • In another large saucepan over medium-high heat, melt the butter, then add the flour to make the roux. Whisk the flour and butter until they are combined and golden, about 2 minutes.
  • Slowly pour the milk, whisking as you pour. Add the Dijon mustard and season with salt and pepper to taste. Bring the mixture to a boil, then reduce to low and simmer, whisking occasionally until the sauce thickens, about 5–7 minutes.
  • Stir in the cheeses, then fold in the pasta. Transfer to the prepared baking dish and sprinkle with panko breadcrumbs. Bake until the breadcrumbs are golden and the edges are bubbly, about 20–25 minutes.

Notes

My Top Tip: When you add the cheese, keep the heat low so the sauce stays smooth.
Storage: Store any leftovers in an airtight container. They will last 3–4 days in the fridge. Reheat on the stove or in the microwave with a splash of milk until warmed through.

Nutrition

Calories: 598kcal, Carbohydrates: 54g, Protein: 29g, Fat: 29g, Saturated Fat: 17g, Cholesterol: 90mg, Sodium: 387mg, Potassium: 346mg, Fiber: 2g, Sugar: 8g, Vitamin A: 890IU, Vitamin C: 0.2mg, Calcium: 698mg, Iron: 1.4mg

Nutrition information provided is an estimate. It will vary based on cooking method and specific ingredients used.

Did You Make This Recipe?

Recipe Variations

  • Broccoli. Fold in 1 cup of lightly steamed, well-drained broccoli florets with the macaroni. Cut them small, so they’re easy to scoop with the pasta.
  • Chicken. Add 1 cup of cooked shredded chicken when combining the pasta and sauce. It should already be cooked before going into the baking dish.
  • Peas. Stir in ½ cup of thawed, drained peas with the macaroni before baking.

Recipe Tips

  1. Cook pasta al dente, or two minutes shy of the recommended cooking time. You want the pasta to be slightly undercooked because it’s going to continue to bake in the sauce in the oven. If you overcook it on the stovetop first, it will likely get too mushy and break apart while baking.
  2. Cool the pasta before tossing it in the sauce. Normally, you want to immediately coat the warm pasta in the sauce. But doing so for baked macaroni and cheese can cause the elbow macaroni to absorb too much of the sauce and get soggy after cooking. I recommend rinsing the pasta after cooking, draining it, and letting it cool while you make the cheese sauce.
  3. Add the milk a little at a time. Whisk the first splash into the butter and flour until smooth before pouring in more. This makes it easier to catch lumps before the pan fills up.

Serving Ideas

Large baking dish of baked macaroni cheese with breadcrumb topping, fresh herb garnishing, a serving spoon next to it with a scoop removed from dish.

Troubleshooting

Why is my mac and cheese sauce grainy?

The heat may have been too high when the cheese went in. Let the thickened milk mixture settle to a gentle simmer before adding the cheese, and keep the heat low as you stir. Freshly shredded cheese also tends to melt more smoothly than pre-shredded cheese.

Why did my baked mac and cheese turn out dry?

You may have baked the pasta for too long, or let the sauce thicken too much on the stove. Stop simmering once the sauce thickens and transfer all of it to the baking dish with the pasta. Start checking the dish at 20 minutes.

Can I assemble baked mac and cheese ahead of time?

Yes! Assemble the pasta and sauce in the baking dish, cover, and refrigerate for up to a day. Leave the panko off until you’re ready to bake. The cold dish will need extra baking time; cover it loosely with foil while it heats through, then uncover so the topping can brown. Follow your baking dish manufacturer’s guidance about moving a cold dish into a hot oven.

More Mac and Cheese Recipes

Mac and Cheese Bites

Broccoli Mac and Cheese

Mac and Cottage Cheese

Pumpkin Mac and Cheese

Cauliflower Mac and Cheese

4.98 from 110 votes (97 ratings without comment)

Rate and comment

Recipe Rating




Comments

  1. alponsus says:

    simple and fantastic taste

    1. Yumna J. says:

      Yay! So happy you liked it!!

  2. Nina Abbott says:

    Mine did not come out creamy. I followed the directions exactly, but the cheeses and sauce did not emulsify together.

    What could I have done wrong to cause this?

    1. Yumna J. says:

      Aww, I’m so sorry to hear that. Any chance you used store-bought shredded cheese? Packaged shredded cheese has anti-caking agents, which can prevent the cheese from melting efficiently and sticking together in the sauce.

  3. Josette says:

    Did this recipe last night and the entire family loved it!! Will be doing this recipe for all holidays now

    1. Yumna says:

      So glad it was a hit!

  4. ihab says:

    i stumbled upon some sharp white cheddar in the fridge and decided to use it up on this recipe and it was amazing! i added some garlic, onion, and white pepper powder to the roux and used half n half w heavy cream and it was amazingly creamy and delicious! thanks yumna! ❤️

    1. Yumna J. says:

      OO love this!! Sounds so good!

  5. Adele says:

    Hi – can this recipe be doubled? Should it cook similarly to recipe?

    1. Yumna says:

      Hi there! Yes, this should be fine to double but I would recommend dividing it between two separate 8 by 12-inch baking dishes so that it bakes evenly in the directed time.

  6. Latifeh Sabbagh says:

    It was so amazing! Everyone loved it! I couldn’t find gruyere but substituted it with Swiss cheese as one of the tips stated, and it worked so well!

    1. Yumna J. says:

      Thank you so much, Latifeh!

  7. Becca M says:

    Delicious and classic. I really appreciated the tips you gave -had no idea about the difference in packaged shredded cheese and hand shredded. I think it made a real difference in how tasty it turned out. Thanks!

    1. Yumna J. says:

      You’re so welcome!

  8. eddie milne says:

    not a very good cook but im going to attempt this recipe will let you know result good or bad haha ,ps good or bad by me not you

    1. Yumna J. says:

      You’ve got this Eddie! I am sure it is going to turn out great!

  9. CELESTE leachman says:

    I never had bake macaroni and cheese before

    1. Yumna Jawad says:

      Let me know what you think if you give this recipe try!

  10. Deanna says:

    Just made this. I used whole wheat pastry flour because that’s what I had. Or so I thought. I remembered that I did have all-purpose flour after I had already added the pastry flour to the melted butter. I also used unsweetened almond milk instead of 2% milk. Despite the fact that it smelled like I was baking cookies, it still came out delicious. Excited to try it again using the right ingredients.

    1. Yumna Jawad says:

      That’s perfect! I’m glad to hear it works with whole wheat pastry flour too. Let me know what you think the next time you try it!

See All Comments