How to make the BEST Gluten-Free Mac and Cheese Recipe!

hero: creamy gluten-free mac and cheese in white ceramic baking dish, golden breadcrumb topping, fresh parsley garnish, steam rising, natural window light from left, soft shadows, professional food photography
4.6 out of 5
(651 reviews)

There’s nothing quite like a creamy, comforting bowl of mac and cheese, and I’m thrilled to share my foolproof gluten-free version that tastes just as indulgent as the traditional recipe. For years, I thought giving up gluten meant saying goodbye to this beloved classic, but I’ve discovered that with the right pasta and a few simple techniques, you can create a dish that’s absolutely divine.

The secret to the best gluten-free mac and cheese lies in three key components: quality gluten-free pasta that holds its shape, a silky smooth cheese sauce made with real butter and cheese (not that orange powder!), and the perfect balance of flavors. I’ve tested countless combinations, and this recipe has become a family favorite that even my non-gluten-free friends request regularly.

What makes this recipe special is the technique. We’re creating a proper béchamel sauce—a French mother sauce—which means you’ll start with a roux of butter and cornstarch, then gradually whisk in whole milk to prevent lumps. This classical method ensures a velvety sauce every single time. I then add a combination of sharp cheddar and gruyère cheese for depth and complexity. The sharpness of the cheddar provides that classic mac and cheese flavor, while the gruyère adds a subtle nuttiness that elevates the entire dish.

The pasta choice is crucial when cooking gluten-free. I recommend trying different brands to find your favorite because some hold up better than others. Look for pasta made from chickpea or lentil flour for extra protein and nutrition, or stick with rice-based pasta if you prefer a more traditional texture. Whatever you choose, slightly undercook it by about one minute—it will continue cooking when you bake it in the oven.

This recipe is incredibly versatile. Add crispy bacon, sautéed mushrooms, or roasted broccoli for extra nutrition and flavor. A breadcrumb topping adds wonderful texture and can be prepared ahead of time. You can also customize the cheese blend based on what you have on hand—fontina, smoked gouda, or even white cheddar all work beautifully.

Whether you’re cooking for someone with celiac disease, following a gluten-free lifestyle, or simply want to try something new, this mac and cheese delivers restaurant-quality results in your own kitchen. It’s comfort food at its finest, and I promise you won’t miss the gluten one bit. Let me walk you through my foolproof method for creating this showstopping dish.

For more inspiration on gluten-free cooking, check out Serious Eats’ gluten-free guide and Bon Appétit’s gluten-free recipes. You might also enjoy exploring our collection of creamy pasta sauces and different cheese sauce techniques.

Prep Time
15 minutes
Cook Time
25 minutes
Total Time
40 minutes
Servings
6-8 servings

Ingredients

  • 1 pound gluten-free pasta (penne, rigatoni, or elbow)
  • 4 tablespoons unsalted butter
  • 3 tablespoons cornstarch (or sweet rice flour)
  • 3 cups whole milk, warmed
  • 2 cups sharp cheddar cheese, freshly grated
  • 1 cup gruyère cheese, freshly grated
  • ½ teaspoon Dijon mustard
  • ¼ teaspoon cayenne pepper
  • ½ teaspoon salt
  • ¼ teaspoon black pepper
  • ¼ teaspoon freshly grated nutmeg
  • ½ cup gluten-free panko breadcrumbs
  • 2 tablespoons melted butter
  • ¼ cup grated Parmesan cheese
  • 1 tablespoon fresh parsley, chopped
process: hand stirring butter and cornstarch roux in stainless steel saucepan, milk being whisked in, cheese melting, bright kitchen lighting, action shot mid-preparation

Instructions

  1. Preheat your oven to 350°F and lightly butter a 9×13 inch baking dish. This ensures your mac and cheese will bake evenly and won’t stick.
  2. Bring a large pot of salted water to a rolling boil. The water should taste like the sea—this seasons the pasta as it cooks.
  3. Add the gluten-free pasta to the boiling water and cook for one minute less than the package directions suggest, usually about 7-8 minutes. You want it al dente since it will continue cooking in the oven. Drain the pasta well but do not rinse it; the starch helps the sauce adhere.
  4. While the pasta cooks, prepare the cheese sauce. In a large saucepan or Dutch oven, melt the butter over medium heat, stirring occasionally to ensure it melts evenly.
  5. Once the butter is completely melted and foaming, add the cornstarch and whisk constantly for about 2 minutes. This cooks out the raw cornstarch taste and creates the base of your roux.
  6. Slowly pour the warmed milk into the butter-cornstarch mixture while whisking continuously. This gradual addition prevents lumps from forming. Keep whisking until the mixture is completely smooth and combined.
  7. Continue cooking the sauce over medium heat, stirring frequently with a wooden spoon, until it thickens enough to coat the back of the spoon, about 5-7 minutes. It should reach 165°F on an instant-read thermometer.
  8. Remove the saucepan from heat and immediately add the Dijon mustard, cayenne pepper, salt, black pepper, and nutmeg. Stir to combine these seasonings evenly throughout the sauce.
  9. Add the grated cheddar cheese in two additions, stirring well after each addition until completely melted and incorporated. The residual heat will melt the cheese smoothly.
  10. Add the gruyère cheese and stir until fully melted and the sauce is silky and smooth. Taste and adjust seasonings as needed—you may want a bit more salt or cayenne depending on your preference.
  11. Add the cooked gluten-free pasta to the cheese sauce and fold gently with a rubber spatula until every piece is coated with the creamy sauce. Be careful not to break the pasta.
  12. Transfer the mac and cheese mixture to the prepared baking dish, spreading it in an even layer. You can prepare the dish ahead up to this point and refrigerate for up to 24 hours.
  13. In a small bowl, combine the panko breadcrumbs, melted butter, Parmesan cheese, and fresh parsley. Mix with a fork until the breadcrumbs are evenly moistened with butter.
  14. Sprinkle the breadcrumb mixture evenly over the top of the mac and cheese. This creates a wonderful golden crust when baked.
  15. Bake for 20-25 minutes, until the top is golden brown and crispy, and the sauce is bubbling around the edges. The internal temperature should reach 160°F.
  16. Remove from the oven and let rest for 5 minutes before serving. This allows the sauce to set slightly and makes serving easier.
  17. Garnish with additional fresh parsley or chives if desired, and serve immediately while hot and creamy.
detail: close-up of fork lifting mac and cheese showing creamy sauce coating pasta, golden breadcrumb topping visible, melted cheese strands, shallow depth of field, warm natural light

Pro Tips

  • **Cheese Selection:** Freshly grate your cheese from a block rather than using pre-shredded cheese, which contains anti-caking agents that can make the sauce grainy. If you must use pre-shredded, toss it with a tiny bit of cornstarch first.
  • **Pasta Recommendations:** Quality gluten-free pasta is essential for this dish. Barilla, Banza, and Tinkyada are reliable brands that hold their shape well. Chickpea-based pastas add extra protein, while rice-based options are lighter.
  • **Make-Ahead Instructions:** Assemble the mac and cheese in the baking dish, cover with plastic wrap, and refrigerate for up to 24 hours. Add an extra 5-10 minutes to the baking time if baking from cold. You can also freeze the assembled dish for up to 3 months; thaw overnight in the refrigerator before baking.
  • **Sauce Consistency:** If your sauce seems too thick, whisk in a tablespoon or two of milk. If it’s too thin, make a slurry of cornstarch and cold water, add it gradually while whisking, and cook until thickened.
  • **Variations:** Stir in crispy bacon bits, sautéed mushrooms, roasted broccoli, or caramelized onions before baking. For a spicier version, increase the cayenne to ½ teaspoon and add a pinch of smoked paprika.
  • **Dairy-Free Option:** Substitute butter with olive oil or dairy-free butter, use unsweetened almond or oat milk, and use dairy-free cheese alternatives. The texture may differ slightly but will still be delicious.
  • **Stovetop Version:** If you prefer not to bake, skip the breadcrumb topping and serve the mac and cheese directly from the stovetop. It will be creamier but equally delicious.
  • **Reheating:** Leftover mac and cheese can be reheated in a 350°F oven for 15-20 minutes covered with foil, or in the microwave. Add a splash of milk when reheating to restore creaminess.
  • **Storage:** Keep leftovers in an airtight container in the refrigerator for up to 5 days. This dish actually tastes better the next day as the flavors meld together.
  • **Nutritional Information:** This recipe is naturally gluten-free and provides protein from both the cheese and pasta. For a lighter version, use low-fat milk and reduce the butter to 3 tablespoons.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top