How To Cook Macaroni And Cheese : Baked Cheese Sauce Pasta

A classic macaroni and cheese sauce begins with a roux made from butter and flour. If you want to know exactly how to cook macaroni and cheese that is creamy, cheesy, and never grainy, this guide walks you through every step.

You do not need a boxed mix. With a few simple ingredients, you can make a homemade version that tastes much better. Let’s get started.

Why Homemade Macaroni And Cheese Is Better

Store-bought mac and cheese often has a powdery sauce that can be thin or pasty. Homemade sauce uses real cheese, milk, and butter. The flavor is richer and the texture is smooth.

You also control the salt and the type of cheese. Sharp cheddar, gouda, or even a mix of cheeses work well. Plus, you can add toppings like breadcrumbs or bacon if you like.

Ingredients You Will Need

Before you start, gather these items. This recipe makes about 4 servings.

  • 8 ounces (about 2 cups) elbow macaroni or similar pasta
  • 3 tablespoons unsalted butter
  • 3 tablespoons all-purpose flour
  • 2 cups whole milk (warm is best)
  • 1 cup heavy cream (optional, for extra richness)
  • 2 cups shredded sharp cheddar cheese
  • 1/2 cup shredded mozzarella or Monterey Jack
  • 1/2 teaspoon salt (plus more for pasta water)
  • 1/4 teaspoon black pepper
  • 1/4 teaspoon paprika (optional)
  • 1/2 cup panko breadcrumbs (for topping, optional)

You can swap the cheese types. Just avoid pre-shredded cheese because it has anti-caking agents that stop it from melting smoothly.

How To Cook Macaroni And Cheese: Step-By-Step

Step 1: Boil The Pasta

Fill a large pot with water. Add a generous pinch of salt. Bring it to a rolling boil.

Add the macaroni and cook according to the package directions, usually 7 to 9 minutes. You want it al dente, which means firm to the bite. Overcooked pasta gets mushy in the sauce.

Drain the pasta in a colander. Do not rinse it. Rinsing removes starch that helps the sauce stick.

Step 2: Make The Roux

In the same pot or a medium saucepan, melt the butter over medium heat. Once it is fully melted and bubbly, add the flour.

Whisk constantly for about 1 to 2 minutes. The mixture should turn a light golden color and smell slightly nutty. This is your roux.

Do not let it burn. If it turns brown, start over. Burnt roux tastes bitter.

Step 3: Add The Milk And Cream

Slowly pour in the warm milk while whisking. Keep whisking to prevent lumps. Then add the heavy cream if using.

Continue stirring until the mixture thickens. This takes about 3 to 5 minutes. It should coat the back of a spoon.

If you see lumps, whisk vigorously. A few small lumps are okay, but smooth is better.

Step 4: Add The Cheese

Reduce the heat to low. Add the shredded cheddar and mozzarella a handful at a time. Stir gently until each addition melts completely.

Do not boil the sauce after adding cheese. High heat can cause the cheese to separate and become greasy.

Season with salt, pepper, and paprika. Taste and adjust if needed.

Step 5: Combine Pasta And Sauce

Pour the drained macaroni into the pot with the cheese sauce. Stir gently until every piece is coated.

If the sauce seems too thick, add a splash of milk. If it is too thin, let it cook on low for another minute.

Step 6: Optional Baking

If you want a crunchy top, preheat your oven to 375°F (190°C). Transfer the mac and cheese to a greased baking dish.

In a small bowl, mix the panko breadcrumbs with 1 tablespoon melted butter. Sprinkle over the top.

Bake for 15 to 20 minutes, until bubbly and golden. Let it rest for 5 minutes before serving.

Common Mistakes And How To Fix Them

Grainy Sauce

Grainy sauce happens when the cheese gets too hot or when you use pre-shredded cheese. Always shred your own cheese and keep the heat low.

Runny Sauce

If your sauce is thin, you may have added too much milk or not cooked the roux long enough. Let the sauce simmer a bit longer to thicken.

Lumpy Roux

Lumps form when you add cold milk to hot roux. Use warm milk and whisk constantly. If lumps appear, strain the sauce through a fine mesh sieve.

Pasta Too Soft

Cook the pasta al dente. It will continue to cook slightly in the hot sauce, especially if you bake it.

Variations To Try

Bacon Mac And Cheese

Cook 4 slices of bacon until crispy. Crumble and stir into the finished dish. Reserve some for topping.

Spicy Mac And Cheese

Add 1/2 teaspoon cayenne pepper or a diced jalapeño to the sauce. Use pepper jack cheese for extra heat.

Veggie Mac And Cheese

Steam broccoli, cauliflower, or peas. Fold them into the pasta before adding sauce.

Gluten-Free Version

Use gluten-free pasta and a gluten-free flour blend for the roux. Check that your cheese is also gluten-free.

Storing And Reheating Leftovers

Store leftover mac and cheese in an airtight container in the fridge for up to 4 days.

To reheat, add a splash of milk and warm it in a saucepan over low heat. Stir often. You can also microwave it in 30-second intervals, stirring between each.

For baked leftovers, reheat in the oven at 350°F for about 10 minutes. Cover with foil to prevent drying out.

Frequently Asked Questions

Can I Use Pre-shredded Cheese?

You can, but the sauce may be less smooth. Pre-shredded cheese has cellulose that stops clumping but also hinders melting. For best results, shred your own.

Why Did My Cheese Sauce Turn Stringy?

Stringy sauce usually means the cheese was cooked at too high a temperature or for too long. Always melt cheese on low heat and remove from heat once melted.

Can I Freeze Macaroni And Cheese?

Yes, but the texture may change. Freeze it in a freezer-safe container for up to 3 months. Thaw in the fridge overnight and reheat with a little extra milk.

What Is The Best Cheese For Mac And Cheese?

Sharp cheddar is the classic choice. For extra creaminess, mix in a bit of mozzarella, gouda, or cream cheese. Avoid very hard cheeses like parmesan alone.

How Do I Make It Without Heavy Cream?

Use all milk instead of cream. The sauce will be slightly less rich but still creamy. You can also use evaporated milk for a similar texture.

Tips For The Perfect Mac And Cheese Every Time

  • Shred your own cheese. It melts much better.
  • Warm the milk before adding it to the roux. Cold milk can cause lumps.
  • Do not overcook the pasta. Al dente is key.
  • Season the pasta water well. It adds flavor from the inside.
  • Let the dish rest for a few minutes after baking. It sets the sauce.

Macaroni and cheese is a comfort food that anyone can master. With these steps, you will get a creamy, flavorful dish every time. Whether you serve it straight from the stovetop or bake it with a crispy topping, it is sure to please.

Now you know exactly how to cook macaroni and cheese from scratch. No box needed. Just butter, flour, milk, cheese, and a little patience.

Try this recipe for your next dinner or family gathering. It is simple, satisfying, and always a hit.