Homemade Mac and Cheese from Scratch - Easy Creamy Recipe

On 2/21/2026, 6:16:10 AM

Make the best homemade mac and cheese from scratch with this easy recipe. Creamy cheese sauce, tender pasta, and crispy topping options for comfort food perfection.

Table of Contents

Homemade mac and cheese requires just a few basics: pasta, block cheese, butter, flour, and milk. A roux-based sauce delivers the creamiest results when you cook butter and flour together, add warm milk slowly, then stir in cheese off the heat. Stovetop methods take 15-25 minutes and stay loose and creamy. Baked versions need 35-75 minutes but give you that golden crispy top. Grate your own cheese from a block—pre-shredded bags contain anti-caking agents that make sauce grainy. Use whole milk for richness. Season generously and don't rush the roux. Customize with proteins like bacon or chicken, add vegetables, or try different cheese blends for variety.

Question

Answer

Why should I use block cheese instead of pre-shredded?

Pre-shredded cheese contains anti-caking agents that prevent smooth melting and create a grainy sauce.

What is the difference between stovetop and baked mac and cheese?

Stovetop takes 15-25 minutes with a creamy loose texture while baked takes 35-75 minutes with a thick set texture and crispy top.

Why does my cheese sauce get lumpy?

Lumps form when you add cold milk too fast or add cheese while the sauce is still over heat.

How long should I cook the roux?

Cook the butter and flour mixture for 3-5 minutes until it smells nutty to remove the raw flour taste.

Should I undercook pasta for baked mac and cheese?

Yes, cook pasta 1-2 minutes less than package directions since it finishes cooking in the oven.

Essential ingredients you need for homemade mac and cheese

Homemade mac and cheese from scratch beats boxed versions every time. You only need a handful of basic ingredients to make it happen.

Pasta

Elbow macaroni is the classic choice. One 16-ounce box serves 6-8 people. Other short pastas work too—penne, ziti, shells, or spirals all catch cheese sauce well.

Cheese

Sharp cheddar is the go-to for flavor. Block cheese melts better than pre-shredded bags. Pre-shredded has anti-caking agents that make sauce grainy.

  • Cheddar—classic, sharp flavor
  • Gruyère—excellent melting, nutty taste
  • Monterey Jack—creamy and mild
  • Mozzarella—stretchy, mild
  • Parmesan—salty depth

For the Cheese Sauce

A roux-based sauce needs just three items:

Ingredient

Amount

Purpose

Butter

1/4 cup

Base for roux

All-purpose flour

1/4 cup

Thickener

Whole milk

3-4 cups

Creamy liquid base

Seasonings

Salt and pepper are must-haves. These optional additions boost flavor:

  • Dry mustard powder—adds depth without heat
  • Garlic powder—subtle savory note
  • Onion powder—mild sweetness
  • Paprika—color and mild spice
  • Hot sauce—kick of heat

For Baked Versions

Extra cheese for the top creates that golden crust. Breadcrumbs mixed with melted butter add crunch. An egg stirred into the sauce makes it richer and helps it set.

See our simple homemade mac and cheese recipe for a basic starter version or try this 5-ingredient mac and cheese for minimal effort.

How to make creamy cheese sauce from a roux base

A roux is butter and flour cooked together. It thickens milk into a smooth sauce base.

Step-by-Step Roux Method

  • Melt butter in a saucepan over medium heat. Don't let it brown.
  • Whisk in flour. Stir constantly for 3-5 minutes until it smells nutty.
  • Slowly pour in milk while whisking. Add about 1/2 cup at a time.
  • Keep whisking until smooth between additions.
  • Cook 7-10 minutes until sauce coats the back of a spoon.
  • Remove from heat. Stir in cheese one handful at a time.

Common Mistakes to Avoid

  • Adding milk too fast—creates lumps
  • High heat—scorches the sauce
  • Cold milk—makes roux seize up
  • Pre-shredded cheese—won't melt smooth
  • Adding cheese over heat—can separate

Consistency Guide

Sauce Stage

What to Look For

Finished roux

Pale yellow, bubbling gently

Ready for cheese

Coats spoon, leaves trail when you run finger through

Done sauce

Smooth, velvety, no graininess

Warm milk helps prevent lumps. Microwave it for 30 seconds or let it sit at room temperature first.

For a shortcut version without making a roux, try this 3-ingredient homemade mac and cheese or our creamy stovetop recipe.

Stovetop versus baked mac and cheese methods compared

Both methods use the same cheese sauce. The difference is time, texture, and effort.

Quick Comparison

Factor

Stovetop

Baked

Total time

15-25 minutes

35-75 minutes

Texture

Creamy, loose

Thick, set

Top layer

Soft, cheesy

Crispy, golden

Effort

One pot

Multiple dishes

Best for

Weeknight dinners

Holidays, gatherings

Stovetop Method

Cook pasta, drain, make sauce in same pot, combine. Done in under 30 minutes. Sauce stays creamy and loose. No oven needed.

  • Fastest option for weeknights
  • Less cleanup—one pot
  • Serve immediately after mixing
  • Sauce stays velvety and pourable

Baked Method

Make sauce and pasta separately. Combine in a baking dish. Top with extra cheese and breadcrumbs. Bake at 350-425°F for 20-30 minutes.

  • Golden, crispy topping
  • Sauce sets and firms up
  • Feeds a crowd easily
  • Make ahead and refrigerate before baking

Which to Choose

Stovetop wins for speed and minimal cleanup. Baked wins for presentation and that crispy crust. Both taste equally good when made with quality cheese.

Try our stovetop mac and cheese recipe for quick dinners. For gatherings, this baked mac and cheese for large groups feeds a crowd.

Pro tips for the creamiest mac and cheese every time

Small details make the difference between good and great mac and cheese.

Use Block Cheese

Grate cheese yourself from a block. Pre-shredded bags contain potato starch and anti-caking agents. These prevent smooth melting. Block cheese melts into a velvety sauce every time.

Milk Matters

  • Whole milk—best balance of richness and texture
  • Half-and-half—extra creamy, richer result
  • Heavy cream—very rich, use sparingly
  • Low-fat milk—avoid, won't thicken properly

Pasta Tips

Salt the pasta water generously—it should taste like the ocean. This is your only chance to season the noodles themselves. For baked versions, undercook by 1-2 minutes. The pasta absorbs sauce and finishes cooking in the oven.

Sauce Secrets

Tip

Why It Works

Remove from heat before adding cheese

Prevents separation and graininess

Add cheese in small batches

Ensures even melting

Stir in one direction

Creates smoother texture

Let baked mac rest 5-10 minutes

Allows sauce to set

Season Generously

Cheese needs salt to shine. Taste the sauce before combining with pasta. Add more salt, pepper, or mustard powder as needed. Bland sauce makes bland mac and cheese.

Don't Rush the Roux

Cook butter and flour for 3-5 minutes. The mixture should smell slightly nutty. This removes raw flour taste and activates thickening power.

For more guidance, see our best creamy mac and cheese recipe or this classic creamy version.

Delicious variations and add-ins to customize your dish

Basic mac and cheese works as a blank canvas. Add proteins, vegetables, or spices to make it your own.

Protein Add-Ins

  • Bacon—crispy crumbled on top or mixed in
  • Chicken—cooked, diced, perfect for main dish
  • Ground beef—turns it into hamburger mac
  • Ham—diced, adds salty richness
  • Tuna—makes a tuna casserole twist
  • Sausage—crumbled chorizo or Italian

Vegetable Mix-Ins

Vegetable

Best Method

Broccoli

Steam first, fold in before baking

Spinach

Fresh or frozen, wilts into hot sauce

Peas

Frozen, add at the end

Jalapeños

Pickled or fresh, adds heat

Tomatoes

Diced fresh or Rotel canned

Spice It Up

Hot sauce, Cajun seasoning, or paprika add kick. Mustard powder deepens cheese flavor without tasting like mustard. Garlic and onion powder add savory depth.

Cheese Variations

Swap cheddar for different flavor profiles:

  • Pepper Jack—spicy kick
  • Smoked gouda—smoky depth
  • Blue cheese—bold and tangy
  • Swiss—nutty and mild

Crunchy Toppings

Breadcrumbs mixed with melted butter create classic crunch. Crushed Ritz crackers add buttery flavor. Panko creates extra-crispy texture. Add shredded cheese on top for a golden crust.

Try our bacon mac and cheese or three-cheese mac and cheese for crowd favorites.