baked mac and cheese

baked mac and cheese

baked mac and cheese

Baked mac and cheese is the ultimate comfort food, and this recipe brings together all the perfect elements. We’re talking tender pasta coated in the creamiest, dreamiest cheese sauce, made with sharp cheddar, white cheddar, and Gruyère, then topped with even more freshly shredded cheese and baked until golden and bubbly.

This baked mac and cheese recipe is rich, creamy, and full of flavor. A simple homemade cheese sauce comes together with butter, flour, milk, and heavy cream, while a little Dijon mustard and a handful of spices add just the right amount of flavor.

Whether you’re making this for Thanksgiving, Christmas, Sunday dinner, or just because you’re craving some really good mac and cheese, this recipe is one you’ll want to make again and again.

ingredients

  • Sharp cheddar cheese: This is the main cheese in our sauce! Sharp cheddar brings that classic mac and cheese flavor and a little bit of tanginess.
  • White cheddar cheese: White cheddar adds another layer of cheddar flavor and creates a delicious, rich cheese sauce.
  • Gruyere cheese: Gruyere is one of my favorite cheeses to use in mac and cheese. It has a slightly nutty, buttery flavor that makes the sauce extra delicious. It also melts beautifully.
  • Pasta: Use your favorite pasta shape! Elbow macaroni is classic, but shells, cavatappi, or other short pasta shapes work great. I love using a pasta shape with lots of little crevices to hold onto the cheese sauce.
  • Butter: Butter is the base of our roux and adds richness to the cheese sauce. Salted or unsalted butter will work.
  • Flour: Flour combines with the butter to create a roux, which thickens the milk and cream into a smooth, creamy sauce.
  • Whole milk: Whole milk creates the base of the cheese sauce. I recommend whole milk for the richest, creamiest result.
  • Heavy cream: Heavy cream adds extra richness and makes the sauce even creamier.
  • Dijon mustard: A little Dijon mustard adds a subtle tanginess that balances the richness of all that cheese. You won’t taste a strong mustard flavor, but it makes a big difference!
  • Garlic powder: Adds a little savory flavor to the cheese sauce.
  • Onion powder: Adds another layer of savory flavor without overpowering the cheese.
  • Paprika: Paprika adds warmth and a little depth to the sauce.
  • Salt: Brings all the flavors together and makes the cheese really shine.

equipment

  • Large pot: For boiling the pasta.
  • Box grater: For shredding all three cheeses. Trust me, this is important!
  • Large skillet or saucepan: For making the cheese sauce. Make sure it’s large enough to hold the pasta, too.
  • Whisk: Helps combine the roux, milk, and cream into a smooth sauce.
  • Measuring cups and spoons: For measuring the ingredients.
  • Large mixing bowls: For separating the shredded cheese and mixing the spices.
  • Oven-safe baking dish: For transferring the mac and cheese into the oven. A 9×13-inch baking dish works well.

why you should shred your own cheese

I know it’s tempting to grab a bag of pre-shredded cheese at the grocery store, but for this recipe, I really recommend shredding your own cheese!

Pre-shredded cheese is coated with anti-caking agents, like potato starch or cellulose, to keep the cheese from sticking together in the bag. While these ingredients are perfectly safe to eat, they can make it harder for the cheese to melt smoothly.

When making a homemade cheese sauce, we want the cheese to melt into the milk and cream to create a silky, creamy sauce. Freshly shredded cheese melts much more smoothly and helps prevent a grainy or clumpy cheese sauce.

Plus, shredding your own cheese gives you the opportunity to use a combination of cheeses. The sharp cheddar, white cheddar, and gruyere work together to create the best flavor!

It takes just a few extra minutes, and I promise it’s worth it.

why you need to turn the heat to low before adding the cheese

This is one of the most important steps in making a creamy homemade mac and cheese!

Once your roux, milk, and heavy cream have come together, you’ll want to turn the heat down to low before adding the shredded cheese.

If the sauce is too hot when you add the cheese, the proteins in the cheese can tighten up and separate from the fat. This can leave you with a grainy, oily, or clumpy cheese sauce instead of the smooth, creamy sauce we’re going for.

Turning the heat to low helps the cheese melt gently and evenly into the sauce. I also recommend adding the cheese one handful at a time, stirring until each addition is completely melted before adding the next.

A little patience here makes a huge difference! Don’t rush this step. Keep the heat low, add the cheese gradually, and you’ll end up with the creamiest cheese sauce.

how to make baked mac and cheese

Step 1: Shred the Cheese

Start by shredding the sharp cheddar, white cheddar, and gruyere using a box grater. Place about 2 cups of the shredded cheese (a combination of all three kinds) in a small bowl. Set this aside for topping the mac and cheese later.

Place the remaining shredded cheese in a large bowl. We’ll use this for the cheese sauce.

Step 2: Prepare the spices

Add the garlic powder, onion powder, paprika, and salt to a small bowl. Stir everything together and set aside.

Step 3: Cook the pasta

Bring a large pot of salted water to a boil. Add the pasta and cook it for 1–2 minutes less than the package instructions recommend.

The pasta will continue cooking slightly once it’s mixed with the hot cheese sauce and baked in the oven, so we don’t want to overcook it!

Drain the pasta and set it aside.

Step 4: Make the roux

Place a large skillet or saucepan over medium heat. Add the butter and stir until melted.

Add the flour and whisk until combined. Let the flour cook for at least one minute to get rid of that raw flour taste.

Add the prepared spices and stir to combine.

Step 5: Make the cheese sauce

Slowly pour in the whole milk and heavy cream, whisking continuously until everything is combined and you have a smooth, thin sauce.

Turn the heat to low. Add the shredded cheese from the large bowl one handful at a time, stirring until each handful is completely melted before adding more.

Once all the cheese has melted, stir in the Dijon mustard. You should have a smooth, creamy cheese sauce!

Step 6: Add the pasta

Add the cooked pasta to the cheese sauce and stir until every noodle is evenly coated. Make sure you get all that delicious cheese sauce mixed throughout the pasta!

Step 7: Bake the Mac and Cheese

Preheat your oven to 350°F. Transfer the mac and cheese to an oven-safe baking dish and spread it into an even layer.

Sprinkle the reserved shredded cheese over the top.

Bake for 20–25 minutes, or until the cheese on top is melted, bubbly, and starting to turn golden brown.

Step 8: Serve!

Remove the mac and cheese from the oven and let it cool for about 5 minutes before serving. This gives the sauce a little time to settle.

Serve warm and enjoy!

can I make this mac and cheese without baking it?

Absolutely! If you prefer an extra creamy stovetop mac and cheese, you can skip the baking step entirely.

Simply follow the recipe through the step where you mix the cooked pasta into the cheese sauce. Once everything is combined, remove the pan from the heat.

Instead of transferring the mac and cheese to a baking dish, stir in the reserved 2 cups of shredded cheese until melted. If you want a little extra cheesy topping, you can sprinkle some additional cheese over each serving.

Serve immediately while it’s warm and creamy!

The stovetop version will be a little saucier and creamier since it doesn’t spend time in the oven. Both versions are delicious, so you really can’t go wrong.

tips for making the best baked mac and cheese

  • Shred your own cheese. This is the biggest tip I can give you! Freshly shredded cheese melts much more smoothly than pre-shredded cheese.
  • Don’t overcook your pasta. Cook it 1–2 minutes less than the package instructions. It will continue cooking in the oven.
  • Turn the heat down before adding the cheese. High heat can cause the cheese to separate, leaving you with a grainy sauce. Low and slow is the way to go!
  • Add the cheese gradually. Adding one handful at a time gives the cheese time to melt evenly into the sauce.
  • Don’t skip the Dijon mustard. It might seem like a small ingredient, but it adds a subtle tang that balances all the richness.
  • Let it rest before serving. Giving the mac and cheese 5 minutes to cool slightly helps the sauce thicken and makes serving easier.

how to store leftovers

If you have leftovers (which is never guaranteed!), here’s how to store them.

Refrigerator: Allow the mac and cheese to cool, then transfer it to an airtight container. Store in the refrigerator for 3–4 days.

Freezer: You can freeze leftover mac and cheese in an airtight, freezer-safe container for up to 2 months. Just know that the texture of the cheese sauce may change slightly after freezing and thawing.

Reheating: For the best results, reheat individual portions in the microwave with a small splash of milk. Stir halfway through heating to help bring the sauce back together.

You can also reheat larger portions in the oven. Transfer the mac and cheese to an oven-safe dish, add a splash of milk, cover with foil, and bake at 325°F until warmed through. Remove the foil toward the end if you’d like to crisp up the cheesy topping again.

frequently asked questions

What is the best cheese for baked mac and cheese?

I love using a combination of sharp cheddar, white cheddar, and gruyere. Sharp cheddar gives you that classic mac and cheese flavor, white cheddar adds more cheddar richness, and gruyere brings a slightly nutty flavor. Together, they create an incredibly delicious cheese sauce!

Why is my mac and cheese sauce grainy?

A grainy cheese sauce is often caused by adding cheese when the sauce is too hot. High heat can cause the cheese proteins and fats to separate. To avoid this, turn the heat to low before adding your cheese and stir it in gradually. Freshly shredded cheese also helps create a smoother sauce.

Can I use pre-shredded cheese?

You can, but I don’t recommend it. Pre-shredded cheese contains anti-caking agents that can make it harder to melt smoothly. For the creamiest cheese sauce, shred your own cheese from blocks.

What pasta shape is best for baked mac and cheese?

Elbow macaroni is the classic choice, but I also love shells and cavatappi. Look for short pasta shapes with ridges, curves, or little pockets that can hold onto all that delicious cheese sauce.

Can I make this mac and cheese ahead of time?

For the best texture, I recommend making the cheese sauce and pasta right before baking. If you need to get ahead, you can shred all the cheese and mix the spices in advance. Store them separately in airtight containers in the refrigerator until you’re ready to cook.

Can I make this recipe without baking it?

Yes! Simply mix the cooked pasta into the finished cheese sauce, stir in the reserved cheese until melted, and serve immediately. You’ll have a delicious, extra-creamy stovetop mac and cheese.

other sides you’ll love

baked mac and cheese

baked mac and cheese
[category] Side Dish
[published] November 25, 2026
[PREP] 15 minutes
[COOK] 40 minutes
[TOTAL] 55 minutes

Ingredients

  • 16 oz sharp cheddar
  • 8 oz white cheddar
  • 4 oz gruyere
  • 1 teaspoon garlic powder
  • 1 teaspoon onion powder
  • 1 teaspoon paprika
  • 1 teaspoon salt
  • 1 lb pasta any shape
  • 3 tablespoons butter salted or unsalted
  • 3 tablespoons flour
  • 3 cups whole milk
  • 1/2 cup heavy cream
  • 1 teaspoon dijon mustard

Instructions

  1. Preheat the oven to 350F.
  2. Use a box grater to shred the sharp cheddar, white cheddar, and gruyere. Place about 2 cups of the cheese (a variety of all three types) in a small bowl. Place the remaining in a large bowl and set aside.
  3. Place the garlic powder, onion powder, paprika, and salt in a small bowl. Stir to combine.
  4. Put a large pot of water over high heat to bring to a boil. Once boiling, cook the pasta for 1-2 minutes less than the package instructs (the pasta will continue to cook slightly in our sauce). Drain and set aside.
  5. Place a large pan over medium heat. Add the butter and stir until melted. Add the flour and whisk to combine, letting the flour cook for at least one minute. Add the spices and stir to combine. Add the milk and heavy cream, whisking to combine and create a thin sauce.
  6. Turn the heat to low. Add the cheese from the large bowl, one handful at a time, stirring and letting the cheese fully melt between each addition. Once all the cheese is added, you should have a smooth, creamy sauce.
  7. Add the cooked pasta and stir until all the pasta is evenly coated. Transfer to an oven safe dish and top with the reserved 2 cups of shredded cheese. Transfer to the oven and bake for 20-25 minutes, until the cheese is starting to brown. Let the pasta cool for 5 minutes then enjoy!v

What’d you think? I’d love to hear your thoughts or if you have any questions!

Rating




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

  • day 11: glazed carrots with whipped ricotta!

i know thanksgiving is almost here, but TRUST ME these deserve a spot on the table!! the sauce speaks for itself and with the thanksgiving crunch on top?? 😮‍💨😮‍💨

recipe is on my website, thepalatablelife.com, or in my bio! or comment “recipe” and i’ll send this + my thanksgiving crunch recipe directly to you! 💫

#thanksgiving #thanksgivingdinner #glazedcarrots #thanksgivingsides
  • day 10: thanksgiving crunch!!!

this will not last long, i promise. it’s garlicky, oniony, crunchy, savory, slightly sweet, and tastes like thanksgiving in a bite. put it on everything!!

recipe is on my site, thepalatablelife.com. or comment “recipe” and i’ll send it directly to you! 💫

#thanksgiving #thanksgivingdinner #thanksgivingcrunch #thanksgivingrecipes
  • day 9: marinated feta + olives!!

quickest, easiest appetizer! make it on tuesday, put it in the fridge, then it will be ready to go on thursday! easy way to take one thing off your to-do list and keep guests happy while the turkey finishes cooking 🙂‍↔️

recipe is on my website, in my bio! or comment “recipe” and i’ll send it directly to you 💫

#thanksgiving #thanksgivingdinner #appetizer #thanksgivingappetizer #marinatedfeta
  • day 8: pavlova!!!

because why not show up and show out with the most beautiful dessert of the night??

full recipe is on thepalatablelife.com, in my bio! or comment “recipe” and i’ll send it right to you ☁️

#thanksgiving #thanksgivingdessert #pavlova #christmasdessert
  • day 7: cinnamon roll pancakes!!

bc you won’t find me skipping breakfast on thanksgiving 🙂‍↔️

recipe is on thepalatablelife.com, linked in my bio! or comment “recipe” and i’ll send it right on over 💫☁️

#thanksgiving #thanksgivingrecipes #cinnamonroll #cinnamonrollpancakes #pancakerecipe
  • cookie club holiday cookie party!!!

join us for a festive, cozy night celebrating the holidays and COOKIES. each host will be making a different holiday cookie to share with each of you! come hang with us and be prepared to eat lots and lots of cookies! 🍪

each ticket includes: 

- a chance to sample signature holiday cookies from each of our ten hosts and leave with the recipe to bake at home!
- festive drinks to enjoy throughout the evening.
- a curated gift bag filled with goodies from our favorite brands.
- entry into our holiday raffle featuring exciting prizes from some of our favorite food, home, and lifestyle brands.
- the opportunity to meet your favorite creators, shop signed cookbooks, and celebrate the season together!

tickets are available at https://luma.com/56lqizoy, (also linked in @thepalatablelife bio) and in our stories! tickets are limited so grab yours quick! we cannot wait to meet each of you! 

event is sponsored by the wonderful @redbarncreameryofficial

@malloryoniki