In this recipe
- What Is Cheese Sauce for Pasta?
- Ingredients for Cheese Sauce
- How to Make Cheese Sauce for Pasta
- Why Cheese Sauce Turns Grainy
- Best Cheeses for Melt and Flavor
- The Sodium Citrate Method
- The Evaporated Milk Shortcut
- How to Keep Cheese Sauce Stretchy
- Variations: Mac and Cheese, Broccoli and Spicy
- Storage and Reheating
- Cheese Sauce FAQs
- Printable Recipe Card
Cheese sauce for pasta is a light white sauce with cheese melted into it off the heat. For 12 ounces of pasta you need 2 tablespoons of butter, 2 tablespoons of flour, 2 cups of milk and 8 ounces of cheese grated from the block, seasoned with salt and a little mustard powder. It takes about 25 minutes, and the pasta cooks while the sauce does.
The difference between silky and sandy comes down to three things: the temperature when the cheese goes in, the kind of cheese, and whether that cheese came from a bag. Get those right and the sauce stays smooth even after it sits on the table for a few minutes.
Below: the classic stovetop method, a clear explanation of why sauces turn grainy, a melting chart for common cheeses, a flour-free sodium citrate version, an evaporated milk shortcut, and how to store and reheat leftovers without splitting them.
What Is Cheese Sauce for Pasta?
Most cheese sauces for pasta are a version of Mornay sauce: a bechamel (butter, flour and milk) with grated cheese stirred in. The flour-based sauce does two jobs. It gives the cheese a hot, liquid base to melt into, and its starch sits between the fat and protein in the cheese so they stay mixed instead of separating.
If you have made our white sauce pasta, you already know the first half of this recipe. Cheese sauce uses a little less roux and a lot more cheese.
There are also roux-free routes. Sodium citrate, an emulsifying salt, lets you melt cheese into plain water or milk, and evaporated milk does a similar job in a more forgiving way. Both are covered below.
Cheese sauce is not Alfredo. A classic fettuccine Alfredo uses butter, Parmesan and often cream, with no flour, and suits long ribbons. Cheese sauce is thicker and made for short shapes.
Ingredients for Cheese Sauce

For the roux, use 2 tablespoons (28 g) unsalted butter and 2 tablespoons (16 g) all-purpose flour. That is a light roux on purpose: the cheese adds body as it melts, and a thick base plus 8 ounces of cheese would set like glue.
For the liquid, use 2 cups (480 ml) whole milk. Its fat and proteins help hold the emulsion. Two percent milk works with a thinner result; skim milk is the most likely to turn grainy.
For the cheese, use 8 ounces (225 g) in total, which is about 2 lightly packed cups once grated. This recipe pairs 6 ounces (170 g) of medium or sharp cheddar for flavor and color with 2 ounces (55 g) of Gruyère, Monterey Jack or fontina for smoothness and stretch. Grate it yourself from a block.
For seasoning, add 1/2 teaspoon kosher salt, 1/2 teaspoon dry mustard powder, a pinch of cayenne or smoked paprika and, if you like, 1/4 teaspoon garlic powder. Mustard sharpens cheddar without tasting of mustard.
For the pasta, plan on 12 ounces (340 g) of a short shape such as shells, elbows, cavatappi or penne, and keep 1/2 cup of pasta water.
How to Make Cheese Sauce for Pasta
Start the pasta water first. The sauce takes about 10 minutes, close to the cooking time of most short pasta.
- 01
Grate the cheese and let it sit
Grate the cheddar and Gruyère on the large holes of a box grater and leave them on the counter while you make the base. Cheese near room temperature melts quickly. Cold cheese dumped in at once cools the sauce and tempts you to turn the burner up, which is where trouble starts.
- 02
Cook a light roux
Melt the butter in a medium saucepan over medium-low heat. Whisk in the flour and cook for 1 to 2 minutes, whisking constantly, until it bubbles and smells lightly toasted. Keep it pale. You only need to cook out the raw flour taste here, not build color.
- 03
Whisk in the milk and simmer
Add about 1/2 cup of the cold milk and whisk until smooth, then add the rest in three additions. Raise the heat to medium and stir until the sauce comes to a gentle simmer, then cook for 2 minutes. It should coat the back of a spoon but still pour easily.
- 04
Take it off the heat, then add the cheese
Move the pan off the burner and wait about 30 seconds for the bubbling to stop. Stir in the mustard powder, salt, garlic powder and cayenne. Add the cheese one handful at a time, stirring with a spoon or spatula until each handful has melted before adding the next. The retained heat of the sauce is enough to melt it.

Add the cheese off high heat and keep stirring until it melts in. Photo by Andrew Danilov on Unsplash - 05
Check the texture
The sauce should be glossy and thick enough to ribbon off a spoon. If a few shreds refuse to melt, set the pan over the lowest heat for 20 to 30 seconds, stirring. Do not let it bubble once the cheese is in.

A finished sauce should be smooth and glossy, with no grainy or oily patches. Photo by Mikey Frost on Unsplash - 06
Toss with the pasta
Add the drained pasta to the saucepan with a splash of pasta water and toss over the lowest heat for 30 to 60 seconds. The starch in the water helps the sauce cling. Taste, adjust the salt and serve immediately.
Melting the cheese off the heat, in small handfuls, is the single habit that keeps cheese sauce smooth. The sauce thickens as it cools, so leave it slightly loose. If it looks too thin, simmer the base a little longer before the cheese goes in; the reduce-first logic we use to thicken spaghetti sauce applies, but never boil the sauce once it holds cheese.
Why Cheese Sauce Turns Grainy
Cheese is a network of milk proteins (mostly casein) holding fat and water. Gentle heat loosens that network so it flows. Too much heat, too little moisture or the wrong additives make the proteins tighten and clump, squeezing out fat: a sandy texture, an oily sheen, or both.
Overheating
This is the most common cause. Once a cheese sauce boils, the proteins contract into firm curds that will not melt back, and the fat they held leaks out. A sauce can look fine, then turn grainy after a minute on a high burner.
Pre-shredded cheese
Bagged shredded cheese is tossed with an anti-caking agent such as powdered cellulose or potato starch so the shreds do not stick. That coating slows melting and can leave a faintly gritty, dull finish. A block grated at home melts more evenly.
Aged, dry or acidic cheeses
As cheese ages, it loses moisture and its proteins break down into shorter pieces. Extra-sharp cheddar, Parmesan and aged Gouda taste wonderful but tend to clump and turn oily on their own. Very acidic cheeses, such as feta and many fresh goat cheeses, barely melt at all. Use these as a flavor accent, not the base.
| Problem | Likely cause | Fix |
|---|---|---|
| Sandy or grainy | Sauce boiled after the cheese went in, or mostly aged cheese | Off the heat, whisk in 2 tablespoons cold milk; blend briefly with an immersion blender if needed |
| Oily or split | Overheated, or too little liquid for the amount of cheese | Whisk in a splash of milk off the heat; a squeeze of lemon juice or a pinch of sodium citrate can help re-emulsify |
| Stringy clumps | Cold cheese added all at once, or too much mozzarella | Keep stirring over the lowest heat; next time add cheese in handfuls and limit mozzarella to a quarter of the total |
| Dull, slightly gritty | Bagged shredded cheese with anti-caking coating | Grate from a block next time; a little extra milk and stirring helps now |
| Too thick | Sauce cooled, or too much roux | Loosen with pasta water or warm milk, 2 tablespoons at a time |
| Bland | Mild cheese and too little salt | Add salt, mustard powder, a little grated Parmesan or a few drops of hot sauce |
A grainy sauce can often be improved but rarely made perfect, so prevention is the reliable route.
Best Cheeses for Melt and Flavor
Cheeses fall roughly into two camps. Melters are young, moist and mild: they turn smooth and flowing with gentle heat. Flavor cheeses are aged and drier: they taste stronger but fight the sauce if used alone. The best cheese sauces combine both, roughly three parts melter to one part flavor cheese.
| Cheese | Melt | Flavor | How to use it |
|---|---|---|---|
| Mild or medium cheddar | Very good | Mild, buttery | Reliable base for any cheese sauce |
| Sharp cheddar | Good | Tangy, strong | Up to two thirds of the cheese, with a softer melter |
| Extra-sharp or aged cheddar | Fair, can turn grainy | Very strong | One quarter to one third of the total, for flavor |
| Gruyère | Very good | Nutty, savory | Smooth with a little stretch; classic in Mornay |
| Monterey Jack, Colby | Excellent | Mild | Adds creaminess; pair with a stronger cheese |
| Fontina, young Gouda | Excellent | Mild, slightly sweet | Silky texture and gentle stretch |
| Low-moisture mozzarella | Stretchy | Very mild | Up to one quarter of the total, for pull |
| American cheese | Melts perfectly | Mild, salty | A slice or two stabilizes a sauce made with aged cheese |
| Parmesan, Pecorino | Poor alone, clumps | Salty, savory | A few tablespoons, stirred in last |
| Feta, fresh goat cheese | Does not melt smoothly | Tangy | Crumble on top instead of melting in |
American cheese earns its place because it contains emulsifying salts. A slice or two makes a sauce based on aged cheddar noticeably more stable.
If you want something richer and more cheese-forward without flour or citrate, our creamy pasta sauce uses a cream base that takes cheddar, Parmesan or Gruyère in small amounts.
The Sodium Citrate Method
Sodium citrate is the sodium salt of citric acid. In cheese, calcium acts like glue between casein proteins. Sodium citrate binds some of that calcium, so the proteins disperse into the liquid and hold the fat in a stable emulsion. It is the principle behind processed cheese, and it turns almost any cheese, even an aged one, into a glossy sauce with no flour.
The ratio used by Modernist Cuisine for its silky mac and cheese is a good starting point: for every 100 grams of cheese, use 4 grams of sodium citrate and about 93 grams of water or milk. Because these amounts are small, measure them on a digital scale rather than with spoons.
| Grated cheese | Sodium citrate | Water or milk | Enough for |
|---|---|---|---|
| 4 ounces (115 g) | 4.5 g | 105 ml (scant 1/2 cup) | 6 ounces (170 g) pasta |
| 8 ounces (225 g) | 9 g | 210 ml (about 7/8 cup) | 12 ounces (340 g) pasta |
| 12 ounces (340 g) | 13.5 g | 315 ml (about 1 1/3 cups) | 1 pound (454 g) pasta |
To make it, whisk the sodium citrate into the water or milk in a saucepan until it dissolves, and bring it to a gentle simmer. Add the grated cheese a spoonful at a time, whisking or using an immersion blender until each addition melts. The sauce turns smooth and glossy within minutes.
Water gives the cleanest cheese flavor; milk tastes rounder. More liquid makes a pourable pasta sauce, less makes a dip. Too much sodium citrate tastes faintly salty and sour, so stay close to the ratio, and do not swap in citric acid, which is a different ingredient.
The Evaporated Milk Shortcut
Evaporated milk is milk with roughly 60 percent of its water cooked off. That leaves its proteins concentrated, and those proteins help hold the fat in melting cheese in suspension. Many brands also add a stabilizer such as a phosphate salt or carrageenan; check the label. The result is a sauce that stays smooth without a roux and is hard to break.
For 12 ounces (340 g) of pasta, toss 12 ounces (340 g) of freshly grated cheese with 1 tablespoon of cornstarch until every shred is lightly coated. Warm one 12-ounce can (354 ml) of evaporated milk in a saucepan over medium-low heat until it steams. Add the cheese in handfuls, stirring until melted, then season with mustard powder, salt and a dash of hot sauce. Toss with the drained pasta.
The cornstarch does the job of the flour in a roux without the cooking step. The flavor is a little sweeter, which suits cheddar and Jack. It is a fast weeknight method; our guide to cooking pasta in the microwave covers single portions if you only need one bowl.
How to Keep Cheese Sauce Stretchy
Stretch comes from long, intact strands of casein, found in young cheeses such as low-moisture mozzarella, fontina and Monterey Jack, not aged ones.
- Add a stretchy cheese. Swap 2 ounces of the cheddar for low-moisture mozzarella or fontina. More than about a quarter of the total can make the sauce stringy instead of creamy.
- Keep the heat low. Overheated mozzarella seizes into tough strings. Melt it in last, off the heat.
- Keep the sauce slightly loose. If it tightens, add pasta water.
- Serve it straight away. Stretch fades as the sauce cools and the cheese sets. Toss and plate immediately.
For a baked pasta, top the sauced pasta with grated mozzarella and Gruyère and bake until bubbling. The sauce underneath stays creamy while the top gives you the pull.
Variations: Mac and Cheese, Broccoli and Spicy
Fold add-ins in after the cheese has melted, so the sauce never goes back over high heat.
Stovetop Mac and Cheese
Use elbows or medium shells and increase the cheese to 10 ounces (285 g), keeping at least two thirds of it a good melter. Stir in 1/2 teaspoon of Worcestershire sauce with the mustard. For a crisp top, transfer to a baking dish, scatter 1/2 cup (30 g) of panko tossed with 1 tablespoon of melted butter and broil for 2 to 3 minutes until golden.

Broccoli Cheddar Pasta
Cut 3 cups (about 250 g) of broccoli into small florets and add them to the pasta pot for the last 3 minutes. Drain together and toss with the sauce. Sharp cheddar suits broccoli best, and a squeeze of lemon keeps it from tasting heavy.
Spicy Cheese Sauce
Replace the Gruyère with pepper jack. Add 1 to 2 finely chopped pickled jalapeños with a spoonful of their brine, 1/2 teaspoon of smoked paprika and 1/4 teaspoon of chipotle powder or cayenne. For a smokier, meatier bowl, fold in crumbled cooked chorizo or bacon. If you like bold heat with cream, our rasta pasta takes the same idea further with jerk seasoning.
Gruyère with caramelized onion or fontina with mushrooms also work. Browse more ideas in our pasta recipes.
Storage and Reheating
Cool leftover cheese sauce or sauced pasta and refrigerate it within 2 hours in an airtight container. It keeps for 3 to 4 days in the fridge, in line with USDA guidance on leftovers and food safety.
Cheese sauce firms up a lot in the fridge as the fat and starch set. Reheat portions in a saucepan or skillet over low heat with about 2 tablespoons of milk per serving, stirring constantly until smooth and hot all the way through, to 165°F (74°C). Keep the heat low: a hard boil will turn reheated sauce grainy just as it does a fresh one. In the microwave, add the milk, cover loosely and heat at 50 percent power in 30-second bursts, stirring between each.
Sodium citrate and evaporated milk sauces reheat most reliably because their emulsions are more stable, so either can be made a day ahead.
Cheese sauce alone can be frozen for 2 to 3 months, though roux-based versions often thaw a little grainy. Thaw it in the fridge and whisk it over low heat with a splash of milk. Sauced pasta freezes poorly, so freeze the sauce alone.
Cheese Sauce FAQs
How do you make cheese sauce for pasta?
Melt 2 tablespoons of butter, whisk in 2 tablespoons of flour and cook for 1 to 2 minutes. Whisk in 2 cups of milk gradually and simmer until it coats a spoon. Take the pan off the heat and stir in 8 ounces of freshly grated cheese a handful at a time, then season with salt and a little mustard powder.
Why is my cheese sauce grainy?
The usual causes are heat that is too high after the cheese goes in, pre-shredded cheese coated in anti-caking powder, or a sauce built mostly from aged, dry cheese such as extra-sharp cheddar or Parmesan. Add the cheese off the heat, grate it from a block and make at least two thirds of it a good melting cheese.
What is the best cheese for a smooth cheese sauce?
Young, moist cheeses melt best: mild or medium cheddar, Monterey Jack, Colby, fontina, young Gouda and Gruyère. American cheese melts the most smoothly of all because it already contains emulsifying salts. Use aged cheeses such as sharp cheddar or Parmesan in smaller amounts for flavor.
Can you fix a grainy cheese sauce?
Sometimes. Take it off the heat, add a splash of cold milk and whisk hard, or blend it briefly with an immersion blender. A squeeze of lemon juice or a pinch of sodium citrate can help a split sauce come back together. Badly overheated cheese that has turned into rubbery clumps will not fully recover.
How much sodium citrate do you use for cheese sauce?
A widely used ratio from Modernist Cuisine is 4 grams of sodium citrate and about 93 grams of water or milk for every 100 grams of cheese. For 8 ounces (225 g) of cheese, that is about 9 grams of sodium citrate and 210 ml of liquid. Weigh it, because small amounts matter.
Can you make cheese sauce without flour?
Yes. Melt grated cheese into evaporated milk with a little cornstarch tossed through the cheese, or use the sodium citrate method with plain water or milk. Both give a smooth, glossy sauce without a roux.
How do you reheat cheese sauce without it separating?
Warm it gently over low heat with a splash of milk, about 2 tablespoons per serving, stirring constantly until smooth. In the microwave, use 50 percent power in 30-second bursts and stir between each. Heat leftovers to 165°F (74°C) without letting the sauce boil hard.
The recipe
Smooth Cheese Sauce for Pasta
A stovetop Mornay-style cheese sauce made with a light roux, whole milk, cheddar and Gruyère, melted off the heat so it stays glossy and never grainy. Serves 4.
Ingredients
Instructions
- Start the pasta. Bring a large pot of salted water to a boil and cook the pasta until 1 minute short of the package time. Reserve 1 cup of pasta water before draining.
- Grate the cheese. Grate the cheddar and Gruyère from the block and let them sit at room temperature while you make the base, so they melt faster and more evenly.
- Make the roux. Melt the butter in a medium saucepan over medium-low heat. Whisk in the flour and cook, whisking constantly, for 1 to 2 minutes until it bubbles and smells lightly toasted but stays pale.
- Whisk in the milk. Add about 1/2 cup of the milk and whisk until smooth, then add the rest in three additions. Raise the heat to medium and stir until the sauce simmers. Simmer for 2 minutes until it coats the back of a spoon.
- Melt in the cheese off the heat. Take the pan off the burner. Stir in the mustard powder, salt, garlic powder and cayenne, then add the cheese one handful at a time, stirring until each addition melts before adding the next.
- Toss and serve. Add the drained pasta and a splash of pasta water. Toss over the lowest heat for 30 to 60 seconds until glossy, loosening with more pasta water as needed. Taste for salt and serve right away.
Notes
Use at least 6 of the 8 ounces as good melting cheese; aged cheddar or Parmesan can make up the rest for flavor. For a flour-free version, melt 8 ounces (225 g) of grated cheese into 210 ml water or milk with 9 g sodium citrate. Leftovers keep for 3 to 4 days in the fridge and reheat best over low heat with a splash of milk. Estimated nutrition per serving, including pasta, is about 680 calories, 29 g protein, 73 g carbohydrate and 30 g fat, based on 4 servings. Values change with your milk, cheese and pasta.
