Baked Mac and Cheese: Creamy, Golden Homemade Recipe

Baked mac and cheese is the gold standard of American comfort food: elbow macaroni coated in a rich, velvety gruyere and mozzarella béchamel sauce, crowned with a golden, buttery panko crust, and baked until perfectly bubbling. This best homemade mac and cheese recipe takes 45 minutes from start to finish and produces results that genuinely beat anything from a box or a restaurant.

DetailInfo
Prep Time15 minutes
Cook Time30 minutes
Total Time45 minutes
Servings6
DifficultyEasy
CuisineAmerican
Table of Contents

My absolute go-to for any occasion that calls for real, no-compromise comfort food, this oven baked mac and cheese has been on my table more times than I can count. Over the years of making this Baked Mac and Cheese recipe, I’ve tested every variation possible: different cheese blends, different pasta shapes, different topping textures. The version below is the one my family always asks for, and the reason is that golden gruyere sauce. Gruyere melts into the béchamel like a dream and brings a nutty, complex depth that ordinary cheddar alone simply cannot replicate. That said, if gruyere is not available, a sharp aged cheddar or Colby works beautifully.

Two pro-tips before you start. First, always shred your cheese fresh from the block. Pre-shredded bags contain anti-caking starches that prevent clean, smooth melting and can make your sauce grainy. A simple box grater and five minutes of effort make a visible difference in the final texture. Second, pull your pasta one full minute before the package says it is done. It will finish cooking in the oven, and that extra minute of undercooking is exactly what keeps your creamy baked macaroni and cheese from turning soft and gluey after baking.

Why This Baked Mac and Cheese Recipe Works

This creamy mac and cheese succeeds because every component is built with purpose. The béchamel sauce, a proper roux of butter and flour cooked out for a full minute before the milk goes in, creates a stable, lump-free base that holds the cheese in suspension without breaking or turning oily. Warming the milk before adding it dramatically speeds up the thickening process and reduces the risk of lumps, which is a small step with a large payoff.

The cheese blend is the second reason this Baked Mac and Cheese recipe works so well. Gruyere brings a rich, nutty savoriness that deepens the sauce far beyond what a single-cheese approach achieves. Mozzarella adds stretch and a mild creaminess that balances the stronger gruyere. Together, they produce a sauce that is genuinely layered in flavor rather than simply salty. If you enjoy crockpot mac and cheese or other cheesy baked dishes, you already know how much the quality of cheese matters to the finished result.

Finally, the panko topping solves the one problem most baked mac and cheese recipes face: a crust that turns soggy rather than crisp. Panko breadcrumbs are larger and lighter than standard dried breadcrumbs, so they toast up to a genuinely crunchy golden layer in 25 minutes without absorbing excess moisture from the sauce. The result is a textural contrast, crunchy crust, creamy interior, that makes every bite of this best mac and cheese far more satisfying than a stovetop version alone.

Baked Mac and Cheese Ingredients

IngredientQuantityNotes / Alternatives
Elbow macaroni250g / 8 ozCavatappi or medium shells also work well
Unsalted butter (pasta)1 tbsp (15g)2 tsp neutral oil works as a substitute
Panko breadcrumbs2/3 cupStandard dried breadcrumbs work but are less crispy
Unsalted butter, melted (topping)2 tbsp (30g)No substitution recommended for the topping
Salt (topping)1/4 tsp
Unsalted butter (sauce)4 tbsp (60g)Must be unsalted for salt control
Plain all-purpose flour1/3 cupDo not use self-raising flour
Milk, warmed3 cupsFull fat gives creamiest results; low fat works
Gruyere cheese, freshly shredded2 cupsAged cheddar or Colby are the best alternatives
Mozzarella, freshly shredded1 cupAdditional gruyere or cheddar can substitute
Salt (sauce)3/4 tspAdjust to taste after adding cheese
Garlic powder (optional)1 tspFresh minced garlic also works, add with the flour
Onion powder (optional)1/2 tsp
Mustard powder (optional)1/2 tspDijon mustard (1/2 tsp) is a great alternative

Mise en Place and Prep Steps

  1. Measure and set out all ingredients before turning on the stove.
  2. Warm the 3 cups of milk in a small saucepan over low heat or in the microwave until steaming, do not boil. Set aside.
  3. Shred the gruyere and mozzarella using a box grater. Keep them in separate piles or combine them in one bowl, either works.
  4. Measure the flour, salt, garlic powder, onion powder, and mustard powder into small prep bowls so they are ready to add without hesitation.
  5. Combine panko breadcrumbs, melted butter, and 1/4 tsp salt in a small bowl. Toss together and set aside.
  6. Grease your baking dish (if not using an ovenproof skillet) with a little butter to prevent sticking.
  7. Bring a large pot of well-salted water to a boil for the pasta.

How To Make Baked Mac and Cheese Step-by-Step

Step 1: Cook the Pasta

  1. Add macaroni to the boiling salted water and cook according to package directions, but pull it out exactly 1 minute early.
  2. Drain the pasta thoroughly in a colander.
  3. Return drained pasta to the pot, add 1 tbsp butter, and toss until the butter coats every piece.
  4. Set pasta aside to cool slightly while you build the sauce, cooling prevents the sauce from thinning when combined.

Step 2: Make the Cheese Sauce

  1. Preheat your oven to 180°C / 350°F now so it is ready when you need it.
  2. Melt 4 tbsp butter in a large saucepan or ovenproof cast iron skillet over medium heat.
  3. Add the flour and stir constantly with a wooden spoon for exactly 1 minute, this cooks out the raw flour taste and builds the roux base.
  4. Pour in about 1 cup of the warmed milk and whisk vigorously to dissolve the roux into a smooth paste.
  5. Add the remaining 2 cups of warmed milk and whisk until completely lump-free. Switch to a whisk at this stage if any lumps appear.
  6. Add the salt, garlic powder, onion powder, and mustard powder. Stir to combine.
  7. Cook over medium heat, stirring regularly with a wooden spoon or whisk, for 5 to 8 minutes until the sauce thickens to a cream-like consistency. You know it is ready when you can draw a clean finger-line through the sauce coating the back of a spoon and the line holds.
  8. Remove the saucepan from the heat completely before adding the cheese, this is critical for a smooth, non-grainy sauce.
  9. Add the shredded gruyere and mozzarella and stir until just combined. The residual heat will melt the cheese perfectly.
  10. Taste the sauce and adjust salt if needed. If you used gruyere as recommended, additional salt is usually not necessary.

Step 3: Assemble and Bake

  1. Pour the cheese sauce into the pot of buttered macaroni and stir quickly to coat every piece of pasta evenly.
  2. Transfer the sauced macaroni to your baking dish, or keep it in the ovenproof skillet if that is what you used for the sauce.
  3. Sprinkle the panko topping evenly over the entire surface in a single layer.
  4. Bake uncovered for 25 minutes, or until the top is light golden and the edges are visibly bubbling.
  5. Remove from the oven and let it rest for 3 to 5 minutes before serving, this allows the sauce to settle and thicken slightly.
  6. Garnish with a small amount of fresh parsley if desired and serve immediately.
Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
baked mac and cheese recipe

Baked Mac and Cheese


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

  • Author: Abra Recipes
  • Total Time: 45 minutes
  • Yield: 6 servings
  • Diet: Vegetarian

Description

Baked mac and cheese is the ultimate comfort dish, elbow macaroni folded into a rich, creamy gruyere and cheddar béchamel sauce, topped with a golden, buttery panko crust and baked until bubbling. This best homemade mac and cheese recipe comes together in 45 minutes and delivers restaurant-quality results every single time.


Ingredients

  • 250g / 8 oz macaroni (elbow pasta)
  • 1 tbsp (15g) unsalted butter (or 2 tsp oil), for tossing pasta
  • Topping: 2/3 cup panko breadcrumbs, 2 tbsp (30g) unsalted butter (melted), 1/4 tsp salt
  • Sauce: 4 tbsp (60g) unsalted butter, 1/3 cup plain all-purpose flour, 3 cups milk (warmed, low or full fat), 2 cups freshly shredded gruyere (or cheddar/Colby), 1 cup freshly shredded mozzarella cheese, 3/4 tsp salt
  • Optional Seasonings: 1 tsp garlic powder, 1/2 tsp onion powder, 1/2 tsp mustard powder


Instructions

  1. Cook the Pasta: Bring a large pot of water to a boil. Add macaroni and cook per packet directions minus 1 minute (it will finish cooking in the oven).
  2. Toss in Butter: Drain pasta, return to pot, add 1 tbsp butter, and toss until melted. Set aside to cool while you make the sauce.
  3. Mix the Topping: Combine panko breadcrumbs, melted butter, and salt in a small bowl. Set aside.
  4. Preheat the Oven: Preheat oven to 180°C/350°F.
  5. Make the Roux: In a large saucepan or ovenproof skillet, melt 4 tbsp butter over medium heat. Add flour and cook, stirring constantly, for 1 minute.
  6. Add Milk: Pour in about 1 cup of the warmed milk and whisk to dissolve the roux. Add remaining milk and whisk until completely lump-free.
  7. Season the Sauce: Add salt, garlic powder, onion powder, and mustard powder. Stir to combine.
  8. Thicken the Sauce: Cook, stirring regularly, for 5–8 minutes until the sauce coats the back of a wooden spoon and you can draw a clean line through it with your finger.
  9. Add Cheese: Remove from heat. Add gruyere and mozzarella and stir — the residual heat will melt it perfectly without breaking the sauce.
  10. Assemble: Pour sauce over the cooked macaroni. Stir quickly to coat every piece, then transfer to your baking dish or keep in the skillet. Sprinkle panko topping evenly over the surface.
  11. Bake: Bake for 25 minutes or until the top is light golden and the edges are bubbling. Do not overbake or the sauce will dry out.
  12. Serve: Serve immediately, garnished with a little fresh parsley if desired.

Notes

Always shred cheese fresh from the block, pre-shredded cheese contains anti-caking agents that prevent smooth melting. Cook pasta 1 minute less than the package states so it does not turn mushy in the oven. For a make-ahead version, assemble without the topping, refrigerate overnight, add topping just before baking, and add 5–10 extra minutes to the bake time.

  • Prep Time: 15 minutes
  • Cook Time: 30 minutes
  • Category: Main Dish
  • Method: Baking
  • Cuisine: American

Chef Tips for Perfect Baked Mac and Cheese Results

  • Use room-temperature or warmed milk: Cold milk added to a hot roux causes the sauce to tighten unevenly and dramatically increases the risk of lumps. Warming the milk first keeps everything smooth and speeds up thickening.
  • Never add cheese over direct heat: Bringing cheese to a boil causes the proteins to seize and separate, leaving you with a greasy, grainy sauce. Always remove the pan from the heat before stirring in the cheese.
  • Grate cheese yourself: This step is non-negotiable for creamy mac and cheese. Block cheese melts cleanly into the sauce; bagged pre-shredded cheese does not, due to the starch coatings manufacturers add to prevent clumping.
  • Undercook the pasta intentionally: One minute less than the package says is the target. The pasta continues to absorb the sauce during baking, and properly undercooked pasta stays firm and distinct rather than bloated and mushy.
  • Do not overbake: 25 minutes at 180°C is the sweet spot. Every additional minute in the oven evaporates more moisture from the sauce and can turn your creamy baked macaroni and cheese into a dry, stiff casserole.
  • Rest before serving: Three to five minutes of resting after coming out of the oven lets the sauce thicken back to its ideal scoopable consistency and makes serving neater.

Common Mistakes to Avoid

MistakeWhy It HappensHow to Fix It
Grainy or broken cheese sauceCheese was added while the pan was still on direct heat, causing protein separationRemove pan from stove completely before adding cheese; stir in off the heat
Lumpy béchamelCold milk was added too quickly to the roux without whiskingWarm the milk first and add in two stages, whisking vigorously between each addition
Mushy, overcooked pastaPasta was cooked to full doneness before bakingAlways cook pasta 1 minute less than the package directions specify
Dry, tight final dishBaked too long or the oven temperature was too highStick to 25 minutes at 180°C and check the edges, bubbling edges mean it is done
Bland, flat-tasting sauceRelying on a single cheese or skipping the optional seasoningsUse a cheese blend (gruyere plus mozzarella at minimum) and add mustard powder and garlic powder, they amplify the cheese flavor without being detectable on their own

Variations and Substitutions

IngredientSubstitutionImpact on Flavor
GruyereSharp aged cheddar or ColbyLess nutty and complex; still very good and more budget-friendly
MozzarellaProvolone or fontinaFontina adds richness; provolone brings mild sharpness
Elbow macaroniCavatappi, medium shells, or penneCavatappi holds sauce particularly well inside its ridges
Panko breadcrumbsRegular dried breadcrumbsLess crunch; topping will be denser and slightly chewier
Mustard powder1/2 tsp Dijon mustardNearly identical effect, adds subtle sharpness that brings out the cheese
Full-fat milkLow-fat milk or evaporated milkEvaporated milk produces an even richer sauce; low-fat milk works but is slightly thinner
Garlic powder2 fresh minced garlic cloves (cooked with the roux)Fresh garlic is more aromatic and assertive; adds slight sweetness when sautéed

Serving Suggestions and Pairings

This oven baked mac and cheese works as a complete main dish or as a rich side, depending on the occasion. For a weeknight dinner, serve it alongside a crisp green salad or roasted cauliflower to cut through the richness of the cheese sauce. The contrast of something light and vegetable-forward next to this creamy baked macaroni and cheese makes the meal feel balanced rather than heavy.

For a casual gathering or game-day spread, pair this best mac and cheese with air fryer chicken wings and a simple coleslaw. The combination covers every flavor note, crunchy, creamy, tangy, and savory, without any one dish overwhelming the others. Baked mac and cheese also makes a stunning side dish for holiday tables, holding up beautifully alongside a classic roasted turkey breast or braised short ribs.

For kid-friendly occasions, serve it straight from the skillet with a side of sliced tomatoes. The visual drama of a bubbling cast iron dish at the table is half the appeal. For adults, a sprinkle of smoked paprika or a few drops of hot sauce on individual portions adds a welcome heat note that the base recipe intentionally leaves optional.

Storage and Reheating for Easy Baked Mac and Cheese

MethodDurationInstructionsIndicators of Quality
RefrigeratorUp to 4 daysStore in an airtight container or cover the baking dish tightly with plastic wrapSauce will firm up when cold, that is normal and expected
FreezerUp to 2 monthsFreeze in individual portions in sealed freezer-safe containers; thaw overnight in the refrigerator before reheatingTexture is slightly softer after freezing but flavor is well preserved
Oven reheating20 minutes at 160°C / 325°FAdd 2 to 3 tablespoons of milk over the surface before covering with foil and reheating; remove foil for the last 5 minutes to re-crisp the toppingSauce should return to a creamy, pourable consistency
Microwave reheating2 to 3 minutes on medium powerAdd a splash of milk, cover loosely, and stir halfway throughBest for single portions; topping will soften but flavor is unchanged

Nutritional Information for Baked Mac and Cheese

Approximate values per serving (1/6 of the full Baked Mac and Cheese recipe).

NutrientAmount per Serving
Calories487 kcal
Carbohydrates44g
Protein21g
Total Fat26g
Saturated Fat15g
Cholesterol72mg
Sodium620mg
Fiber2g
Sugar6g
Calcium480mg

The Easy Baked Mac and Cheese Recipe

Baked mac and cheese at this level is proof that simple, well-executed technique always wins over complicated shortcuts.

A proper béchamel, freshly grated gruyere, carefully undercooked pasta, and 25 minutes in a hot oven produce a dish with a golden, crunchy crust and a sauce so rich and creamy it pulls back with every spoonful.

Make it once with this best homemade mac and cheese recipe, and the boxed version will never cross your mind again.

Follow me on PINTEREST for all of my latest blog posts, videos, and recipes.

FAQs About Baked Mac and Cheese

How to make really good baked mac and cheese?

The single biggest factor in making really good baked mac and cheese is using a proper béchamel sauce base rather than shortcuts like cream cheese or condensed soup. Cook your roux for a full minute, warm your milk before adding it, and always remove the pan from the heat before stirring in the cheese. Undercooking your pasta by one minute before baking keeps the texture firm and prevents a mushy final result.

What are the three best cheeses for mac and cheese baked?

Gruyere is the top choice for baked mac and cheese because of its exceptional meltability and rich, nutty flavor that gives the sauce real depth. Sharp aged cheddar brings bold, tangy sharpness and is the most widely available option. Mozzarella rounds out the blend by adding stretch and a clean, creamy mildness that balances the stronger flavors of the other two cheeses. Avoid cheeses with very low fat content, as they tend to produce oily, separated sauces when baked.

What president brought macaroni to America?

Thomas Jefferson is widely credited with popularizing macaroni in America after encountering pasta during his time in Europe as the U.S. Minister to France in the 1780s. He reportedly brought a pasta machine back to the United States and served macaroni dishes at Monticello and even at state dinners. Historical records indicate he had a recipe that closely resembled what we now recognize as a baked macaroni dish, which many food historians cite as an early ancestor of the beloved baked mac and cheese we know today.

Can I make creamy baked macaroni and cheese ahead of time?

Yes, this Baked Mac and Cheese recipe is well-suited to make-ahead preparation. Assemble everything, sauce combined with pasta in the baking dish, but hold off on adding the panko topping. Cover tightly with plastic wrap and refrigerate for up to 24 hours. When ready to bake, add the topping cold and bake at 180°C for 30 to 35 minutes, since the dish will be starting from a cold temperature.

Why is my baked mac and cheese dry after baking?

Dryness after baking almost always means either overbaking or insufficient sauce relative to pasta. Stick to exactly 25 minutes and check the edges, visible bubbling is your signal to pull it out. If you find your version consistently dries out, add an extra quarter cup of milk to the sauce before assembling, which gives a little extra buffer during the bake. You can also check out this chicken broccoli rice casserole for another well-sauced baked dish technique.

Can I use different pasta shapes for oven baked mac and cheese?

Elbow macaroni is traditional and works perfectly, but cavatappi and medium shells are the two best alternatives because their shapes trap more sauce inside with every bite. Avoid long pasta like spaghetti or fettuccine, as they do not hold sauce well in a baked casserole format. Penne works in a pinch but produces a slightly less creamy mouthfeel than the hollow, curly shapes that are purpose-built for this type of dish.

Leave a Comment

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star