French Onion Mac and Cheese

4.89 from 27 votes

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

French Onion Mac and Cheese combines two comfort food classics! Creamy cheddar and Gruyère mac and cheese is loaded with caramelized onions, fresh thyme, and all the flavors of French onion soup. It’s topped with buttery panko breadcrumbs and broiled until golden and bubbly, just like the cheesy topping on French onion soup.

Looking for more French onion recipes? Try my Viral One Pot French Onion Pasta, French Onion Soup, French Onion Oyster Crackers, or One Pan French Onion Orzo.

Why You’ll Love This Recipe

Key Ingredients

Ingredients for French Onion Mac and Cheese arranged on a light countertop, including sliced onions, pasta shells, shredded cheddar and Gruyère cheese, milk, butter, panko breadcrumbs, Parmesan, fresh thyme, brandy, and seasonings.

See the recipe card below for the complete list of ingredients with exact quantities.

  • Onions: Yellow onions are my favorite for caramelizing. They become sweet, soft, and deeply golden brown, giving this mac and cheese its signature French onion flavor.
  • Gruyère Cheese: Nutty, creamy, and perfect for melting! Gruyère pairs perfectly with sharp cheddar and brings that classic French onion soup flavor.
  • Panko Breadcrumbs: A fun twist on the toasted baguette in French onion soup! These light, crispy breadcrumbs create a golden, crunchy topping when broiled with extra cheese.

Tips and Substitutions

  • Onions: Don’t rush the caramelization! Cook the onions low and slow until deeply golden brown and soft. If they start sticking or browning too quickly, add a splash of water and lower the heat.
  • Sherry or brandy: Either works great for deglazing the onions. For an alcohol-free option, substitute ¼ cup low-sodium beef or vegetable broth.
  • Cheese: I love sharp white cheddar and Gruyère, but Trader Joe’s Caramelized Onion Cheddar is delicious here too! A combined cheddar-Gruyère cheese is another great option. Freshly shred your cheese for the smoothest sauce.
  • Pasta: Shells, shelbows, cavatappi, elbows, or rotini all work well. Cook the pasta slightly under al dente so it doesn’t get too soft.
  • Sauce consistency: The cheese sauce should be creamy and pourable before assembling. If it’s too thick, stir in a splash of milk.
  • Broiling: Use broiler-safe crocks or a baking dish and watch closely! The topping can go from golden to burnt quickly.

How to Make French Onion Mac and Cheese

See the recipe card below for full instructions and exact amounts.

Sliced yellow onions cooking in a Dutch oven with butter and olive oil.
  1. Add the sliced onions to a Dutch oven with butter, olive oil, and salt. Cover and cook briefly to help release their moisture and jump-start caramelization.
Soft, partially caramelized onions topped with fresh thyme sprigs in a Dutch oven.
  1. Continue cooking uncovered, adding the thyme halfway through, until the onions are deeply caramelized.
Deep golden caramelized onions coating the bottom of a red Dutch oven.
  1. Remove the thyme, deglaze with sherry or brandy, and stir in the Worcestershire sauce.
A spoon lifting thick, creamy sauce from a saucepan.
  1. Prepare the cheese sauce with a butter and flour roux, milk, seasonings, and shredded cheese.
Cooked pasta shellbows being mixed into a creamy cheese sauce in a saucepan.
  1. Stir the cooked pasta into the cheese sauce until evenly coated.
Caramelized onions being added to pasta shells coated in cheese sauce.
  1. Fold in the caramelized onions.
A glass baking dish filled with creamy mac and cheese and covered with a golden breadcrumb topping.
  1. Transfer to a baking dish and top with seasoned breadcrumbs, shredded cheese, Parmesan, and black pepper.
A glass baking dish filled with French onion mac and cheese, with melted cheese and a golden-brown breadcrumb topping.
  1. Broil until golden and bubbly, then let rest briefly before serving.

Recipe FAQs

Can I make French Onion Mac and Cheese ahead of time?

Yes! I recommend caramelizing the onions up to 2 days ahead and storing them in the refrigerator. For the creamiest results, make the pasta and cheese sauce just before serving.

Can I double this recipe for a crowd?

Absolutely! Double the ingredients and use a larger baking dish, such as a 9×13-inch dish. Keep an eye on the topping while broiling, since cooking times can vary.

More French Onion Recipes

🐝 Made this recipe? I’d love to know how it turned out! Please leave a ⭐️ star rating and a comment below. Your feedback helps more people discover my recipes and supports my blog.

Tag me on Instagram to share your creations, and follow along on Pinterest for more easy, tasty recipes.

Two round crocks of French onion mac and cheese sit on a metal baking sheet, topped with golden, bubbly melted cheese and black pepper.
4.89 from 27 votes

French Onion Mac and Cheese

This French Onion Mac and Cheese combines deeply caramelized onions, a creamy cheddar and Gruyère cheese sauce, and a golden, bubbly topping. It's a delicious twist on classic French onion soup!
Prep: 20 minutes
Cook: 1 hour 10 minutes
Total: 1 hour 30 minutes
Servings: 4 or 6-8 side dish servings
Save this recipe!
Get this recipe sent to your inbox, plus get the newest recipes sent to you first!

Equipment

Ingredients 

Caramelized Onions

Mac and Cheese

Breadcrumb Topping

Instructions 

Caramelized Onions

  • Start the onions: Heat the olive oil and butter in a Dutch oven or large pot over medium heat. Add the sliced onions and kosher salt. Stir, cover, and cook for 5 minutes.
  • Caramelize: Reduce heat to medium-low and cook uncovered for 45–60 minutes, stirring occasionally, until the onions are deeply golden brown and caramelized. Add the thyme sprigs halfway through cooking.
  • Deglaze: Remove and discard the thyme sprigs. Add the sherry or brandy, scraping up any browned bits from the bottom of the pot. Stir in the Worcestershire sauce and cook for 1–2 minutes, until the liquid has mostly evaporated.

Mac and Cheese

  • Cook the pasta: While the onions caramelize, cook the pasta in a large pot of salted boiling water for 1 minute less than package directions. Drain.
  • Make the roux: Melt the butter in a saucepan over medium heat. Whisk in the flour and cook for 2 minutes, stirring constantly, until lightly golden.
  • Make the sauce: Slowly whisk in the milk until smooth. Add the dry mustard, cayenne, garlic powder, black pepper, and beef base, if using. Cook over medium heat, whisking frequently, until the sauce thickens enough to coat the back of a spoon, about 2–3 minutes once simmering.
  • Add the cheese: Remove from heat and stir in the cheddar and Gruyère until melted and smooth.
  • Combine: Stir the cooked pasta into the cheese sauce until coated. Fold in the caramelized onions. Add a splash of milk if the sauce is too thick, then taste and season with kosher salt as needed.

Topping and Assembly

  • Prepare the topping: Preheat the broiler. In a small bowl, combine the panko, melted butter, garlic powder, salt, and pepper.
  • Assemble: Transfer the mac and cheese to an 8×8-inch broiler-safe baking dish or individual broiler-safe crocks. If using crocks, place them on a baking sheet. Sprinkle with the seasoned breadcrumbs, followed by the remaining cheddar, Gruyère, and Parmesan. Finish with freshly cracked black pepper.
  • Broil: Broil for 3–5 minutes, watching closely, until golden and bubbly. Rotate the dish if needed for even browning. Let rest for a few minutes before serving.

Video

Notes

  • Caramelizing the onions: The onions should be deeply golden brown, soft, and significantly reduced in volume. Cooking time varies depending on your pot and heat. If they begin sticking or browning too quickly, add a splash of water and reduce the heat.
  • Sherry or brandy: Both work well for deglazing the onions. Use ¼ cup dry sherry or 2 tablespoons brandy. For an alcohol-free option, substitute ¼ cup low-sodium beef or vegetable broth.
  • Cheese: Freshly shredded cheese melts more smoothly than pre-shredded. Sharp white cheddar and Gruyère are my go-to combination, but Trader Joe’s Caramelized Onion Cheddar is delicious here too! You can also use a combined cheddar-Gruyère cheese to save time. Just use the same total amount of cheese.
  • Beef base and salt: Better Than Bouillon adds extra savory depth but is optional. If omitting, season the cheese sauce with kosher salt to taste. This recipe uses Diamond Crystal kosher salt. If using salted butter or a different brand of salt, adjust accordingly.
  • Pasta: Shells, shelbows, cavatappi, elbows, or rotini all work well. Cook the pasta 1 minute less than package directions to prevent it from becoming too soft when combined with the hot cheese sauce and broiled.
  • Sauce consistency: The cheese sauce should be creamy and pourable. If it becomes too thick, stir in a splash of milk before assembling.
  • Baking dish: Use an 8×8-inch broiler-safe baking dish or individual broiler-safe crocks. Make sure your bakeware is specifically rated for broiler use.
  • Make ahead: Caramelize the onions up to 2 days ahead and refrigerate in an airtight container. Prepare the pasta and cheese sauce just before serving for the best texture.
  • Storage and reheating: Refrigerate leftovers in an airtight container for up to 4 days. Reheat gently in the microwave or a 350°F oven until heated through, adding a splash of milk if needed to loosen the sauce.

Nutrition

Calories: 941kcal, Carbohydrates: 75g, Protein: 36g, Fat: 54g, Saturated Fat: 30g, Polyunsaturated Fat: 3g, Monounsaturated Fat: 15g, Trans Fat: 1g, Cholesterol: 146mg, Sodium: 1230mg, Potassium: 563mg, Fiber: 4g, Sugar: 12g, Vitamin A: 1630IU, Vitamin C: 8mg, Calcium: 877mg, Iron: 3mg

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

Like this recipe? Rate and comment below!

About Carolyn Stilwell

I’m the creator behind Carol Bee Cooks, where I share easy, tasty recipes that make weeknight cooking feel exciting and approachable. If you loved this recipe, you’ll find plenty more pasta, orzo, and seasonal favorites to try next.

You May Also Like

4.89 from 27 votes (21 ratings without comment)

Leave a comment

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

Recipe Rating




9 Comments

  1. 5 stars
    After 4 years — a showstopper. I found this recipe on TikTok in 2022, and I’ve made it for every major gathering since then because it is such a slam dunk hit for everyone that eats it! I’m not on that social media platform anymore, but I always come back here to review it. Thank you for such a tasty and creative dish that’s made so many people smile!

    1. WOW! This made my day. Thank you so much for this incredible review. It really is a special recipe 🙂

  2. 5 stars
    This hasn’t even come out of the oven yet and i’ve never been so compelled to write a 5 star review! I tried the little but that was stuck to my spoon and it was INCREDIBLE. The instructions also were super easy to follow. I cook and bake a lot and usually have some sort of hiccup with the recipe and have to tweak but this came out amazing as is!d

    1. WOW thank you so much for this nice comment! I’m so happy to hear the first bite was so good. I hope the final dish comes out perfectly for you!

  3. 5 stars
    This recipe was incredible! I saw it on Tiktok and knew I had to try it. It was very easy to follow, and I really appreciated all the steps and how it explained how to multitask. The mac and cheese turned out PERFECT. Definitely will have to try the other recipes- and probably make this one again.

    1. Wow thank you so much for this comment and taking the time to try out and review this recipe! I hope you find some more recipes you love!