Cheese Sauce for Mac and Cheese (Thick, Creamy & Never Grainy)

4.16 from 32 votes
Jump to RecipeEmail Recipe

This post may contain affiliate links. Please read our disclosure policy.

This is the cheese sauce for mac and cheese that started it all — the one I pour over stovetop mac and cheese, bake into baked mac and cheese, and slather on nachos when nobody’s watching. It’s thick, glossy, coats every single noodle, and takes about 15 minutes to make from scratch.

Seven ingredients, one pot, and a little splash of hot sauce that makes all the difference. I’ve been making (and tweaking) this sauce since The Cheese Knees started, and the version you see here is the result of years of reader feedback — including a recent update to nail the creamiest, smoothest texture possible.

Recipe Summary: This cheese sauce for mac and cheese is thick, ultra-creamy, and made with just 7 pantry ingredients in under 15 minutes. A simple butter-and-flour roux gets whisked with milk, then loaded with sharp cheddar cheese and a splash of hot sauce that deepens the cheesy flavor without adding heat. Pour it over any noodle for the creamiest homemade mac and cheese you’ve ever made.

⏱️ Total: 20 min · 🍽️ Yield: 8 servings · 📊 Level: Easy · 🥗 Diet: Vegetarian

Why You’ll Love This Cheese Sauce

  • It’s thick without being gloopy: The roux-to-milk ratio is dialed in so the sauce coats a spoon and clings to every noodle without turning into paste.
  • Sharp cheddar does all the heavy lifting: No fancy cheese blends required — sharp cheddar delivers bold flavor and melts beautifully when you shred it fresh from the block.
  • The secret ingredient makes it: A splash of Frank’s hot sauce adds tang and brightness that makes the cheese pop — not heat. The vinegar in the hot sauce is what takes this sauce from “good” to “signature.” I’ve tested this sauce with and without dozens of times, and the difference is undeniable.
  • It works in everything: Pour it on stovetop mac, bake it, smoke it, drizzle it on nachos or burgers — this one sauce does it all.

What You Need

You only need 7 simple ingredients to make the cheesiest mac and cheese sauce on the internet. Here’s what goes in and why each one matters:

  • Unsalted butter: The fat base of the roux. Unsalted lets you control the salt level — important since cheese adds its own saltiness.
  • All-purpose flour: Combines with butter to form the roux that thickens everything. For a slightly nuttier, higher-fiber version, white whole wheat flour works too. For a deeper dive on thickening techniques, check out my guide to thickening pasta sauce.
  • 2% milk: Keeps it creamy without being heavy. Want it richer? Whole milk or half-and-half both work beautifully.
  • Sharp cheddar cheese: Must be freshly shredded from a block — pre-shredded cheese is coated in anti-caking starch that causes graininess. This is the single most important tip for a smooth sauce. Sharp cheddar melts smoothly and has the boldest flavor.
  • Salt: Enhances all the cheesy flavor. Start with ½ teaspoon and adjust to taste.
  • Granulated garlic (or garlic powder): Adds savory depth without raw garlic bite.
  • Buffalo hot sauce (Frank’s): The “secret ingredient” — the vinegar base brightens the cheese flavor without adding spiciness at this amount. Technically optional, but I promise it makes this cheese sauce SO good.
whisking together butter and flour for mac and cheese roux

Best Cheeses for Mac and Cheese Sauce

I’ve tested this mac and cheese sauce recipe with pretty much every cheese under the sun and sharp cheddar truly takes the cake. But if you want to mix things up, here’s how different cheeses change the sauce:

  • Sharp cheddar (recommended): Boldest flavor, smooth melt. The gold standard for this recipe.
  • Colby Jack: Milder and creamier — great for kids or anyone who prefers a gentler cheese flavor.
  • Gouda: Adds smokiness and richness. Try smoked gouda for a twist.
  • White cheddar: Same tang as yellow cheddar but a more “grown-up” look. Check out my white cheddar mac and cheese for that version.
  • Gruyère: Nutty and complex — mix 50/50 with cheddar for depth.
  • Monterey Jack: Very mild and super melty — good for those who want creamy without strong cheese flavor.

Rule of thumb: Sub up to half the sharp cheddar for another cheese. Going 100% with a mild cheese will leave the sauce flat. Whatever you do, always shred your own cheese from a block — no bags of pre-shredded.

How to Make a Roux (And Why You Can’t Skip It)

A roux is essentially a way to thicken a sauce using a fat (like butter) and flour. For cheese sauce specifically, the roux does double duty: it thickens the sauce AND prevents the cheese from getting grainy. Here’s the science — the starch molecules in the flour coat the cheese proteins and prevent them from clumping together when heated. That’s why roux-based cheese sauces stay silky smooth while “just melt cheese into milk” methods often fail.

This same roux technique is what makes my broccoli and cheese casserole so creamy — it’s the backbone of every cheese-based recipe on this site.

How to Make a Roux

  1. Heat a large pot or Dutch oven over medium/high heat. Add butter and allow it to melt fully.
  2. When the butter is melted, add the all-purpose flour and whisk constantly until the butter and flour form a paste. Keep whisking for 1–2 minutes — the roux should smell nutty and look like wet sand. That’s your cue that it’s ready.
  3. Slowly add milk to the pot, a few tablespoons at a time at first, whisking constantly. Adding milk too fast creates lumps. Continue whisking over medium/high heat for about 4–6 minutes or until the mixture thickens enough to coat the back of a spoon.
  4. When the roux is thick, remove from heat, then add the shredded cheese a handful at a time, whisking until each addition melts completely before adding more.

Easy Roux Swaps

  • Butter: Swap for olive oil — you need a fat to make a roux, and I’ve used olive oil many times in place of butter. It works like a charm!
  • All-purpose flour: Swap for white whole wheat flour for a slightly nuttier, higher-fiber version of this homemade cheese sauce.
adding shredded cheese to roux to make cheese sauce for mac and cheese

Troubleshooting: Why Cheese Sauce Gets Grainy (And How to Fix It)

This is the #1 question I get, and I’ve been answering it in the comments for years. If your cheese sauce turned gritty or grainy, here’s what happened and how to prevent it next time:

Pre-shredded cheese is the #1 culprit. The anti-caking starch coating (cellulose or potato starch) on bagged cheese prevents it from melting smoothly. Always shred from a block. This one change fixes the issue for most people.

Too much heat breaks the sauce. Once you add the cheese, the pot should be off the heat or on the lowest possible setting. When cheese gets above about 160°F, the proteins tighten and squeeze out fat — that’s what creates that grainy, oily texture. Low and slow is the key here.

Adding cheese too fast. Add a handful at a time and whisk until each batch is fully melted before adding more. Dumping it all in at once means uneven melting and clumps.

The roux wasn’t thick enough. If your milk mixture hasn’t fully thickened before you add the cheese, the sauce won’t emulsify properly. Wait until it coats the back of a spoon before adding any cheese.

Emergency fix: If it’s already grainy, whisk in a splash of warm milk or cream on low heat. A slice of American cheese (it contains sodium citrate, a natural emulsifier) can also rescue a broken sauce. I’ve used this trick myself — it really does work.

Variations

  • For a richer sauce: Use whole milk or half-and-half instead of 2% milk.
  • For a sharper flavor: Mix sharp cheddar 50/50 with Gruyère or aged Parmesan.
  • For a milder sauce: Use Monterey Jack or mild cheddar.
  • Mustard powder boost: Add ¼ teaspoon dry mustard powder — it enhances cheddar flavor without adding a mustard taste. This is a trick restaurant chefs use, and it takes the sauce to another level.
  • Spice it up: Add cayenne, smoked paprika, or taco seasoning for a totally different flavor profile. Love the taco-spiced version? Try my cheese quesadilla for another quick cheesy dinner.
  • Add-ins after saucing: Broccoli, bacon, diced ham, roasted jalapeños, or caramelized onions all work beautifully stirred into the finished sauce.

Ways to Use This Cheese Sauce (Beyond Mac and Cheese)

Love this sauce and want to mix things up? Here are some ideas beyond the classic mac:

  • Any noodle: Shells, penne, cavatappi, rigatoni — any shape that traps sauce in its ridges or hollows.
  • Nachos: Pour over chips with all the fixings. My buffalo chicken nachos are incredible with this sauce.
  • Burgers and sandwiches: Drizzle on top like a cheese-pub sauce. It’s absurd in the best way.
  • Steamed veggies: Broccoli + this sauce = the easiest side dish.
  • Baked potatoes: Load ’em up.
  • Dip: Serve warm with tortilla chips or soft pretzels. Want something lighter? My cottage cheese queso is another crowd-pleasing option.
creamy cheese sauce for mac and cheese recipe with noodles

Storage and Reheating

  • Refrigerator: Store in an airtight container for up to 3–4 days. The sauce will thicken as it sits — that’s completely normal.
  • Reheating: Warm on the stovetop over low heat, stirring in a splash of milk 1 tablespoon at a time until it reaches the consistency you want. Microwave works too — heat in 30-second intervals, stirring between each one.
  • Freezing: I don’t recommend freezing this cheese sauce because of the dairy content. Roux-based dairy sauces can curdle and separate when thawed. Make it fresh for best results.

Frequently Asked Questions

Can I use pre-shredded cheese for mac and cheese sauce?

I don’t recommend it. Pre-shredded cheese is coated in anti-caking agents like cellulose or potato starch that prevent it from melting smoothly. You’ll get a grainy, gritty sauce instead of the silky texture you want. Always shred cheese fresh from a block — it only takes a couple of minutes and the difference is night and day.

Why did my cheese sauce turn grainy?

The most common reasons are: using pre-shredded cheese, adding cheese to a sauce that’s too hot, or not thickening the roux enough before adding the cheese. Make sure your roux is fully thickened (it should coat the back of a spoon), remove the pot from heat or turn it to the lowest setting, and add the cheese a handful at a time, whisking until each addition melts completely. If it’s already grainy, try whisking in a splash of warm cream on low heat.

What’s the best cheese for mac and cheese sauce?

Sharp cheddar is my go-to — it has the boldest flavor and melts beautifully. For a milder sauce, try Colby Jack or Monterey Jack. For something more complex, mix sharp cheddar 50/50 with Gruyère or smoked Gouda. Just don’t go 100% with a very mild cheese or the sauce will taste flat.

Can I make this cheese sauce without flour?

Yes — you can substitute cornstarch for the flour at half the amount (so 1.5 tablespoons cornstarch instead of 3 tablespoons flour). Make a slurry with the cornstarch and a splash of cold milk before adding it to the warm milk. It won’t be quite as silky as a roux-based sauce, but it works well and makes the recipe gluten-friendly.

Can I use this cheese sauce for baked mac and cheese?

Absolutely! This is the exact sauce I use in my baked mac and cheese recipe. Just combine the sauce with cooked noodles, transfer to a baking dish, top with extra shredded cheese and breadcrumbs, and bake at 350°F for about 20–25 minutes until golden and bubbly.

How do I thin out cheese sauce that’s too thick?

Add 2% milk (or whatever milk you used) one tablespoon at a time, whisking it in over low heat until the sauce reaches the consistency you want. Don’t add too much at once — it’s easier to thin it than to re-thicken it.

More Mac and Cheese Recipes

4.16 from 32 votes

Cheese Sauce for Mac and Cheese

This cheese sauce for mac and cheese is thick, ultra-creamy, and made with just 7 pantry ingredients in under 15 minutes. A simple butter-and-flour roux gets whisked with milk, then loaded with sharp cheddar cheese and a splash of hot sauce for the creamiest homemade mac and cheese you’ve ever made.
By: Lee Funke
Prep: 5 minutes
Cook: 15 minutes
Total: 20 minutes
Servings: 8
Email me this recipe
Plus, enjoy weekly doses of recipe inspiration as a bonus!

Ingredients 

  • 3 tablespoons unsalted butter
  • 3 tablespoons all-purpose flour
  • 2 cups 2 % milk
  • 3 cups shredded sharp cheddar cheese
  • 1/2 teaspoon salt
  • 1/4 teaspoon granulated garlic, or garlic powder
  • 1-2 tablespoons buffalo hot sauce, we used Franks
  • 1 lb. cooked noodles

Instructions 

  • First, prepare a roux by heating a large pot or Dutch oven over medium/high heat. Add butter. When the butter is melted, add flour and whisk until the butter and flour form a crumble or paste. 
    making roux.
  • Slowly add milk to the pot, whisking constantly. Continue to whisk the roux over medium/high heat for about 4-6 minutes or until the roux thickens.
  • When the roux is thick, remove from heat and add the shredded cheddar cheese. Whisk until the cheese has melted.
  • Add granulated garlic, hot sauce, and salt and pepper to the cheese sauce. Mix well.
    adding hot sauce to mac and cheese sauce.
  • Finally, mix your mac and cheese sauce recipe with 1 lb. of cooked noodles and enjoy! 
    adding noodles to pot.

Tips & Notes

  • If you would like a thinner cheese sauce, add 2 tablespoons of milk at a time, whisk it into the cheese sauce, and add more until the cheese sauce reaches your desired consistency. 
  • This mac and cheese sauce is for 1 lb. of macaroni noodles.
  • Nutrition information does NOT include noodles.
  • August 31, 2025: I recently tweaked this recipe to use slightly less milk and specified to use sharp cheddar cheese based off user feedback! 

Watch It

[adthrive-in-post-video-player video-id=”Nl1Ze6kE” upload-date=”2021-08-20T00:00:00.000Z” name=”Best Mac and Cheese Sauce” description=”No matter if you’re making stovetop mac and cheese or baked mac and cheese, this is the best mac and cheese sauce on the internet!”]

Nutrition

Calories: 307 kcal, Carbohydrates: 18 g, Protein: 15 g, Fat: 20 g, Fiber: 0.1 g, Sugar: 3 g

Nutrition information is automatically calculated, so should only be used as an approximation.

love this? leave a comment below!

Don’t forget to tag your posts on social media with the hashtag #cheeseknees, we’d love to see what you’re up to!

Similar Recipes:

About Lee Funke

Lee is 1 of 3 founders of The Cheese Knees and is based in Minneapolis, MN. TCK was started in 2020 as an ode to our Wisconsin roots and a place to share all things cheese recipes.

3.8 17 votes
Recipe Rating
guest
Recipe Rating




Recipe Rating
71 Comments
liam
liam
February 18, 2026 3:04 pm

5 stars
This was so good i would say to add more cheese and lessmilk maybe 1 3/4 cups

Barb Witherspoon
Barb Witherspoon
November 2, 2025 9:52 am

5 stars
Very good sauce! This will be my go-to cheese sauce from now own. Thanks for sharing!

Donna
Donna
March 6, 2024 2:00 pm

4 stars
I made a gluten free version, using olive oil instead of butter, skim milk and extra sharp cheddar. I also add a good squirt of yellow mustard to enhance the cheddar flavor!

IMG_0178
Emily Richter
Emily Richter
April 29, 2024 10:52 am
Reply to  Donna

Looks so cheesy and delish! Thanks for sharing that these substitutions worked for you — it’s so helpful for other readers <3

Steven Fox
Steven Fox
February 14, 2024 9:13 am

5 stars
This is amazing! Made this to replace packet Mac n cheese with loads of preservatives and stabilisers in it. Tastes great and easy to make. Just looking best way to store the sauce. How long it lasts in fridge, can I freeze it etc as there is a lot even after halving the quantities.

Emily Richter
Emily Richter
April 29, 2024 10:53 am
Reply to  Steven Fox

Hi Steven, Storage suggestions are right above the recipe card — hope this helps! ๐Ÿ˜€

Reyny Salas
February 14, 2024 8:02 am

This recipe looks great, I love pasta with cheese, especially when it is with a lot of cheese as in the recipe, it is a delight to eat pasta like this, thank you very much for the recipe!

Danielle
Danielle
January 15, 2024 9:04 am

1 star
I never leave reviews, but I had to because this was awful. The instructions did not lead me to getting the roux right. I shouldn’t have to read through all the comments to realize that I should’ve let the flour cook longer. The cheese then didn’t melt in the milk. Runny and clumpy. Just awful.

Stacy
Stacy
December 22, 2023 4:53 pm

5 stars
Delicious!! I have made this several times now.

Emily Richter
Emily Richter
January 2, 2024 10:21 am
Reply to  Stacy

So happy to hear it!

Michelle
Michelle
November 5, 2023 7:08 pm

5 stars
Excellent cheese sauce! I added shell pasta and steamed broccoli. Love it! Thanks for the recipe ๐Ÿ™‚

Emily Richter
Emily Richter
January 2, 2024 10:25 am
Reply to  Michelle

Yum!

Sophie Brown
Sophie Brown
October 19, 2023 9:49 am

Just a quick question, can this be used in a baked mac and cheese recipe? To be more specific, can I put it in the stove after it cools down?

Sophie Brown
Sophie Brown
October 19, 2023 9:54 am
Reply to  Sophie Brown

I take it back! I just saw that you can! Sorry!

Debbie
Debbie
September 16, 2023 3:32 pm

5 stars
I substituted a couple of tablespoons of Blue Agave Sriracha instead of buffalo hot sauce – My husband loved it! I also added broccoli florets when the pasta was just Al denteโ€™, which added a great taste!

Emily Richter
Emily Richter
January 2, 2024 10:27 am
Reply to  Debbie

Great idea, Debbie!