Creamy Homemade Baked Mac and Cheese
This creamy homemade baked mac and cheese is the comfort food dinner your weeknight table has been missing. Rich, golden, bubbly — and yes, you’ll want seconds.
Creamy Homemade Baked Mac and Cheese is a classic baked pasta dish made with a from-scratch bechamel sauce and a blend of medium cheddar and Gruyere cheese. This recipe serves 8, delivers a rich, silky sauce with a golden bubbly top, and is perfect for hearty weeknight meals and easy family dinners.
Here’s everything you need to make it perfectly.
I’ve made this baked mac and cheese more times than I can count, and the one thing nobody tells you is that undercooking the pasta before baking is non-negotiable. Skip that step and you’ll end up with mush. The Gruyere in this recipe is the quiet hero — it melts differently than cheddar and gives the sauce that silky, almost velvety pull.
Table of Contents
Why You’ll Love This Creamy Homemade Baked Mac and Cheese
The sauce is made entirely from scratch — no canned soup, no shortcuts — and it shows in every bite. You get that creamy, rich texture from the bechamel base, plus serious depth from two melted cheeses.
It bakes up golden on top, stays tender inside, and comes together in one baking dish with minimal cleanup. Honestly, this is the kind of simple comfort recipe you’ll return to every single winter.
What Ingredients Do You Need for Baked Mac and Cheese?

| Ingredient Group | Ingredient | Amount | Notes |
|---|---|---|---|
| Pasta | Dried elbow pasta | 1 lb. | Cook 1 min under al dente |
| Sauce Base | Unsalted butter | 1/2 cup | For the roux |
| Sauce Base | All-purpose flour | 1/2 cup | Combined with butter |
| Sauce Base | Whole milk | 1 1/2 cups | Added to roux |
| Sauce Base | Half and half | 2 1/2 cups | See chef tip #1 |
| Cheese | Shredded medium cheddar | 4 cups | Measured after shredding |
| Cheese | Shredded Gruyere | 2 cups | Measured after shredding |
| Spices | Salt | 1/2 Tbsp. | Stirred into sauce |
| Spices | Black pepper | 1/2 tsp. | Stirred into sauce |
| Spices | Paprika | 1/4 tsp. | Smoked paprika preferred |
The combination of medium cheddar and Gruyere is what makes this sauce stand out. Cheddar gives you that sharp, familiar flavor while Gruyere melts smoother and adds a slightly nutty richness.
Always shred your cheese fresh from the block. Pre-shredded bags contain anti-caking agents that prevent clean melting and can leave your sauce grainy instead of silky.
How to Make Baked Mac and Cheese Step by Step

Prep
- Preheat oven to 325 degrees F.
- Grease a 3 qt baking dish (9×13″) and set aside.
- Shred cheddar and Gruyere cheeses, toss together, and divide into three piles: approximately 3 cups for the sauce, 1 1/2 cups for the inner layer, and 1 1/2 cups for the topping.
Cook the Pasta
- Bring a large pot of salted water to a boil.
- Add dried elbow pasta and cook 1 minute less than the package directs for al dente.
- Drain and drizzle with a little olive oil to keep from sticking. Set aside.
Pro Tip: Pulling pasta one minute early is essential — it finishes cooking in the oven and prevents a mushy final texture.
Make the Cheese Sauce
- Melt butter in a large saucepan over medium heat.
- Sprinkle in flour and whisk to combine — the mixture will look like very wet sand.
- Cook for approximately 1 minute, whisking often.
- Slowly pour in about 2 cups of the half and half, whisking constantly, until smooth.
- Pour in the remaining half and half plus the whole milk, whisking constantly until combined and smooth.
- Continue heating over medium heat, whisking very often, until thickened to a very thick consistency — nearly the texture of thinned condensed soup.
- Remove from heat and stir in salt, pepper, and paprika.
- Stir in 1 1/2 cups of cheese until melted and combined.
- Stir in another 1 1/2 cups of cheese until completely melted and smooth.
Pro Tip: The key to a lump-free sauce is patience — add your dairy slowly and keep whisking. Rushing this step is the most common reason cheese sauces break.
Assemble and Bake
- In a large mixing bowl, combine drained pasta with cheese sauce and stir fully to coat.
- Pour half of the pasta mixture into the prepared baking dish.
- Top with 1 1/2 cups of shredded cheese.
- Add the remaining pasta mixture on top.
- Sprinkle the last 1 1/2 cups of cheese over the top.
- Bake for 15 minutes until the cheese is bubbly and lightly golden brown.
Pro Tip: For best results, let the dish rest for 5 minutes after pulling it from the oven — it helps the layers set and makes serving much cleaner.

Expert Tips for Perfect Creamy Homemade Baked Mac and Cheese
Pro Tips for Success
The key to a silky sauce is thickening it fully before adding cheese. If it’s too thin when you take it off the heat, the final dish will be soupy. It should coat the back of a spoon heavily — almost like a loose pudding.
For best results, use block cheese and shred it yourself. It’s honestly the biggest difference between a good mac and a great one. Pre-shredded cheese has a coating that stops it melting smoothly into the sauce.
The most common mistake is skipping the layered cheese method — instead, use all three portions as directed. That inner layer of cheese creates pockets of extra gooeyness in every bite that you just can’t get by mixing it all in.
Creamy baked mac and cheese works best when your sauce is properly seasoned before adding the pasta. Taste the sauce on its own before combining — it should taste slightly saltier than you’d expect, since the pasta will dilute it.
And don’t rush the roux. That 1 minute of cooking the butter and flour together before adding any liquid is what removes the raw flour taste. Skip it and you’ll notice.
Delicious Variations
Quick Version: Skip the bake entirely and serve straight from the stovetop after combining pasta and sauce. You lose the golden top but get dinner on the table in 30 minutes flat.
Alternative Cheese Blend: Swap half the cheddar for sharp white cheddar or fontina for a deeper, slightly tangier flavor profile. Both melt well and won’t fight the Gruyere.
Gluten-Free Version: Use your favorite 1:1 gluten-free flour substitute for the roux and swap the elbow pasta for a gluten-free variety. The sauce behaves nearly identically.
Troubleshooting Common Problems
Problem: Sauce looks grainy or separated.
Solution: This usually means the cheese was added while the sauce was too hot. Pull off heat fully first, then add cheese in stages, stirring between each addition.
Problem: Pasta is mushy after baking.
Solution: Cook pasta even less next time — aim for 2 minutes under al dente if your oven runs hot. The pasta absorbs moisture from the sauce as it bakes.
Problem: Top isn’t browning.
Solution: Switch to the broiler for the last 2-3 minutes. Watch it constantly — it goes from golden to burnt fast.
How to Store and Reheat Creamy Homemade Baked Mac and Cheese
| Storage Method | Duration | Best Practice |
|---|---|---|
| Room Temperature | Up to 2 hours | Cover loosely; don’t leave out longer |
| Refrigerator | Up to 4 days | Store in an airtight container |
| Freezer | Up to 2 months | Freeze before baking for best texture |
To reheat from the fridge, add a splash of milk to the portion before microwaving in 60-second intervals, stirring between each. This brings back that creamy texture instead of the dry, clumped result you get from reheating it dry.
Leftover mac is genuinely great pan-fried in a skillet with a little butter until crispy on the outside. It turns into something completely different — almost like a cheesy hash. Pair it with a fried egg for an easy lunch the next day.
FAQs About Creamy Homemade Baked Mac and Cheese
Can I make baked mac and cheese ahead of time?
Yes. Assemble the dish fully, cover tightly, and refrigerate for up to 24 hours before baking. Pull it out 30 minutes before you plan to bake it to let it come closer to room temperature. You may need to add 5 extra minutes to the bake time straight from the fridge.
Can I use a different type of pasta?
Elbow pasta is traditional and works best because of its shape and size, but cavatappi, shells, or penne all work well. Avoid long pasta shapes like spaghetti — they don’t hold the sauce the same way and are awkward to serve.
Why does my cheese sauce turn out grainy?
Grainy sauce happens when cheese is added to liquid that’s too hot or when pre-shredded cheese is used. Always remove the sauce from heat before stirring in cheese, and use freshly shredded cheese only. Adding cheese in batches also helps it melt in smoothly.
Can I freeze baked mac and cheese?
You can, though texture is best when frozen before baking rather than after. Assemble, wrap tightly in plastic wrap and foil, and freeze for up to 2 months. Thaw overnight in the fridge and bake as directed, adding 10 minutes to the bake time if it’s still cold in the center.
What’s the best cheese combination for baked mac and cheese?
This recipe uses medium cheddar and Gruyere, which is a proven combination. Cheddar brings bold flavor and Gruyere adds smooth, creamy meltability. If you can’t find Gruyere, Swiss cheese is a reasonable swap. Avoid pre-shredded blends and very aged cheeses — both can make the sauce grainy.
Make It Tonight — You Won’t Regret It
Seriously, this is one of those recipes you make once and it becomes a permanent part of your rotation. It’s the kind of cheesy pasta dinner that makes a regular Tuesday feel like something worth sitting down for.
If you’re looking for more hearty weeknight meals the whole table will ask for again, check out these cheeseburger stuffed peppers and these air fryer Greek chicken bowls for easy family dinner inspiration.
Save this to Pinterest so you can find it on those nights when you need something reliable and really good. And if you make it, drop a comment below — I want to know which cheese blend you went with.
Creamy Homemade Baked Mac and Cheese with silky cheddar-Gruyere sauce, a golden bubbly top, and layered cheese throughout. The ultimate comfort food dinner. Save this recipe for your next cozy night in.

Creamy Homemade Baked Mac and Cheese
Equipment
- 9×13 baking dish (3 qt)
- Large pot
- Large saucepan
- Large mixing bowl
- Whisk
- Box grater
- Colander
Ingredients
Pasta
- 1 lb dried elbow pasta Cook 1 minute less than package directs for al dente
Sauce Base
- ½ cup unsalted butter
- ½ cup all-purpose flour
- 2 ½ cups half and half
- 1 ½ cups whole milk
Cheese
- 4 cups shredded medium cheddar cheese Divided; measured after shredding
- 2 cups shredded Gruyere cheese Divided; measured after shredding
Spices
- ½ tbsp salt
- ½ tsp black pepper
- ¼ tsp paprika Smoked paprika preferred
Instructions
- Preheat oven to 325°F. Grease a 3 qt baking dish (9×13″) and set aside.
- Bring a large pot of salted water to a boil. When boiling, add dried elbow pasta and cook 1 minute less than the package directs for al dente. Drain and drizzle with a little olive oil to keep from sticking. Set aside.
- While the water is coming to a boil, shred cheddar and Gruyere cheeses and toss together to mix. Divide into three piles: approximately 3 cups for the sauce, 1½ cups for the inner layer, and 1½ cups for the topping.
- Melt butter in a large saucepan over medium heat. Sprinkle in flour and whisk to combine — the mixture will look like very wet sand. Cook for approximately 1 minute, whisking often.
- Slowly pour in about 2 cups of the half and half, whisking constantly, until smooth. Slowly pour in the remaining half and half plus the whole milk, whisking constantly, until combined and smooth.
- Continue to heat over medium heat, whisking very often, until thickened to a very thick consistency — it should almost be the consistency of a semi-thinned condensed soup.
- Remove from heat and stir in salt, black pepper, and paprika. Stir in 1½ cups of the cheese until melted and combined. Stir in another 1½ cups of cheese and stir until completely melted and smooth.
- In a large mixing bowl, combine the drained pasta with the cheese sauce, stirring to fully coat.
- Pour half of the pasta mixture into the prepared baking dish. Top with 1½ cups of shredded cheese, then top that with the remaining pasta mixture.
- Sprinkle the last 1½ cups of cheese over the top. Bake for 15 minutes until the cheese is bubbly and lightly golden brown. Let rest 5 minutes before serving.
