mac and cheese from scratch

title 1
mac and cheese from scratch
⏱️ cook time 35 minutes
🍽️ servings 4
⚡ Difficulty easy

intro

Creamy, velvety cheese sauce clinging to tender elbow pasta, topped with crispy buttered panko, this from-scratch baked mac and cheese is the ultimate cozy, nostalgic family favorite.

Ingredients

Dry elbow macaroni 225g (8oz)
Sharp yellow cheddar cheese 225g (8oz), block form
Gruyère cheese 85g (3oz), block form
Whole milk 2 cups (480ml)
Unsalted butter 4 tablespoons (55g), divided
All-purpose flour 2 tablespoons
Panko breadcrumbs 1/2 cup (30g)
Dry mustard powder 1 teaspoon
Smoked paprika 1/2 teaspoon
Garlic powder 1/4 teaspoon
Kosher salt 1.5 teaspoons, divided
Freshly ground black pepper 1/2 teaspoon
Fresh thyme sprigs 3 sprigs, plus extra for garnish

Steps

1

Grate Cheese, Preheat Oven

Preheat your oven to 200C (400F). Place the end-grain maple cutting board in front of you. Hold the blocks of sharp cheddar and Gruyère against the largest holes of the stainless steel box grater, and grate all cheese into a loose pile on the cutting board. Set aside 2 tablespoons of the grated cheese to mix with the topping later. Do not use pre-shredded cheese, as it is coated in anti-caking agents that make the sauce grainy. The grated cheese should be light, fluffy, and uniform in size.

Step 1
step1:Grate Cheese, Preheat Oven
2

Boil Pasta Al Dente

Fill the 3-quart heavy-bottomed stainless steel pot with 2 liters of cold water, add 1 teaspoon of kosher salt, and bring to a rolling boil over high heat. Add the dry elbow macaroni, stir once with the navy silicone spatula to prevent sticking, and cook for 2 minutes less than the package instructions for al dente (approximately 6 minutes total). The pasta will be slightly firm at the center, as it will finish cooking in the oven. Do not overcook, or the final dish will be mushy.

Step 2
step2:Boil Pasta Al Dente
3

Drain Pasta, Prep Topping

Once the pasta is cooked to the under-al dente stage, pour the entire contents of the pot into the stainless steel colander to drain. Do not rinse the pasta—residual starch helps the cheese sauce cling tightly to the noodles. While the pasta drains, melt 1 tablespoon of butter, then mix it with panko breadcrumbs, the reserved 2 tablespoons of grated cheese, and a pinch of smoked paprika in the small terracotta ramekin. Set the topping aside.

Step 3
step3:Drain Pasta, Prep Topping
Step 3
step3:Drain Pasta, Prep Topping
4

Build the Roux Base

Place the 2-quart stainless steel saucepan on the right induction burner over medium heat. Add the remaining 3 tablespoons of butter, and melt until foamy. Add the all-purpose flour, dry mustard, remaining 1/2 teaspoon kosher salt, garlic powder, remaining smoked paprika, and black pepper. Whisk constantly with the stainless steel whisk for 2 minutes, until the roux is pale golden, smooth, and smells faintly nutty. Do not let the roux turn dark brown, as it will develop a burnt, bitter flavor.

Step 4
step4:Build the Roux Base
5

Whisk Smooth Cheese Sauce

Slowly pour the whole milk into the roux, 1/4 cup at a time, whisking constantly after each addition to eliminate lumps. Once all milk is added, continue cooking for 3-4 minutes, whisking occasionally, until the sauce thickens enough to coat the back of the silicone spatula (it will leave a clear, defined line when you run your finger across the coated spatula head). Turn the heat to low, then add the remaining grated cheese a handful at a time, stirring with the silicone spatula until fully melted and smooth. Remove the pan from heat, and stir in fresh thyme leaves stripped from their stems.

Step 5
step5:Whisk Smooth Cheese Sauce
Step 5
step5:Whisk Smooth Cheese Sauce
6

Mix Pasta and Sauce

Add the drained elbow macaroni from the colander directly into the saucepan with the cheese sauce. Stir gently with the silicone spatula until every pasta noodle is evenly coated in the thick, glossy sauce. Scrape the sides of the pan well to make sure no sauce is left behind. The mixture will look slightly saucier than you expect, as the pasta will absorb excess sauce as it bakes.

Step 6
step6:Mix Pasta and Sauce
7

Fill Dish, Add Topping

Pour the entire sauced pasta mixture into the 9x9 inch cream ceramic baking dish, spreading it into an even layer with the spatula. Sprinkle the reserved panko and cheese topping evenly across the entire surface of the mac and cheese, making sure no bare spots of pasta show through.

Step 7
step7:Fill Dish, Add Topping
8

Bake to Golden Perfection

Place the baking dish on the middle rack of the preheated oven. Bake for 15-18 minutes, until the sauce is bubbling vigorously around the edges of the dish, and the panko topping is deep golden brown and crispy. Remove from the oven, and let rest for 5 minutes before serving—this allows the sauce to set so it does not run when plated.

Step 8
step8:Bake to Golden Perfection

Tips

1.Grate your own cheese from blocks instead of using pre-shredded store-bought cheese: pre-shredded cheese is coated in potato starch and anti-caking agents that prevent it from melting into a smooth, silky sauce, leaving a gritty, uneven texture.
2.Cook pasta 2 minutes shorter than the package’s al dente recommendation: the pasta will continue to absorb liquid and cook while baking in the hot cheese sauce, so undercooking it initially prevents mushy, over-soft noodles in the final dish.
3.Let the baked mac and cheese rest for 5 full minutes after removing it from the oven: this short cooling time allows the cheese sauce to thicken and set, so each serving holds its shape instead of running across the plate, and prevents burnt mouths from overly hot melted cheese.

✨ 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

mac and cheese from scratch:Frequently Asked Questions

1.Why does my homemade cheese sauce end up grainy instead of smooth and velvety? ▾
Grainy sauce almost always traces back to three common missteps: using pre-shredded cheese (which has anti-caking starches that break the emulsion), adding cheese to boiling-hot liquid, or stirring too fast. Shred your own sharp cheddar and Gruyère, take your thickened whole milk base off the heat before adding cheese a handful at a time, and never boil the sauce once cheese is mixed in.
2.Can I prep this baked mac and cheese ahead of time for a potluck or busy weeknight? ▾
Absolutely! Assemble the pasta and cheese sauce fully in your baking dish, cover tightly, and store it in the fridge for up to 2 days. Wait to add the buttered panko topping until right before baking, and add 5 to 7 minutes to the stated bake time to account for the cold dish, until the edges are bubbly and the top is golden.
3.Do I have to use Gruyère, or can I swap it for a cheese I already have at home? ▾
Gruyère adds a lovely nutty, mellow depth that balances the sharp tang of yellow cheddar, but easy swaps work great here. Use equal parts fontina for extra stretch and melt, smoked gouda for a cozy smoky twist, or extra sharp white cheddar. Skip dry, crumbly cheeses like feta or aged parmesan as a main swap, since they won’t create that signature creamy texture.
4.Why does my baked mac and cheese turn out dry instead of creamy after baking? ▾
Dry mac and cheese usually stems from two easy-to-fix mistakes: overcooking your pasta before baking, or not making enough sauce to account for noodles absorbing liquid as they cook. Boil elbow macaroni just to al dente (it will finish cooking in the oven), and thin your sauce with a splash of reserved pasta water if it feels too thick before baking.
5.How do I get a crispy panko topping without it burning before the pasta is done? ▾
Start by tossing panko fully with melted unsalted butter so every crumb is lightly coated—this helps crumbs toast evenly instead of scorching in dry spots. For best results, add the panko topping during the last 10 minutes of baking, rather than leaving it on for the full cook time. If it browns too fast, tent a loose piece of foil over the top until the sauce is bubbly.

Comments (18)

yesterday

OMG this baked mac and cheese is a total game changer! I made it for our Sunday family dinner last night and even my super picky 7 year old asked for seconds. The sauce is so creamy without being grainy at all, 10/10 will be making this for every potluck from now on!

2 hours ago

So happy your kiddo approved! A quick tip if you’re making it for potlucks: keep it in a covered slow cooker on warm to keep that creamy texture for hours!

30 minutes ago

Second the slow cooker tip! I brought this to my block party last weekend and it was gone in 15 minutes flat, everyone was asking for the recipe!

3 days ago

As someone who’s only ever made mac and cheese out of a box, this was so easy to pull off even in my tiny dorm oven! Cook time was exactly 35 minutes like the recipe said, no fancy ingredients needed. SO good I ate half the pan in one sitting oops

2 days ago

Love that this works for dorm cooking! If you want to mix it up next time, try tossing in a handful of cooked bacon bits or diced jalapeños for a little extra kick!

1 week ago

Added this to my weekly meal prep rotation! It reheats so well in the microwave, doesn’t get all greasy and separated like other from-scratch mac recipes I’ve tried. Portioned out 5 servings for lunches this week and already can’t wait for lunch tomorrow

5 days ago

Wait, has anyone tried making this with gluten free pasta? I’m gluten intolerant and have been searching for a solid baked mac recipe that doesn’t turn gummy with GF noodles!

3 days ago

I used brown rice GF pasta last week when I made this for my sister who’s celiac! Just cooked it 2 minutes less than the package said before baking and it came out perfect, no gumminess at all!

2 days ago

Great tip from BakingBabe92! I recommend undercooking GF pasta by a couple minutes too, since it will keep cooking in the oven while the cheese sauce bakes. A sharp cheddar blend also helps cut through any softer texture from GF noodles!

2 days ago

Made this to go with my smoked brisket over the weekend and it was the perfect side. The creamy cheese cut right through the smoky brisket so well, my brother in law said it’s better than the mac his grandma used to make. High praise!

yesterday

Oh that sounds like such a good combo! I’m making brisket for my birthday cookout next weekend and was trying to pick a side, definitely adding this mac to the menu now

2 weeks ago

Was worried making a roux would be hard but this recipe walks you through every step so simply, I didn’t mess it up at all! Total comfort food for a rainy night in, paired it with a side of steamed broccoli and felt like a whole fancy meal for like $5 worth of ingredients

30 minutes ago

I used a mix of sharp white cheddar and gouda because that’s what I had in the fridge and WHEW, that cheese pull was unreal. My roommate walked in while I was taking it out the oven and immediately demanded a serving, no regrets

5 minutes ago

That cheddar and gouda blend sounds incredible! Swapping in whatever melty cheese you have on hand is one of my favorite ways to customize this recipe, it works with almost any combo

1 week ago

Really tasty base recipe! The only thing I’ll change next time is add a little more salt and maybe a pinch of paprika for depth, it felt a tiny bit plain for my family’s taste. That said, the texture was perfect, no clumpy sauce at all which I struggle with usually

5 days ago

I added a teaspoon of smoked paprika and a little garlic powder when I made it and it was chef’s kiss! Definitely amps up the flavor without overpowering the cheese

3 days ago

Love that customization! Smoked paprika, garlic powder, even a tiny pinch of dry mustard are all great add-ins to bump up the flavor to match your family’s preferences, I’ll have to note that in the recipe tips!

yesterday

Brought this to my office potluck yesterday and people were literally coming back for thirds. One of my coworkers thought I ordered it from a local BBQ spot, little does she know it took me 35 minutes total to make. Win!

2 hours ago

Wait did you bring this to the downtown Chicago office potluck? I swear I had a mac and cheese there that was insane, if that was yours I need to personally thank you lmao

3 days ago

Made this for my post-hike dinner last week after an 8 mile trail and it hit so different. Warm, creamy, carby, exactly what I needed to refuel. I topped mine with some panko breadcrumbs like the recipe suggested and that crunch on top is *chef’s kiss*

2 weeks ago

I’ve always been scared to make homemade cheese sauce because I thought it would be super complicated, but this was so easy! The step by step for the roux made total sense even for someone like me who burns toast half the time. My boyfriend said it’s the best thing I’ve ever cooked, so that’s a win in my book

5 days ago

Is there a good non-dairy milk/cheese combo that works for this? My son is dairy free and I’ve been dying to find a mac and cheese he can eat with the rest of the family on pasta night

3 days ago

I’ve tested this with oat milk (the barista blend works best for creaminess) and a mix of dairy-free sharp cheddar and mozzarella shreds! Just make sure to shred the dairy-free cheese yourself instead of using pre-shredded, since the anti-caking coating can make the sauce grainy

2 days ago

Wait, do y’all use the panko topping the recipe mentions or skip it? I’m usually a no-crunch mac and cheese purist but I keep seeing people say the topping is amazing and I’m torn

yesterday

Don’t skip it!!! I was a no-crunch person for years until I tried this recipe’s panko topping, it’s tossed with a little melted butter and parmesan so it’s crispy and salty, not dry at all. Perfect contrast to the creamy sauce

yesterday

If you’re really on the fence, try putting the panko topping on half the pan! That way you can try both and see which you prefer. I’m team crunch all the way, but I know everyone has their mac and cheese preferences

1 week ago

Added some grilled chicken and a side of roasted veggies to this for my post-gym meal all week, it’s so much more satisfying than the boring protein bowls I usually make. The protein keeps me full for hours and the cheese makes it feel like a treat instead of a chore meal

5 days ago

Oh the grilled chicken addition is genius! I’ve been looking for ways to bump up the protein in this so I can bring it for work lunches, definitely trying that next batch

2 weeks ago

I grew up eating my grandma’s baked mac and cheese so I’m super picky about recipes, but this one hits all the right notes. Creamy, not watery, the cheese sauce coats every single noodle, no dry spots in the whole pan. I added a little dash of hot sauce on top like I always do and it was perfect

2 hours ago

Uh, I accidentally used half and half instead of whole milk because I grabbed the wrong carton at the grocery store, and it was somehow even creamier? Total happy accident, 10/10 would accidentally mess up again

30 minutes ago

Wait that’s not a mistake, that’s an upgrade! I always use half and half in my mac sauce for extra richness, it’s so good you’ll never go back to regular milk

5 minutes ago

Happy accidents are the best kitchen wins! Heavy cream or half and half will absolutely give you an even richer, silkier sauce if that’s what you’re going for, no mistakes here at all

1 week ago

Made this for my football watch party last Sunday and it was gone before halftime. I mixed in some crumbled sausage and diced jalapeños for a spicy kick and everyone was raving. So easy to make while I was setting up the rest of the snacks, didn’t take up any extra oven time at all

just now

First recipe I made in my new apartment’s oven and it came out perfectly! I was worried the oven temps would be off since it’s an old building, but 35 minutes at 375 was exactly right, no burnt edges, bubbly cheese the whole way through. Feels like I’m officially a real adult now lmao

just now

Congrats on the new place! I made this when I first moved into my old apartment too, it’s the perfect first meal to make a new space feel like home. Just wait till you try making it with extra breadcrumbs, you’ll be hooked