French Onion Soup Mac and Cheese: The Ultimate Comfort Food Fusion
This French Onion Soup Mac and Cheese merges two beloved comfort classics into a single, intensely flavorful dish, offering a sophisticated and unique twist on traditional pasta bakes.
The recipe achieves its signature rich, savory, and slightly sweet profile through deeply caramelized onions, a robust beef broth reduction, and a luxurious blend of Gruyère and sharp cheddar cheeses, all brought together with a hint of fresh thyme.
While the process includes about 45 minutes of active preparation, primarily for the onion caramelization, the depth of flavor developed creates a remarkably satisfying and complex comfort meal.
It serves beautifully as a show-stopping main course for special gatherings or a comforting, elevated weeknight meal, especially when paired with a light, peppery green salad.
French Onion Soup Mac And Cheese

Combine rich caramelized onions and Gruyère with creamy macaroni and cheese for a unique, satisfying dish.
Ingredients
- Main Ingredients:
- 1 lb (450g) elbow macaroni or other small pasta, cooked al dente
- 1 tablespoon (15g) unsalted butter, softened, for greasing
- For the Caramelized Onions:
- 4 large yellow onions (approx. 3 lbs / 1.35 kg), thinly sliced
- 3 tablespoons (42g) unsalted butter
- 1 tablespoon (15ml) olive oil
- 1 teaspoon (5ml) granulated sugar
- 1 teaspoon (5g) fine sea salt
- ½ teaspoon (2.5g) black pepper, freshly ground
- ¼ cup (60ml) dry sherry, optional (or additional beef broth)
- 4 cups (960ml) beef broth
- 1 sprig fresh thyme
- 1 bay leaf
- For the Cheese Sauce:
- 6 tablespoons (84g) unsalted butter
- 6 tablespoons (45g) all-purpose flour
- 4 cups (960ml) whole milk, warmed
- 1 teaspoon (5ml) Dijon mustard
- ½ teaspoon (2.5g) freshly grated nutmeg
- 1½ cups (170g) Gruyère cheese, freshly grated
- 1 cup (115g) Emmental cheese (or Swiss), freshly grated
- ½ cup (55g) Parmesan cheese, freshly grated
- 1/2 teaspoon salt
- 1/4 teaspoon freshly ground black pepper
- For the Topping:
- 1 cup (120g) panko breadcrumbs
- 2 tablespoons (28g) unsalted butter, melted
- ½ cup (55g) Gruyère cheese, freshly grated (or Parmesan)
Instructions
- Melt: Melt 3 tablespoons (42g) unsalted butter with 1 tablespoon (15ml) olive oil in a large Dutch oven or heavy-bottomed pot over medium-low heat.
- Add: Add 4 large, thinly sliced yellow onions, 1 teaspoon (5ml) granulated sugar, 1 teaspoon (5g) fine sea salt, and ½ teaspoon (2.5g) freshly ground black pepper to the pot.
- Sauté: Sauté onions, stirring every 5-7 minutes, for 45-60 minutes over medium-low heat until deeply golden brown, very tender, and reduced to a jam-like consistency. Adjust heat as needed to prevent burning.
- Deglaze: Increase heat to medium. Pour in ¼ cup (60ml) dry sherry (if using) and stir, scraping browned bits from the pot bottom, until liquid almost evaporates, about 2 minutes.
- Simmer: Add 4 cups (960ml) beef broth, 1 sprig fresh thyme, and 1 bay leaf. Bring to a gentle simmer and cook for 10-15 minutes until liquid slightly reduces. Remove and discard thyme sprig and bay leaf. Set aside caramelized onions.
- Cook: Bring a large pot of salted water to a rolling boil. Add 1 lb (450g) elbow macaroni and cook 7-9 minutes until al dente.
- Drain: Drain cooked pasta thoroughly in a colander. Do not rinse pasta.
- Melt: Melt 6 tablespoons (84g) unsalted butter in a separate large saucepan or Dutch oven over medium heat for 1-2 minutes until foamy.
- Whisk: Whisk in 6 tablespoons (45g) all-purpose flour, creating a smooth roux. Continue whisking and cook for 1-2 minutes until roux turns a light golden color and smells nutty.
- Pour: Gradually pour in 4 cups (960ml) warmed whole milk, whisking constantly until fully incorporated and no lumps remain.
- Thicken: Bring sauce to a gentle simmer over medium heat, stirring occasionally, and cook for 5-7 minutes until visibly thickened to coat the back of a spoon.
- Remove: Remove saucepan from heat. Whisk in 1 teaspoon (5ml) Dijon mustard and ½ teaspoon (2.5g) freshly grated nutmeg.
- Stir: Gradually add 1½ cups (170g) freshly grated Gruyère cheese, 1 cup (115g) freshly grated Emmental cheese, and ½ cup (55g) freshly grated Parmesan cheese, stirring continuously until cheeses are completely melted and sauce is smooth and creamy.
- Season: Add 1/2 teaspoon salt and 1/4 teaspoon freshly ground black pepper. Adjust seasoning as needed.
- Preheat: Preheat oven to 375°F (190°C). Grease a 9×13 inch (23×33 cm) baking dish with 1 tablespoon (15g) unsalted butter.
- Combine: Combine cooked elbow macaroni, prepared caramelized onions (including any liquid), and cheese sauce in a large mixing bowl. Stir until pasta is evenly coated.
- Transfer: Pour mixture into the prepared baking dish, spreading evenly.
- Prepare Topping: Combine 1 cup (120g) panko breadcrumbs, 2 tablespoons (28g) melted unsalted butter, and ½ cup (55g) freshly grated Gruyère cheese (or Parmesan) in a small bowl. Mix until breadcrumbs are moistened.
- Sprinkle: Sprinkle topping evenly over mac and cheese mixture in the baking dish.
- Bake: Bake for 25-30 minutes in the preheated oven until bubbling around the edges and topping is golden brown and crispy.
- Rest: Remove baking dish from oven. Rest for 10-15 minutes before serving for sauce to set.
Notes
- Use homemade beef broth for optimal flavor.
- Cook onions for the full 45-60 minutes to develop rich sweetness and depth.
- Grate cheeses fresh from the block; pre-shredded cheeses may cause a grainy sauce.
- Serve with a lightly dressed green salad to balance the richness.
Pro Tips for Perfect French Onion Soup Mac and Cheese
Ingredient Tips
- Onion Variety:Use 3 large (approx. 2.5 lbs) yellow onions, sliced uniformly to 1/8-inch thick rings. Ensures even caramelization and balanced, deep sweetness.
- Caramelization Deglaze:Deglaze the pan with 1/4 cup dry sherry or brandy after the initial onion browning. This adds depth, preventing burning by lifting fond, and enhancing umami.
- Cheese Blend:Combine 8 ounces shredded Gruyère, 4 ounces shredded Comté, and 4 ounces shredded sharp white cheddar. This trio provides nutty melting qualities with a tangy finish, ensuring complex flavor and a strong cheese pull.
- Reduced Beef Broth:Opt for 4 cups high-quality beef broth, reduced by 1/4 (to 3 cups) before use. This concentrates the essential beefy essence for a robust “soup” base.
- Pasta Shape:Select 12 ounces medium pasta like campanelle or cavatappi. Their ridges effectively trap the rich cheese sauce and onions, providing satisfying texture in every bite.
- Roux Ratio:Use 4 tablespoons (1/4 cup) unsalted butter and 4 tablespoons (1/4 cup) all-purpose flour for the roux. This 1:1 ratio creates a medium-thick béchamel supporting substantial cheese.
Technique Tips
- Deep Onion Caramelization:Cook sliced onions in 2 tablespoons unsalted butter over medium-low heat for 45-60 minutes, stirring every 5-7 minutes. They must reduce by half, become deep mahogany brown, and slide off a spoon for proper sweetness.
- Proper Roux Development:Whisk 4 tablespoons flour into 4 tablespoons melted butter over medium heat for 2-3 minutes. It forms a light golden paste with a nutty aroma, eliminating raw flour taste.
- Lump-Free Sauce:Slowly whisk in 3 cups warm, reduced beef broth, 1/2 cup at a time, into the roux. Continue whisking constantly for 3-5 minutes until it thickens and coats the back of a spoon, preventing lumps.
- Temper Cheese for Smoothness:Remove sauce from heat before adding 16 ounces shredded cheese in two batches. Whisk vigorously for 1-2 minutes until each batch is fully melted and smooth, preventing seizing.
- Perfect Al Dente Pasta:Boil 12 ounces pasta in heavily salted water for 1-2 minutes LESS than package directions (approx. 7-8 minutes). It should be slightly firm (“with resistance”) as it will finish cooking in the oven, absorbing sauce without becoming mushy.
- Strategic Layering:In a 9×13 inch baking dish, layer half cooked pasta, half caramelized onions, then half cheese sauce. Repeat. Top with an additional 1 cup Gruyère or Comté.
- Achieve Golden Crust:Bake at 375°F (190°C) for 25-30 minutes until edges bubble vigorously. Finish under a broiler for 2-3 minutes until the top is deeply golden brown and crusty. Watch constantly to prevent burning.
Common Issues
- Grainy Cheese Sauce:If grainy, likely overheated cheese. Prevent by removing béchamel from heat before adding cheese in gradual 4 oz batches. To fix, whisk in 1-2 tablespoons warm milk or broth, 1 teaspoon at a time, until re-emulsified.
- Soupy Mac and Cheese:Caused by under-reduced broth (ensure 25% reduction from 4 cups to 3 cups) or insufficient roux cooking. To correct a baked dish, return to 375°F (190°C) oven for an additional 5-10 minutes, uncovered, to evaporate excess liquid.
- Weak Onion Flavor:Onions taste merely sautéed if not caramelized long enough. Ensure cooking for the full 45-60 minutes over medium-low heat until they achieve a uniform mahogany hue and reduce volume by half. Adding 1/2 teaspoon sugar in the last 15 minutes can aid deep browning.
Ingredient Substitutions, Storage & Reheating Guide
Essential Substitutions
- Yellow Onions:
- (Sweet onions offer a milder, sweeter caramelization. Red onions provide a slightly sharper, fruity note and a beautiful color, mellowing significantly when caramelized. Shallots yield a more delicate, refined sweetness and caramelize faster, but are typically more expensive.)
- Beef Broth:
- (Chicken broth results in a lighter, less robust flavor. Vegetable broth makes the dish vegetarian-friendly, but may lack the deep savory notes of beef. Mushroom broth offers a rich umami depth, ideal for vegetarian options, and can be combined with vegetable broth for balance.)
- Gruyère Cheese:
- (Comté is very similar, offering a complex nutty, fruity profile. Emmentaler is milder, nutty, and melts exceptionally well. Fontina provides a creamier texture and a milder, buttery flavor. Sharp white cheddar delivers a tangier, more assertive cheese flavor, though less nutty than Gruyère.)
- Dry White Wine (for deglazing):
- (Dry vermouth works wonderfully, contributing similar aromatic and slightly herbal notes. Apple cider vinegar adds tanginess but lacks the complexity and depth of wine. Using extra beef broth maintains savory depth but sacrifices the bright acidity that cuts through the richness.)
- Elbow Macaroni:
- (These pasta shapes are excellent for holding the creamy cheese sauce and caramelized onions within their nooks and crannies, offering a slightly different textural experience.)
Dietary Variations
- Vegetarian:
- Replace beef broth with high-quality vegetable broth or mushroom broth (1:1 ratio). Ensure any cheese used is made with microbial rennet.
- Gluten-Free:
- Substitute regular elbow macaroni with gluten-free elbow macaroni (1:1 ratio). Replace all-purpose flour in the roux with gluten-free all-purpose flour blend (1:1 ratio) or use 1 tablespoon cornstarch mixed with 2 tablespoons cold water as a slurry, added at the end, for every 2 tablespoons of flour.
- Dairy-Free/Vegan:
- Replace butter with vegan butter (1:1 ratio). Substitute heavy cream and milk with unsweetened full-fat plant-based milk (e.g., oat or cashew milk, 1:1 ratio). Replace Gruyère and other cheeses with a high-quality vegan shredded cheese blend (1:1 ratio), noting that melting and texture will differ. Use vegetable or mushroom broth.
- Lower Fat:
- Replace heavy cream with whole milk (1:1 ratio) or a blend of 1/2 whole milk and 1/2 vegetable broth. Reduce butter by 25-50%, using olive oil for sautéing the onions. Use a mix of full-fat and reduced-fat cheeses, or reduce the total amount of cheese by 1/4.
Flavor Variations
- Herby Freshness:
- Add 1.5 teaspoons of fresh chopped thyme or rosemary (or 1/2 teaspoon dried) along with the onions during caramelization, or stir into the finished sauce for a brighter herbal note.
- Spicy Kick:
- Incorporate 1/4 to 1/2 teaspoon of red pepper flakes with the onions during sautéing, or stir into the cheese sauce for a subtle warmth.
- Extra Umami Bomb:
- Stir in 1 tablespoon of Worcestershire sauce (ensure vegan if preferred) or 1 teaspoon of soy sauce/tamari into the beef broth. Alternatively, whisk 1 teaspoon of white miso paste into the cheese sauce at the very end.
- Smoky Depth:
- Add 1/2 teaspoon of smoked paprika to the roux along with the flour. For a cheesy smoky flavor, replace up to half of the Gruyère with smoked Gouda.