If you adore the rich, savory flavors of classic French onion soup and crave the comforting warmth of mac and cheese, then you’re absolutely going to fall head over heels for this French Onion Soup Mac & Cheese Recipe. It’s a sublime mash-up that brings together deeply caramelized onions, a cheesy broth-infused sauce, and perfectly tender elbow macaroni for a dish that feels both elegant and utterly comforting. This recipe transforms an iconic soup into an indulgent pasta experience that’s perfect for cozy dinners or impressing friends at your next get-together.

Ingredients You’ll Need
Though this French Onion Soup Mac & Cheese Recipe looks and tastes complex, the ingredients are wonderfully simple and thoughtfully chosen to build layers of flavor, silky textures, and that irresistible golden finish. Each component plays a starring role to elevate the dish into a bowl of pure happiness.
- 8 oz elbow macaroni: The classic pasta shape that holds the luscious cheese sauce perfectly in every bite.
- 4 large onions, thinly sliced: Slowly caramelized to bring out a deep, sweet flavor that’s the heart of this dish.
- 4 tablespoons butter: Adds richness and helps achieve that gorgeous caramelization on the onions.
- 2 cloves garlic, minced: Provides a subtle punch of aromatic warmth that complements the onions beautifully.
- 2 tablespoons all-purpose flour: The secret to thickening the sauce into a silky, creamy consistency.
- 3 cups beef broth: Adds depth and umami, mimicking the traditional soup base in this mac & cheese twist.
- 1 cup shredded Gruyère cheese: Offers a nutty, melting goodness that’s essential to French onion flavors.
- 1 cup shredded sharp cheddar cheese: Brings boldness and a rich cheesiness that balances the Gruyère.
- 1/2 cup grated Parmesan cheese: Adds a salty, tangy kick that ties all the cheeses together wonderfully.
- 1 teaspoon fresh thyme leaves (or 1/2 tsp dried thyme): Enhances the dish with a subtle herbal note that brightens the savory profile.
- Salt and pepper to taste: Essential for seasoning and bringing out all the vibrant flavors.
- Optional: sliced baguette and extra Gruyère for topping: For a crispy, cheesy crust that echoes the classic French onion soup tradition.
How to Make French Onion Soup Mac & Cheese Recipe
Step 1: Cook the Macaroni
Start by cooking the elbow macaroni according to the package instructions until it’s perfectly al dente. This ensures that the pasta maintains a delightful bite and doesn’t get lost in the rich sauce. Once cooked, drain and set aside so it’s ready to be enveloped in cheesy, onion-infused goodness.
Step 2: Caramelize the Onions Slowly
This is the magic step that transforms humble onions into a deep, golden, sweet flavor powerhouse. Melt the butter over medium heat in a large skillet, then add the thinly sliced onions. Let them cook slowly, stirring occasionally, allowing their natural sugars to develop caramelization over 30 to 40 minutes. Patience here is key—it’s what gives the dish its soul.
Step 3: Add Garlic and Flour
Once your onions are gloriously caramelized, stir in the minced garlic and cook for another minute to bring out its aromatic charm. Then sprinkle the flour on top and stir well so it coats the onions evenly. Cook this mixture for about 2 minutes to remove any raw flour taste and to start thickening your sauce base.
Step 4: Create the Soup-Style Sauce
Now it’s time to bring that beef broth into the mix, whisking it in gradually to avoid lumps. Add the thyme and let everything simmer for about 5 minutes until the sauce thickens just a little, creating a lovely velvety texture that hints at the original French onion soup flavor.
Step 5: Melt in the Cheeses
Reduce the heat to low and stir in your shredded Gruyère, sharp cheddar, and Parmesan cheeses. Watching the cheeses melt and transform the sauce into luscious and smooth perfection is truly a joy. This rich, bubbling mix is the best kind of comfort you can imagine.
Step 6: Combine Macaroni with Cheese Sauce
Return the cooked macaroni to your skillet, stirring well to coat every piece with the cheesy onion sauce. Season with salt and pepper to taste, and give everything one last mix to marry all the flavors together beautifully.
Step 7: Optional Broiling for a Crispy Top
If you want to make this French Onion Soup Mac & Cheese Recipe truly special, transfer the mixture to a baking dish. Top with sliced baguette rounds and a generous extra sprinkle of Gruyère cheese, then broil just until that crust becomes golden & bubbly. The crunchy, cheesy topping perfectly contrasts with the creamy macaroni below.
How to Serve French Onion Soup Mac & Cheese Recipe

Garnishes
To elevate your serving experience, a sprinkle of fresh thyme or a light dusting of extra Parmesan on top adds a beautiful touch of freshness and color. A few crispy baguette slices on the side also bring a delightful texture contrast that pairs perfectly with every spoonful.
Side Dishes
This dish shines brilliantly as a main course but pairs wonderfully with crisp green salads, roasted vegetables, or a tangy pickle plate to cut through the richness. The balance of fresh and hearty side options will make your meal feel complete and exciting.
Creative Ways to Present
For an inviting and cozy presentation, serve your French Onion Soup Mac & Cheese Recipe in individual ramekins with broiled tops. It’s an ideal option for entertaining and makes everyone feel special. Alternatively, try layering the mac & cheese with caramelized onions in a casserole for a family-style centerpiece.
Make Ahead and Storage
Storing Leftovers
Allow any leftovers to cool completely before transferring to an airtight container. Refrigerate for up to 3 days. This recipe reheats well, making it perfect for easy weekday lunches or dinners when time is tight.
Freezing
You can freeze leftover French Onion Soup Mac & Cheese Recipe in a freezer-safe container for up to 2 months. Be sure to cool it thoroughly first, and leave some headspace for expansion. Thaw overnight in the fridge before reheating for best results.
Reheating
To reheat, warm gently on the stovetop over medium-low heat or in the microwave in short bursts, stirring occasionally to maintain creaminess. If the sauce has thickened too much, add a splash of broth or milk to loosen it up and restore that luscious texture.
FAQs
Can I make this recipe vegetarian?
Absolutely! Simply substitute the beef broth with a rich vegetable broth and use vegetarian-friendly cheeses. The caramelized onions and cheeses will still create a wonderfully flavorful dish.
What type of cheese works best in this recipe?
Gruyère and sharp cheddar are essential for their distinctive flavors and melting qualities, with Parmesan adding a salty depth. You can experiment with other melty cheeses, but these three create the classic French onion-inspired profile.
How long does it take to caramelize the onions?
Caramelizing onions is key for flavor and usually takes between 30 to 40 minutes on medium heat. Slow cooking them gently allows their natural sugars to develop and ensures the perfect sweetness.
Can I prepare parts of this recipe ahead of time?
Yes! You can caramelize the onions a day ahead and refrigerate them. When ready to cook, just prepare the sauce and pasta, then combine everything for a quick and satisfying meal.
What’s the secret to getting a crispy topping?
Adding sliced baguette pieces layered with extra Gruyère cheese and broiling briefly creates that irresistibly golden crust. Keep an eye on it while broiling for a perfectly bubbly and crunchy finish.
Final Thoughts
This French Onion Soup Mac & Cheese Recipe is one of those dishes that feels like a warm hug on a plate. It brings the best of French-inspired cooking into a cozy pasta dish that’s as comforting as it is impressive. I truly encourage you to give it a try—you might just discover your new favorite way to enjoy mac and cheese with a sophisticated twist!
Print
French Onion Soup Mac & Cheese Recipe
- Prep Time: 15 minutes
- Cook Time: 50 minutes
- Total Time: 1 hour 5 minutes
- Yield: 4 servings
- Category: Main Course
- Method: Stovetop
- Cuisine: French-American
Description
A comforting and indulgent twist on classic macaroni and cheese, this French Onion Soup Mac & Cheese combines deeply caramelized onions, a rich beef broth-based cheese sauce with Gruyère, cheddar, and Parmesan, and tender elbow macaroni. Finished with an optional broiled baguette topping for added texture, this dish delivers layers of savory, cheesy flavor perfect for a cozy meal.
Ingredients
Pasta
- 8 oz elbow macaroni
Onion and Sauce
- 4 large onions, thinly sliced
- 4 tablespoons butter
- 2 cloves garlic, minced
- 2 tablespoons all-purpose flour
- 3 cups beef broth
- 1 teaspoon fresh thyme leaves (or 1/2 tsp dried thyme)
- Salt and pepper to taste
Cheese
- 1 cup shredded Gruyère cheese
- 1 cup shredded sharp cheddar cheese
- 1/2 cup grated Parmesan cheese
Optional Topping
- Sliced baguette
- Extra Gruyère cheese for topping
Instructions
- Cook the macaroni: Bring a large pot of salted water to a boil and cook the elbow macaroni according to the package directions until al dente. Drain thoroughly and set aside.
- Caramelize the onions: In a large skillet, melt butter over medium heat. Add the thinly sliced onions and cook slowly, stirring occasionally, until they become deeply caramelized and golden brown, which should take about 30-40 minutes.
- Add garlic: Stir in the minced garlic and cook for an additional minute until fragrant.
- Make the roux: Sprinkle the flour evenly over the caramelized onions and stir well to coat. Cook this mixture for about 2 minutes to eliminate the raw flour taste.
- Incorporate beef broth and thyme: Gradually whisk in the beef broth and add the thyme leaves. Bring to a simmer and cook until the sauce thickens slightly, roughly 5 minutes.
- Add the cheeses: Reduce heat to low. Stir in Gruyère, sharp cheddar, and Parmesan cheeses until they melt completely and the sauce becomes smooth and creamy.
- Combine pasta and sauce: Add the cooked macaroni to the cheese sauce and stir thoroughly to ensure all the pasta is coated. Season with salt and pepper to taste.
- Optional broil topping: For an extra touch, transfer the mac and cheese mixture to a baking dish. Top with sliced baguette pieces and sprinkle additional Gruyère cheese over the top. Place under the broiler until the bread is toasted and the cheese topping is golden and bubbly.
- Serve warm: Dish out the French Onion Soup Mac & Cheese hot and enjoy the rich combination of flavors.
Notes
- Caramelizing the onions low and slow is key to developing the deep, sweet flavor iconic to French onion soup.
- Using Gruyère cheese is essential for an authentic flavor, but feel free to substitute with other melting cheeses if needed.
- The optional baguette topping mimics traditional French onion soup croutons and adds delightful texture.
- Be sure to stir frequently when adding flour to onions to avoid lumps in your sauce.
- This recipe can be made ahead up to the point before broiling and reheated.