best homemade mac and cheese

title 1
best homemade mac and cheese
⏱️ cook time 40 minutes
🍽️ servings 6
⚡ Difficulty medium

intro

Ultra-creamy, crispy-topped three-cheese baked mac and cheese, with silky lump-free sauce, gooey cheese pockets, and buttery panko crunch—pure cozy comfort.

Ingredients

Dry elbow macaroni 340g (12oz)
Sharp yellow cheddar cheese 225g (8oz)
Gruyère cheese 115g (4oz)
Parmesan cheese 55g (2oz)
Unsalted butter 55g (4 tbsp)
All-purpose flour 30g (1/4 cup)
Whole milk 480ml (2 cups)
Heavy cream 120ml (1/2 cup)
Panko breadcrumbs 40g (1/2 cup)
Garlic powder 1 tsp
Smoked paprika 1/2 tsp
Kosher salt 1.5 tsp
Freshly ground black pepper 1/2 tsp
Fresh thyme 2 sprigs
Extra virgin olive oil 1 tsp

Steps

1

Boil Pasta to Al Dente

Bring 4 liters (1 gallon) of heavily salted water (it should taste like sea water) to a rolling boil in the 5-quart stainless steel stock pot over high heat. Add 340g dry elbow macaroni, stir once to prevent sticking, and cook for 6 minutes—2 full minutes less than the package’s al dente recommendation. The pasta will be very firm to the bite, with a faint opaque white core visible when you bite into a piece. Reserve 60ml (1/4 cup) of starchy pasta water, then drain pasta thoroughly in the stainless steel colander. Toss drained pasta with 1 tsp of olive oil to prevent clumping, and do not rinse, as surface starch helps the cheese sauce cling tightly to noodles.

Step 1
step1:Boil Pasta to Al Dente
Step 1
step1:Boil Pasta to Al Dente
2

Shred Three Cheeses

Set the 4-sided stainless steel box grater on top of the honey maple cutting board. Using the largest grating holes, shred the sharp cheddar, Gruyère, and parmesan cheese blocks into separate fluffy piles. Toss 2/3 of the combined shredded cheese together in a small pile for the sauce base, and set the remaining 1/3 aside for layering and topping. Avoid pre-shredded bagged cheese for this recipe, as anti-caking additives will create a grainy sauce texture.

Step 2
step2:Shred Three Cheeses
3

Cook Butter and Flour Roux

Place the 3-quart heavy-bottomed stainless steel saucepan over medium-low heat, and add 42g (3 tbsp) unsalted butter to melt, reserving the remaining 13g (1 tbsp) to melt for the panko topping. Once butter is fully melted and foaming slightly, add 30g all-purpose flour, whisking constantly with the stainless steel wire whisk to form a smooth paste. Cook the roux for exactly 2 minutes, stirring nonstop, until it turns a pale blonde golden color and smells faintly nutty. Do not let the roux darken to a deep brown, as this will create a burnt, bitter flavor in the final sauce.

Step 3
step3:Cook Butter and Flour Roux
4

Whisk Creamy Cheese Sauce

Slowly stream 480ml whole milk and 120ml heavy cream into the warm roux, whisking constantly to eliminate lumps, until the mixture is completely smooth. Bring to a gentle, low simmer (do not let it boil rapidly) and cook for 3-4 minutes, until the base thickens enough to coat the back of a spoon: when you run your finger across the coated spoon, the line will hold cleanly without running. Remove the pan from heat, stir in garlic powder, smoked paprika, salt, and black pepper, then add the 2/3 portion of shredded cheese a small handful at a time, stirring with the silicone spatula until fully melted and glossy. If the sauce feels too thick, stir in 1-2 tbsp of reserved pasta water to thin it to the consistency of heavy cream.

Step 4
step4:Whisk Creamy Cheese Sauce
Step 4
step4:Whisk Creamy Cheese Sauce
5

Toss Pasta in Cheese Sauce

Add the drained, oil-tossed elbow macaroni from the colander directly into the saucepan with the finished cheese sauce. Stir gently with the silicone spatula, folding from the bottom of the pan up, until every single pasta noodle is evenly coated in thick, glossy sauce. Fold in half of the reserved shredded cheese blend, leaving small clumps of unmelted cheese scattered throughout the pasta for extra gooey pockets in the finished bake.

Step 5
step5:Toss Pasta in Cheese Sauce
6

Layer Pasta in Baking Dish

Pour half of the sauced pasta mixture into the matte cream ceramic baking dish, spreading it into a flat, even layer with the spatula. Sprinkle half of the remaining reserved shredded cheese over the first pasta layer, then top with the rest of the sauced pasta, spreading smooth to the edges of the dish. In a small bowl, toss panko breadcrumbs with the reserved 1 tbsp melted butter and leaves stripped from 1 fresh thyme sprig, then sprinkle the buttered crumb mixture evenly over the top of the pasta, followed by the last of the reserved shredded cheese.

Step 6
step6:Layer Pasta in Baking Dish
7

Bake Until Bubbly Crisp

Transfer the assembled baking dish to the middle rack of a preheated 190C (375F) oven, and bake for 20-25 minutes. The dish is done when the cheese sauce is bubbling vigorously around the entire edge of the dish, and the panko topping is a deep, even golden brown and crisp to the touch. If the topping browns faster than the sauce bubbles, tent the dish loosely with aluminum foil for the final 5 minutes of baking to prevent burning. Remove from the oven and let rest for 5 full minutes before serving, to allow the sauce to set.

Step 7
step7:Bake Until Bubbly Crisp

Tips

1.Always shred cheese fresh from the block: Pre-shredded bagged cheese is coated in potato starch and anti-caking agents that prevent smooth melting, leading to a grainy, gritty sauce. Freshly shredded cheese melts seamlessly into a silky, luxurious texture.
2.Undercook pasta by 2 minutes before baking: Pasta continues to cook and absorb cheese sauce in the hot oven, so starting it very firm (with a faint white core) prevents mushy, overcooked noodles. The reserved starchy pasta water is also the best way to thin sauce, as its starch emulsifies with cheese for a creamier finish than plain milk or water.
3.Let the baked mac rest for 5 minutes before serving: Straight from the oven, the cheese sauce is thin and runny, but the short rest allows the starch and melted cheese to set slightly, so servings hold their shape and the sauce stays clinging to noodles instead of pooling on the plate.

✨ You May Also Like

Main Course
🍜 United Kingdom

A showstopping classic of tender seared beef, savory mushroom duxelles, and crisp prosciutto wrapped in flaky golden puff pastry, baked to juicy perfection.

⏱️ 2 hours 1Main Course ★ 4.7
Main Course
🍜 India

Tender charred marinated chicken simmered in a rich, spiced creamy tomato sauce, this iconic Anglo-Indian curry pairs perfectly with basmati rice or warm naan.

⏱️ 50 minuteMain Course ★ 4.6
Main Course
🍜 Thailand

Classic tangy, sweet, and savory Thai stir-fried rice noodles with shrimp, tofu, and crunchy garnishes, balancing all five core Thai flavor profiles.

⏱️ 30 minuteMain Course ★ 4.5
Main Course
🍜 United Kingdom

Crispy golden beer-battered cod and fluffy double-fried chips, served with tangy tartar sauce and malt vinegar: the timeless, beloved British pub comfort classic.

⏱️ 45 minuteMain Course ★ 4.7
Main Course
🍜 Mexico

Smoky, chile-marinated pork tacos with caramelized pineapple, fresh cilantro, and lime: a beloved classic Mexican street food perfect for casual summer gatherings.

⏱️ 1 hour 45Main Course ★ 4.8
Main Course
🍜 United States

Crunchy Fritos corn chips layered with savory beef chili and melted cheddar, topped with cool, zesty fixings for a beloved, cozy Tex-Mex comfort food.

⏱️ 35 minuteMain Course ★ 4.8

best homemade mac and cheese:Frequently Asked Questions

1.Why does my cheese sauce come out lumpy or grainy instead of silky? ▾
That almost always traces back to two common missteps: adding cheese to a boiling-hot base, or using pre-shredded cheese coated in anti-caking starch. Pull your roux-and-milk base off the heat first, stir in freshly shredded cheese a small handful at a time, and whisk steadily between additions for perfectly smooth, lump-free sauce.
2.Can I use a different pasta shape if I don’t have dry elbow macaroni? ▾
Absolutely! Elbow macaroni is classic because its ridges and hollow centers catch cheese sauce perfectly, but any short, ridged shape works great. Try cavatappi, rotini, or medium shells—just skip long, smooth pasta like spaghetti, which won’t hold onto that thick, creamy sauce the way you want.
3.Why do you use a mix of sharp cheddar, Gruyère, and Parmesan instead of just one cheese? ▾
That three-cheese blend hits every perfect note for depth and texture! Sharp yellow cheddar brings that classic, tangy mac and cheese flavor, Gruyère melts into ultra-gooey, nutty pockets, and Parmesan adds a salty, umami kick that keeps the sauce from tasting flat or one-note.
4.How do I get that perfectly crispy, buttery panko top without it burning? ▾
Toss your panko crumbs in melted unsalted butter first so every crumb is evenly coated, then spread them in a thin, even layer over the top right before baking. Bake at 375°F, and if crumbs brown too fast before the sauce is bubbly, tent a loose piece of foil over the top for the remaining bake time.
5.Should I rinse my cooked macaroni before mixing it with the cheese sauce? ▾
Skip the rinse! The starchy coating left on properly cooked pasta helps the thick cheese sauce cling to every noodle instead of sliding off. Just drain your macaroni well (don’t leave it sitting in puddles of cooking water, which will thin your sauce) and toss it straight into the warm cheese sauce.
6.How do I keep my baked mac and cheese from turning out dry instead of creamy? ▾
First, don’t overcook your pasta—boil it just to al dente, since it will keep cooking in the oven. Make sure your cheese sauce is a little looser than you think it should be before baking, as it thickens as it cooks, and don’t bake it uncovered for longer than 20 to 25 minutes to avoid drying out the top layer.
7.Can I make this mac and cheese ahead of time for a potluck or busy weeknight? ▾
Totally! Assemble the mac and cheese (hold off on adding the panko topping to keep it crisp) and store it covered in the fridge for up to 2 days. When you’re ready to bake, add the buttered panko, tack on 5 to 10 minutes of extra bake time to account for the cold dish, and cook until sauce is bubbly around the edges.
8.Do I have to use unsalted butter, or can I swap in salted butter? ▾
Unsalted butter lets you control exactly how much salt goes into your roux, sauce, and panko topping, so you don’t end up with an overly salty final dish. If you only have salted butter on hand, just cut back on added salt in the sauce and taste as you go to adjust seasoning to your preference.
9.How do I get those gooey, stretchy cheese pockets in every serving? ▾
Those perfect gooey pockets come from reserving a small handful of your shredded cheddar and Gruyère to toss in with the sauced pasta right before you pour it into the baking dish, instead of melting all the cheese into the sauce. Those partially unmelted shreds turn into stretchy, cheesy pockets as the dish bakes.
10.What’s the best way to reheat leftover baked mac and cheese so it stays creamy? ▾
Skip the microwave if you can, as it tends to make the cheese sauce grainy and separated. Instead, place portions in an oven-safe dish, add a tiny splash of whole milk or half-and-half to loosen the sauce, cover with foil, and bake at 350°F for 15 to 20 minutes until heated through.
11.Can I add mix-ins like bacon, veggies, or extra toppings to customize this recipe? ▾
Of course! This recipe is a perfect cozy, neutral base. Fold in crumbled cooked bacon, steamed chopped broccoli, diced ham, or pickled jalapeños when you toss the pasta with sauce. Just don’t overload the dish with too many add-ins, or you’ll end up with less creamy sauce per bite.

Comments (13)

2 days ago

OMG this baked mac and cheese is an absolute game changer! I made it for my kid’s soccer team potluck last weekend and every single parent asked for the recipe. The crispy panko top is *chef’s kiss*, no more dry, bland boxed mix for us! Quick question—can I swap the sharp cheddar for a mix of gouda and mozzarella for that epic cheese pull?

yesterday

I did that exact swap last week! It was so gooey and perfect, just add a tiny extra pinch of nutmeg to cut the richness, trust me.

yesterday

Love that potluck win! You absolutely can swap in gouda and mozzarella—just keep about 1/3 of the cheese as sharp cheddar to hold onto that classic tangy flavor so it doesn’t end up too mild.

3 days ago

SO good, I added this to my regular Sunday meal prep rotation! It holds up really well in the fridge for 4 days and reheats like a dream in the oven with a tiny splash of milk. Only note: I wish the recipe noted how long to let it rest before serving, I cut into mine right away and it was a little runny at first.

2 days ago

Great call on the meal prep! So glad it’s working for your weekly routine. You’re totally right about the rest time—letting it sit 10 minutes after pulling it out of the oven helps the sauce set up perfectly, I’ll add that note to the recipe card right away!

1 week ago

Made this for our family dinner last night and even my super picky 7 year old who only eats chicken nuggets asked for a second helping! Used extra sharp white cheddar like my grandma used to and it tasted exactly like the mac I grew up eating at church potlucks. 10/10, no notes.

2 hours ago

Wait, is the medium difficulty rating actually accurate? I’m a total beginner who’s never made cheese sauce from scratch before and I was low-key stressed about it breaking, but the step-by-step instructions were so easy to follow! Mine came out perfect on the first try, my roommate thought I ordered it from our favorite BBQ spot down the street.

30 minutes ago

Right?! I was also scared of ruining the roux, but the tip about turning the heat down before adding the cheese is a total lifesaver. No clumps for me either!

5 days ago

Tried making this last night with GF all-purpose flour and brown rice pasta, and while the flavor was incredible, the sauce was a little thinner than I wanted and the pasta got mushy. Any tips for making this work for gluten free folks? My son has celiac and I’ve been searching for a solid baked mac recipe that doesn’t turn gummy with GF substitutes.

3 days ago

I make this GF all the time! Use half the amount of milk you normally would for the sauce, and undercook your GF pasta by 2 full minutes before baking, it won’t turn mushy that way. I use Bob’s Red Mill 1-to-1 flour and it works perfectly!

2 days ago

Great question, and so glad you liked the flavor! The GF swap works beautifully if you follow that tip about undercooking the pasta—GF pasta absorbs way more liquid as it bakes, so parboiling it less keeps the texture perfect. You can also add an extra tablespoon of flour to the roux if you prefer a thicker sauce.

yesterday

Brought this to my office potluck yesterday and the entire pan was gone in 10 minutes. People were fighting over the corner pieces with the extra crispy edges! I added a little crumbled bacon on top before baking and it took it over the top. The 40 minute cook time was totally doable even on a busy work night, I prepped the cheese sauce while the pasta boiled and it came together so fast. Will absolutely be making this again for every holiday gathering from now on.

2 weeks ago

Made this in my tiny dorm oven for my roommates’ Friendsgiving and it was a total hit! I didn’t have panko so I crushed up some cheese crackers I had in my snack drawer for the topping and it was insane. 10/10, way better than the sad dining hall mac.

1 week ago

That cheese cracker topping hack is genius! I’m definitely trying that next time I make this for a casual get-together. So glad it worked out in your dorm oven, that’s such a fun Friendsgiving win.

1 week ago

Wait y’all, no dry mustard? I’ve been making baked mac for 20 years and I always add a teaspoon of dry mustard to the roux to make the cheese flavor pop. I tried this recipe exactly as written first because I wanted to give it a fair shot, and it was great, but adding that little bit of mustard made it next level for my family.

5 days ago

I add a dash of hot sauce too! Doesn’t make it spicy, just amps up all the other flavors so much. My grandma taught me that trick.

3 days ago

That dry mustard trick is such a classic! I’ve had people add that, hot sauce, even a pinch of cayenne over the years and all of those additions work so well without overpowering the cheese. I’ll add a note about optional mix-ins to the recipe so people can customize it!

3 days ago

Made this for my neighbor who just had a baby last week, and she texted me saying it was the best meal they’d received since bringing the baby home! It travels really well, reheats perfectly, and is just the ultimate comfort food. I left off the panko for half the pan because their oldest kid hates crunchy textures and that worked great too.

2 days ago

Wait I was the recipient of a meal train mac and cheese a few months ago and it was life changing when I was surviving on 2 hours of sleep. This is such a good call, I’m making this for my sister who’s due next month!

just now

I’ve been trying to replicate the baked mac from my favorite local BBQ spot for literal years and this recipe is so close it’s scary. The creamy sauce that doesn’t break when it bakes, the crispy breadcrumb top, the perfect balance of cheeses—this is it. I’ll never hunt for another mac and cheese recipe again.

30 minutes ago

So happy this is vegetarian as written! I brought it to a cookout last weekend where half the group was meat-free and everyone was raving. I did add a little roasted broccoli to half the pan for some extra veggies and it paired so nicely with the rich cheese sauce.

5 minutes ago

Roasted broccoli in mac and cheese is such a great way to add veggies without making it feel like ‘health food’! So glad it worked for your mixed-diet cookout crowd, that’s always such a win.

2 weeks ago

Wait, how much does this recipe cost to make? I’m on a super tight grocery budget this month and I’m trying to figure out if it’s cheaper than buying the family size frozen mac from the grocery store. It looks so good but I don’t want to blow my food budget on fancy cheeses.

1 week ago

I made this last week for my family of 4 and it cost me right around $8 total, way cheaper than the fancy frozen stuff that’s like $6 for a tiny pan that only feeds 2. I bought the block cheese on sale and shredded it myself, which saves a ton vs pre-shredded!

1 week ago

Great question! If you buy block cheese (which melts better anyway, win-win!) and use regular pasta, this comes out to about $2 per serving, which is way cheaper than takeout or premium frozen mac. You can also skip the panko topping if you don’t have it on hand to save an extra couple bucks.

yesterday

Tested this recipe ahead of our Thanksgiving dinner this year and it’s officially going on the menu. I was worried it would be too rich alongside all the other sides, but the cheese sauce is perfectly balanced, not heavy at all. I’m planning to make it the night before and bake it right before dinner to save oven space on the big day, wish me luck!