Pesto Mac and Cheese (Stovetop Upgrade Recipe)
For creamy pesto mac and cheese, cook 12 ounces of short pasta one minute shy of al dente, then make a smooth butter-and-flour sauce with warm milk. Take the pan off the heat before stirring in finely grated cheddar, Parmesan, and pesto. Fold in the pasta and add pasta water a tablespoon at a time until the sauce turns glossy.
What if dinner could taste fresh and rich without adding a baking dish to the sink? This stovetop method brings pesto’s basil-and-garlic flavor to classic mac and cheese while keeping the sauce smooth and the pasta tender. The key is simple: cook the pasta separately, keep the sauce at a gentle heat, and add the cheese and pesto off the burner.
In recipe testing, I find that a little control at the cheese stage matters more than complicated ingredients. A hard boil can turn a creamy sauce grainy or oily, while a splash of starchy pasta water can help it cling to the noodles. Here’s a reliable four-serving version, with clear steps for adjusting it to your stove and taste.
Why this stovetop method works
This recipe uses a flour-thickened milk sauce, often called a béchamel, as the base for the cheese. The flour helps the sauce coat the pasta, while warm milk makes it easier to whisk smooth. Adding cheese and pesto after removing the pan from the heat helps protect the sauce’s texture and the pesto’s fresh flavor.
A little preparation makes the process easier. Grate the cheese before the pasta is done, warm the milk, and set aside some pasta water before draining. Once the sauce is ready, work steadily; the dish comes together quickly.
Ingredients and cookware for four
The ingredients are everyday staples, but their size and temperature affect how the sauce comes together. Finely grated cheese melts faster than large shreds, and warm milk blends into the roux more smoothly than cold milk. Choose a nonreactive saucepan that gives you room to stir the finished pasta.
| Ingredient or tool | Amount or choice | Why it matters |
|---|---|---|
| Short pasta | 12 oz (340 g) | Elbows, shells, or cavatappi hold sauce well |
| Unsalted butter | 2 tbsp (28 g) | Forms the base of the roux |
| All-purpose flour | 2 tbsp (16 g) | Thickens the milk |
| Whole milk | 2 cups (475 ml), warmed | Makes a creamy sauce |
| Sharp cheddar | 1 cup (about 95 g), finely grated | Adds a bold cheese flavor |
| Parmesan | ½ cup (about 45 g), finely grated | Adds savory, salty depth |
| Basil pesto | ⅓ cup (80 g) | Stir in off heat for a fresh flavor |
| Pasta water | Reserve ½ cup (120 ml) | Helps adjust the sauce |
| Saucepan | 3–4 qt, tri-ply stainless steel | Heats evenly and is nonreactive |
Enameled cast iron also works, though it responds to heat changes more slowly. Avoid leaving the finished sauce for a long time in bare cast iron or unlined copper. For induction, check that the saucepan’s exterior is induction-compatible. Follow the pan maker’s care and temperature instructions; materials and limits vary by model.
Step-by-step stovetop pesto mac and cheese
A roux is a cooked mix of fat and flour that thickens a sauce. Here, butter and flour form the roux before milk is added. Keep the heat moderate, whisk as you pour, and use the pasta water only as needed. This approach gives you control over both texture and flavor.
1. Prepare the pasta and sauce ingredients
Bring a pot of salted water to a boil. At sea level, boiling water is about 100°C (212°F). While it heats, grate both cheeses, measure the pesto, and warm the milk separately until hot but not boiling.
Use a 3–4 qt saucepan for the cheese sauce. Heat it over medium-low for about 1–2 minutes, then add the butter. Do not heat an empty pan and leave it unattended. This recipe needs no high-heat oil.
2. Cook the pasta and make the roux
Cook the pasta until it is one minute short of the package’s al dente time. Al dente means tender but still slightly firm to the bite. Before draining, scoop out ½ cup (120 ml) of pasta water and set it aside.
In the sauce pan, melt the butter over medium-low heat. Whisk in the flour and cook for 60–90 seconds, stirring often, without browning it. Pour in the warm milk gradually while whisking. Keep stirring until the mixture looks smooth.
3. Thicken the sauce, then add cheese and pesto
Stir the milk mixture over medium-low heat for about 3–5 minutes, until it lightly coats a spoon. The sauce should simmer gently, not boil hard; a useful range is about 85–95°C (185–203°F). If you are not using a thermometer, look for gentle movement and small bubbles rather than a rolling boil.
Take the pan off the burner. Add the cheddar and Parmesan in small handfuls, stirring until each addition melts. Then stir in the pesto. Keeping the finished sauce below about 80°C (176°F) helps reduce the chance of splitting and preserves pesto’s aroma.
4. Fold in pasta and adjust the texture
Add the drained pasta and fold until coated. Stir in reserved pasta water one tablespoon at a time, stopping when the sauce looks glossy and clings to the noodles. You may not need all the water. Taste before adding salt: Parmesan and pesto can already bring plenty.
Serve right away. If the pasta waits and the sauce thickens, add a splash of warm milk or pasta water and stir over very low heat. Do not bring it back to a boil.
Troubleshooting texture and flavor
A split sauce is one where fat separates from the liquid, making it look oily or feel grainy. The most useful fix is prevention: remove the pan from the heat before adding the cheese and pesto. If the sauce tightens, use gentle warmth and small additions of liquid rather than a hard boil.
| What you notice | Likely reason | What to do |
|---|---|---|
| Grainy or oily sauce | Sauce boiled after cheese or pesto went in | Remove from heat; stir gently. Avoid reboiling |
| Sauce too thick | Pasta absorbed liquid or sauce cooled | Add warm milk or pasta water, 1 tbsp at a time |
| Sauce too thin | It has not thickened enough, or too much water was added | Before adding cheese, simmer gently until it coats a spoon |
| Bland flavor | Pasta water may have been lightly salted; cheese or pesto may be mild | Taste, then add a little salt or black pepper |
| Pesto flavor seems muted | Pesto was heated for too long | Stir it in off heat and add a small spoonful at serving |
Do not try to fix a tight sauce by turning the burner high. Low heat and gradual stirring give you more control.
Easy ways to tailor the recipe
Pesto and cheese vary in salt, sharpness, and thickness, so taste before making big changes. For a stronger basil note, add a little extra pesto at the table. For a looser, creamier finish, use warm milk or pasta water a spoonful at a time rather than increasing the pesto, which can make the sauce oily.
| If you want… | Try this |
|---|---|
| More fresh basil flavor | Add a small spoonful of pesto as a garnish |
| A sharper cheese taste | Use a little more cheddar, finely grated |
| A lighter pesto note | Start with less than ⅓ cup, taste, then add more |
| A crisp topping | Sprinkle on toasted breadcrumbs just before serving |
These adjustments keep the basic method intact. Add any pesto garnish at the table instead of cooking it further.
Serving, storing, and cleaning up
Serve the pasta hot in warmed bowls, with black pepper and a little freshly grated Parmesan. A spoonful of pesto or toasted breadcrumbs makes a simple finish. If you need to hold a portion briefly, keep it warm gently and stir in a little warm milk if the sauce begins to thicken.
Transfer leftovers to a covered container and refrigerate within two hours. Reheat gently with a splash of milk, stirring often; avoid a vigorous boil. For cleanup, let the pan cool naturally until safe to handle. If cheese or roux has dried on, soak it in warm water and detergent. On stainless steel, loosen stubborn residue with warm water and a brief simmer, then wash with a non-scratch sponge and dry.
Frequently asked questions
Can I use a different pasta shape?
Yes. Short shapes such as elbows, shells, and cavatappi work well because they are easy to stir and hold sauce.
Why add the cheese off the heat?
Direct heat can make cheese sauce grainy or oily. Removing the pan from the burner helps the cheese melt without a hard boil.
When should I add the pesto?
Stir it in after the cheese has melted and the pan is off the heat. This limits extra cooking and keeps the pesto flavor more noticeable.
Do I need to bake this mac and cheese?
No. This is a stovetop dish and is ready to serve once the pasta is coated and the sauce is adjusted.
Can I use cold milk?
You can, but warm milk is easier to whisk into the roux smoothly. Heat it until hot, not boiling, before adding it.
What can I use instead of pasta water?
Warm milk is a good option for loosening the sauce. Pasta water adds starch, which can help the sauce cling to the noodles.
How do I keep the sauce from getting grainy?
Keep the milk sauce at a gentle simmer, remove the pan from the heat before adding cheese, and do not reboil the finished dish.
Can I make it less salty?
Choose unsalted butter, taste before adding extra salt, and start with less pesto if yours tastes very salty. Parmesan also adds salt.
How should I reheat leftovers?
Reheat gently with a splash of milk, stirring often. Do not let the sauce boil vigorously.
Can I leave the mac and cheese on the stove for dinner later?
It is best served right away. If you must hold it briefly, keep it warm gently and stir in a little warm milk if it thickens.
(This article was written by one of our staff writers, Steven R. Bancroft. Visit our Meet the Team page.)
