This tested homemade mac and cheese is made on the stovetop in about 25 minutes, with a silky sharp cheddar sauce that clings to every noodle. It needs one pot for the sauce, one for the pasta and pantry spices you already have.
The secret is a simple butter and flour roux, milk added a little at a time, and cheese stirred in off the heat. That order keeps the sauce smooth and creamy instead of grainy or greasy.
Homemade Mac and Cheese at a Glance
| Serves | 4 (about 1¼ cups each) |
| Prep time | 5 minutes |
| Cook time | 20 minutes |
| Pots | A pot for the pasta and a medium saucepan for the sauce |
| Cheese | 2½ cups shredded sharp cheddar |
| Sauce is ready when | It coats the back of a spoon, like heavy cream |
| Optional | Bake at 350°F for 15 minutes for a golden top |
Why This Stovetop Mac and Cheese Works
- A roux for body. Cooking butter and flour together for a minute gives the sauce structure, so the cheese melts in smoothly and stays creamy.
- Milk goes in slowly. Adding it a few tablespoons at a time and letting each splash thicken prevents lumps.
- Cheese is added off the heat. Gentle residual heat melts the cheddar without letting the sauce boil, which is what makes cheese sauce grainy.
- Sharp cheddar, shredded from a block. It brings bold flavor, and freshly shredded cheese melts far smoother than bagged shreds.
- A little hot sauce. Half a teaspoon adds tang, not heat, and makes the cheese taste cheesier.
Ingredient Notes
- Elbow macaroni: 8 ounces uncooked. Shells or cavatappi work too.
- Butter and flour: 3 tablespoons of each for the roux.
- Whole milk: 2 cups. Whole milk gives the creamiest sauce; lower-fat milk makes it thinner.
- Sharp cheddar: 2½ cups (about 10 ounces), shredded from a block. Medium cheddar is milder; Monterey Jack, Colby or Gouda also melt well.
- Seasonings: ½ teaspoon each of onion powder, garlic powder and paprika, ¾ teaspoon salt and ¼ teaspoon black pepper.
- Hot sauce: ½ teaspoon. Swap in ½ teaspoon Dijon mustard if you prefer.

How to Make Homemade Mac and Cheese, Step by Step
1. Cook the pasta
Boil the macaroni in salted water for 7 to 8 minutes, until tender with a slight bite. Drain it and set it aside while you make the sauce.
2. Make the roux
Melt the butter in a medium saucepan over medium heat. Whisk in the flour, and once it starts to bubble, keep whisking for about 1 minute.

3. Whisk in the milk
Add the milk a few tablespoons at a time, whisking constantly and letting each addition thicken before you add more. Once it is all in, keep whisking over medium heat for about 5 minutes, until the sauce gently simmers and coats the back of a spoon like heavy cream.

4. Season and melt in the cheese
Turn off the burner. Whisk in the onion powder, garlic powder, paprika, salt, pepper and hot sauce. Add the cheddar a handful at a time, stirring until each addition melts before adding the next. If the sauce cools too much, warm it briefly on low, but never let it boil.

5. Stir in the pasta
Add the drained macaroni and stir until every noodle is coated. The pasta keeps absorbing sauce and thickens as it sits, so serve it right away.

Why Cheese Sauce Turns Grainy (and How to Avoid It)
Cheese sauce turns grainy when the cheese gets too hot and its proteins squeeze out fat. That is why the cheese goes in with the burner off, a handful at a time. Bagged shredded cheese is the other common cause: it is coated with anti-caking powder that keeps it from melting smoothly. Shredding a block takes two minutes and makes the biggest difference in this homemade mac and cheese.
Baked Mac and Cheese Option
For a golden, bubbly top, heat the oven to 350°F. Spread the finished mac and cheese in a casserole dish, sprinkle extra shredded cheese over the top and bake for 15 minutes. For a crispy top, broil for a few minutes at the end and watch it closely so it does not burn.
Best Cheese for Mac and Cheese
| Cheese | Flavor | Melt |
|---|---|---|
| Sharp cheddar | Bold and tangy | Smooth when shredded from a block |
| Medium cheddar | Milder, kid-friendly | Very smooth |
| Monterey Jack or Colby | Buttery and mild | Extra creamy |
| Gouda | Nutty and rich | Silky |
What to Serve With Mac and Cheese
Creamy mac and cheese is a classic side for holiday dinners and weeknights. Serve it next to this crockpot ham, a classic meatloaf or roasted pork tenderloin, with green beans or a simple salad. For a cozy dessert, follow it with a sweet potato pie or a batch of snickerdoodle cookies.

Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Grainy sauce | Sauce boiled after the cheese went in, or bagged cheese | Add cheese off the heat and shred it from a block |
| Lumpy sauce | Milk added too fast | Add milk a few tablespoons at a time, whisking constantly |
| Sauce too thin | Not simmered long enough | Whisk over medium heat until it coats a spoon |
| Sauce too thick | Extra cheese or it sat too long | Stir in a splash of warm milk |
| Bland flavor | Mild cheese or under-seasoned | Use sharp cheddar, add salt, hot sauce or a pinch of mustard powder |
| Mushy pasta | Overcooked | Boil just 7 to 8 minutes, with a slight bite |
Storage and Reheating
- Make ahead: shred the cheese and measure the spices ahead so the sauce comes together fast.
- Fridge: keep leftovers in an airtight container for 3 to 4 days.
- Reheat: warm in 30-second bursts in the microwave or gently on the stove, adding a splash of milk to bring back the creamy sauce.
- Freezing: not recommended. The sauce can separate and the pasta turns soft.
Homemade Mac and Cheese FAQ
What is the best cheese for homemade mac and cheese?
Sharp cheddar shredded from a block gives the boldest flavor and smoothest sauce. Mix in Monterey Jack, Colby or Gouda for extra creaminess.
Why is my mac and cheese grainy?
The sauce got too hot after the cheese was added, or the cheese was pre-shredded. Add cheese off the heat and shred it yourself.
Can I use pre-shredded cheese?
It works in a pinch, but its anti-caking coating can make the sauce grainy. Block cheese melts much smoother.
Can I make stovetop mac and cheese ahead?
It is best fresh. Leftovers reheat well with a splash of milk; prep the cheese and spices ahead to save time.
Can I bake this mac and cheese?
Yes. Top it with extra cheese and bake at 350°F for 15 minutes, then broil for a crispy top if you like.
Can I halve the recipe?
Yes. Halve every ingredient for two servings; the cooking times stay about the same.

Homemade Mac and Cheese
Ingredients
Method
- Boil the macaroni in salted water for 7 to 8 minutes, until tender with a slight bite. Drain and set aside.
- Melt the butter in a medium saucepan over medium heat. Whisk in the flour and, once it bubbles, keep whisking for about 1 minute.

- Whisk in the milk a few tablespoons at a time, letting each addition thicken before adding more.
- Keep whisking over medium heat for about 5 minutes, until the sauce gently simmers and coats the back of a spoon like heavy cream.

- Turn off the heat. Whisk in the onion powder, garlic powder, paprika, salt, pepper and hot sauce.
- Add the cheddar a handful at a time, stirring until each addition melts. Warm briefly on low if needed, but do not let it boil.

- Stir in the drained macaroni until coated and serve right away.

Notes
- Ingredients 11
- Steps 7
- Protein 28 g per serving
Nutrition Facts
Amount per serving (recipe makes 4 servings)
- Total Fat 37 g47%
- Saturated Fat 21 g105%
- Cholesterol 105 mg35%
- Sodium 1047 mg46%
- Total Carbohydrate 56 g20%
- Dietary Fiber 2.2 g8%
- Sugars 8.1 g
- Protein 28 g56%
* Percent Daily Values are based on a 2,000 calorie diet. Nutrition is calculated per serving from the ingredients listed in this recipe.
Love this recipe? Save it for later!