Food

How to Make Macaroni and Cheese (Stovetop and Baked)

By Hayride Live · Updated · 4 min read

The quickest way to make macaroni and cheese is on the stovetop: cook the pasta, stir in butter, milk, and shredded cheese until smooth, and serve. For a baked version with a golden crust, you’ll also mix in an egg and bake it in the oven. The method below covers both, starting with the stovetop version because it’s what most people mean when they search for a weeknight recipe.

What You Need Before You Start

Gather these basics before you turn on the heat. You’ll need 8 oz (about 2 cups) of elbow macaroni, 2 tbsp butter, 2 tbsp all-purpose flour, 1 ½ cups milk (whole or 2% works best), 2 cups (8 oz) shredded sharp cheddar cheese, ½ tsp salt, and ¼ tsp black pepper. For the baked version, add 1 large egg and ½ cup panko breadcrumbs. Shred the cheese yourself from a block—pre-shredded bagged cheese contains anti-caking agents that make the sauce grainier. Have a medium saucepan, a whisk, a colander, and a 2-quart baking dish (about 8×8 inches) ready.

Stovetop Mac and Cheese in 15 Minutes

This is the fastest route and gives you a creamy, saucy result. Use medium heat and stir often to avoid scorching the milk.

  1. Bring a large pot of salted water to a boil (about 2 quarts water + 1 tbsp salt). Add the macaroni and cook according to package directions, usually 7–8 minutes, until al dente (firm to the bite). Drain and set aside.
  2. In a medium saucepan over medium heat, melt the butter. Add the flour and whisk constantly for 1 minute—this cooks out the raw flour taste.
  3. Slowly pour in the milk while whisking. Keep whisking until the mixture thickens and just starts to bubble, about 3–4 minutes. It should coat the back of a spoon.
  4. Remove the pan from heat. Add the shredded cheese, salt, and pepper. Stir until the cheese is fully melted and the sauce is smooth.
  5. Add the drained macaroni to the sauce and stir to coat. Serve hot.

If the sauce seems too thick, stir in an extra splash of warm milk. If it’s too thin, let it sit for a minute—it thickens as it cools.

Baked Mac and Cheese With a Golden Crust

Baking adds a crunchy topping and a firmer, custard-like texture. The egg is what makes the baked version set up like a casserole instead of being loose. This takes about 35 minutes total.

  1. Preheat your oven to 375°F (190°C). Butter a 2-quart baking dish (8×8 inches).
  2. Cook the macaroni as above, drain, and set aside.
  3. Make the cheese sauce as in steps 2–4 of the stovetop method, but use only 1 ½ cups of milk and 2 cups of cheese.
  4. In a small bowl, beat the egg with a fork. Slowly add a few spoonfuls of the hot cheese sauce to the egg, whisking constantly—this “tempers” the egg so it doesn’t scramble when added.
  5. Stir the egg mixture back into the saucepan with the cheese sauce. Add the cooked macaroni and stir until everything is coated.
  6. Pour the mixture into the prepared baking dish. Sprinkle the panko breadcrumbs evenly over the top.
  7. Bake for 20–25 minutes, until the top is golden and the edges are bubbly. Let it rest for 5 minutes before serving—this helps it set so it slices cleanly.

For a richer topping, toss the breadcrumbs with 1 tbsp melted butter before sprinkling. For a sharper flavor, swap half the cheddar for Gruyère or Monterey Jack.

When It Goes Wrong: Fixes for Common Problems

Most mac and cheese problems happen in the sauce. Here’s what to do if your batch turns out grainy, runny, or bland.

Symptom Cause Fix
Grainy, gritty sauce Cheese added over high heat, or pre-shredded cheese with anti-caking agents Remove pan from heat before adding cheese; stir gently until just melted. Use block cheese shredded yourself.
Runny sauce Not enough flour, or sauce not cooked long enough Whisk the flour-butter mixture for a full minute, and cook the milk until it visibly thickens before adding cheese.
Bland taste Not enough salt, or mild cheese Add ¼ tsp more salt, or use sharp cheddar instead of mild. A pinch of mustard powder or paprika adds depth.
Baked version curdles Egg added directly to hot sauce Always temper the egg as in step 4 above—add hot sauce slowly to the egg while whisking.

How to Tell It Worked

For stovetop mac, the sauce should coat the pasta without pooling at the bottom of the pot. A spoon dragged through the sauce should leave a clear trail that slowly fills in. For baked mac, the top should be golden brown and the edges slightly crispy; a knife inserted in the center should come out clean, and the mixture should hold its shape when spooned out. Taste a noodle—it should be tender but still have a slight bite, not mushy.

Storage and Reheating

Leftovers keep in the fridge for 3–4 days in an airtight container. Reheat in the microwave in 30-second bursts, stirring between, or in a skillet over medium-low heat with a splash of milk to loosen the sauce. For baked mac, reheat in a 350°F (175°C) oven for 10–15 minutes, covered with foil to prevent the top from burning. You can freeze cooked mac and cheese for up to 2 months, but the sauce may separate slightly when thawed—stir in a little milk while reheating. Always refrigerate within 2 hours of cooking, and never leave it out longer than that.

Making It Your Own

Once you have the basic method, you can adjust it without changing the core steps. Add ½ cup of cooked, crumbled bacon or diced ham to the sauce before baking for a heartier dish. Stir in 1 cup of steamed broccoli florets for a vegetable version. For a spicy kick, add ¼ tsp cayenne or a few dashes of hot sauce with the seasonings. To make it gluten-free, use gluten-free pasta and swap the flour for cornstarch (use 1 tbsp cornstarch mixed with 2 tbsp cold milk, added to the hot milk). The sauce will be slightly less creamy but still smooth.

If you’re cooking for a crowd, double the recipe and use a 9×13-inch baking dish; increase the baking time to 30–35 minutes. The stovetop version can be made ahead and refrigerated, then reheated gently with extra milk—but it’s best fresh.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.