If you love French onion soup and mac and cheese, this recipe gives you the best parts of both in one skillet. This French onion mac and cheese is deeply savory, extra creamy, and packed with that rich caramelized onion flavor that makes French onion soup so good. It’s an easy baked pasta that has more flavor than classic mac and cheese without losing what makes mac and cheese so comforting.

Table of Contents
Why You'll Love This Viral French Onion Mac and Cheese
I love French onion soup, especially during the fall and winter months. I recently made a French onion chicken pot pie (which is delicious, try it if you haven't) and after that I kept thinking about what else I could use those flavors in.
Mac and cheese made a lot of sense, and I remember French onion mac and cheese having a viral moment on social media, so it had to be good. It already has the rich, comforting base, and caramelized onions bring in that deep savory flavor that makes French onion soup addictive. The Gruyère fits naturally too, so the two recipes come together without either one getting lost.
I’m really happy with how this version turned out. You still get a creamy baked mac and cheese, but the onions and wine give it a much deeper flavor than the classic version. The breadcrumb topping adds just enough contrast on top, and it’s one of those combinations I’ll definitely make again during the colder months. If you need a new mac and cheese dish everyone will love, give this one a try!

Ingredients You'll Need for French Onion Mac and Cheese
- 3 tbsps. olive oil
- 4 large sweet onions, thinly sliced
- 1 lb. large elbow macaroni, cooked
- 3 tbsps. unsalted butter
- ¼ cup all-purpose flour
- 2 ½ cups milk
- 6 oz. gruyere cheese, freshly grated
- 6 oz. cheddar cheese, freshly grated
- ⅓ cup seasoned bread crumbs
- ¼ cup red wine
- ½ tsp. garlic powder
- ½ tsp. black pepper
- ¼ tsp. paprika
- Salt, for the onions
Ingredient Notes and Substitutions
- Sweet onions: Four onions may look like a lot when you start, but they cook down more than you'd think. Sweet onions work well because their natural sugars help them caramelize, but yellow onions are a great substitute and give the mac and cheese a slightly more savory onion flavor.
- Gruyère cheese: Gruyère is important here because it brings the nutty, savory flavor associated with French onion soup and melts smoothly into the sauce. Comté or Emmental are the closest substitutes.
- Cheddar cheese: I like pairing Gruyère with sharp cheddar rather than using Gruyère alone. The cheddar gives the sauce a stronger cheese flavor and keeps this tasting like mac and cheese. Freshly grate both cheeses for the smoothest sauce.
- Red wine: Use a dry red wine that you’d actually drink, such as Pinot Noir, Merlot, or Cabernet Sauvignon. You only need a small amount, but it adds depth and picks up all the browned flavor left in the skillet from the onions. If you don’t cook with alcohol, beef broth is the easiest substitute.
- Macaroni: Large elbow macaroni gives the cheese sauce and caramelized onions plenty of places to settle. Cavatappi, shells, or another short pasta with ridges and curves will work too. Cook it just to al dente so it doesn’t get too soft in the oven.
- Whole milk: Whole milk gives the cheese sauce enough richness while still keeping it smooth and pourable. I wouldn’t go much lower in fat since the sauce won’t have the same body.
- Seasoned breadcrumbs: These give the baked mac and cheese a crisp top without needing much extra seasoning. Panko can be substituted if you want a crunchier topping; toss it with a little melted butter and a pinch of salt first.
- Black pepper, paprika, and garlic powder: These stay in the background rather than taking over the French onion flavor. If you want to push that flavor even further, a small amount of dried thyme is a natural addition since it pairs especially well with caramelized onions and Gruyère.

How to Make French Onion Mac and Cheese
Step 1: Caramelize the Onions
Heat the olive oil in a large oven-safe skillet over medium heat. Add the sliced onions and a generous pinch of salt. Cook for 10–15 minutes, stirring often, until they begin to soften. Reduce the heat to low or medium-low and continue cooking for about 25–30 minutes, stirring regularly, until the onions are deeply golden and caramelized.

Step 2: Deglaze with Red Wine
Pour in the red wine and scrape up the browned bits from the bottom of the skillet. Cook for another 1–2 minutes, until most of the wine has reduced. Transfer the onions to a plate and set aside.

Step 3: Cook the Pasta
Preheat the oven to 375°F. Boil the macaroni in a large pot of salted water until just al dente, then drain and set aside.
Step 4: Make the Cheese Sauce
Melt the butter in the same skillet over medium heat. Whisk in the flour and cook for 1–2 minutes. Add the garlic powder, black pepper, and paprika, then slowly pour in the milk while whisking constantly. Cook until the sauce thickens enough to lightly coat the back of a spoon.

Step 5: Add the Cheese and Onions
Reduce the heat to low. Stir in most of the Gruyère and cheddar, saving some for the top, and mix until the cheese is completely melted. Add about three-quarters of the caramelized onions, then fold in the cooked macaroni until everything is evenly coated.

Step 6: Bake
Spread the mac and cheese evenly in the skillet. Top with the remaining onions, reserved cheese, and seasoned breadcrumbs. Bake for 15–20 minutes, until the sauce is bubbling and the top is golden. Let it rest for about 5 minutes before serving.

Tips for the Best French Onion Mac and Cheese
- Take the onions past golden. For a strong French onion flavor, the onions should be a deep amber-brown before you move on. If they’re only lightly golden, the finished mac and cheese won’t have nearly as much caramelized onion flavor.
- Add a splash of water if the onions start sticking too early. If the browned bits on the skillet start getting too dark before the onions are finished, add a tablespoon or two of water and scrape the pan. This loosens the fond without adding more oil and gives the onions more time to caramelize.
- Slice the onions as evenly as possible. Thin, consistent slices cook at roughly the same rate. If some pieces are thick and others are paper-thin, you can end up with burnt onions mixed with undercooked ones.
- Keep the cheese sauce slightly loose before baking. The pasta continues absorbing sauce in the oven, so the mixture should look a little creamier than you ultimately want when it goes into the skillet. If it already looks dry before baking, stir in a splash of milk.
- Watch the salt until the very end. Gruyère, cheddar, seasoned breadcrumbs, and salted pasta water all contribute seasoning. Taste the finished cheese sauce after everything is combined before deciding whether it needs more salt.
- Don’t overbake it. Once the cheese is bubbling and the breadcrumb topping is golden, it’s ready. Leaving it in the oven much longer will continue reducing the sauce and can turn a creamy mac and cheese dry.
- Save the darkest caramelized onions for the top. I like mixing most of the onions into the pasta but reserving some of the deepest-colored pieces for the finish. You get a stronger hit of caramelized onion flavor instead of having every bit disappear into the cheese sauce.
- Let it sit briefly before scooping. Five minutes is enough for the sauce to settle around the pasta without letting the mac and cheese cool down or firm up too much.

How to Store French Onion Mac and Cheese
- In the fridge: Let the mac and cheese cool, then transfer it to an airtight container and refrigerate for up to 4 days. The pasta will continue absorbing some of the sauce as it sits, so leftovers will be thicker than when they first come out of the oven.
- To reheat: Add a splash of milk before reheating to loosen the cheese sauce. Individual portions can be microwaved in 30–60 second intervals, stirring when possible, until hot. For a larger portion, cover it with foil and warm at 350°F until heated through, then uncover for the last few minutes.
- In the freezer: You can freeze leftovers for up to 2 months, although the cheese sauce won’t be quite as smooth after thawing and the breadcrumb topping will lose some crunch. Freeze individual portions in airtight freezer-safe containers for the easiest reheating.
- To reheat from frozen: Thaw overnight in the refrigerator, add a little milk, and reheat gently. If you want to bring back some texture on top, add a fresh sprinkle of breadcrumbs before warming it in the oven.

French Onion Mac and Cheese FAQs
What is French onion mac and cheese?
French onion mac and cheese combines baked macaroni and cheese with the deep caramelized onion flavor of French onion soup. This version uses caramelized sweet onions, red wine, Gruyère, cheddar, and a breadcrumb topping, so you get elements of both dishes in every serving.
How long does it take to caramelize onions for French onion mac and cheese?
Plan on about 35–45 minutes for properly caramelized onions. They should cook slowly until they’re very soft, deep amber-brown, and almost jammy. Turning up the heat to speed things along can brown the outside before the onions have time to develop their sweeter, deeper flavor.
Can I caramelize the onions ahead of time?
Yes. This is the part I’d prep ahead if you want to save time. Caramelize the onions, let them cool, and refrigerate them in an airtight container for up to 3 days. Then you can make the cheese sauce, boil the pasta, and assemble everything when you’re ready to bake.
Why did my cheese sauce turn grainy?
A grainy cheese sauce usually means the cheese got too hot or was added too quickly. Keep the sauce over low heat when adding the cheese, stir it in gradually, and don’t let the sauce boil once the cheese is incorporated. Freshly grated cheese also melts more smoothly than pre-shredded.
Can I make French onion mac and cheese without wine?
Yes. Replace the red wine with beef broth if you don’t want to cook with alcohol. You’ll lose some of the depth the wine adds, but the broth will still loosen the browned bits from the skillet and add savory flavor to the onions.
What can I use instead of an oven-safe skillet?
Make the onions and cheese sauce in any large skillet or pot, then combine everything with the macaroni and transfer it to a greased baking dish. Add the reserved onions, cheese, and breadcrumbs on top and bake as directed.
Can I make French onion mac and cheese ahead of time?
You can, but I prefer prepping the caramelized onions ahead and assembling the mac and cheese closer to baking. Pasta continues absorbing sauce as it sits, so a fully assembled casserole can become thicker. If you do assemble it early, stir in a little extra milk so the sauce is slightly looser before refrigerating.
What cheese goes best with French onion mac and cheese?
Gruyère is the cheese I wouldn’t skip because its nutty, savory flavor pairs especially well with caramelized onions. I combine it with sharp cheddar so the dish still has the stronger cheese flavor you expect from mac and cheese. Comté or Emmental are good substitutes for the Gruyère.
Mac and Cheese Recipes to Try Next
French Onion Mac and Cheese
If you love French onion soup and mac and cheese, this recipe gives you the best parts of both in one skillet. This French onion mac and cheese is deeply savory, extra creamy, and packed with that rich caramelized onion flavor that makes French onion soup so good. It’s an easy baked pasta that has more flavor than classic mac and cheese without losing what makes mac and cheese so comforting.
Ingredients
- 3 tbsps. olive oil
- 4 large sweet onions, thinly sliced
- 1 lb. large elbow macaroni, cooked
- 3 tbsps. unsalted butter
- ¼ cup all-purpose flour
- 2 ½ cups milk
- 6 oz. gruyere cheese, freshly grated
- 6 oz. cheddar cheese, freshly grated
- ⅓ cup seasoned bread crumbs
- ¼ cup red wine
- ½ tsp. garlic powder
- ½ tsp. black pepper
- ¼ tsp. paprika
- Salt, for the onions
Instructions
1. Heat the olive oil in a large oven-safe skillet over medium-heat. Stir in the onions with a big pinch of salt. Cook over medium, stirring often, until the onions soften, about 10-15 minutes.
2. Decrease the heat to low or medium-low. Cook the onions, stirring often, until they are golden and caramelly.
3. Once they are caramelized, deglaze the pan with the red wine and stir to release all the browned fond from the bottom of the pan. Cook for 1-2 more minutes until the alcohol is cooked out.
4. Preheat the oven to 375°F. Boil the pasta according to the package directions.
5. Once the onions are golden and caramelly, transfer them to a plate.
6. Add the butter to the skillet. Once melted, add in the flour, whisking to create a roux. Add the spices and cook for 2-3 minutes, until it becomes golden in color and starts to smell nutty.
7. Slowly stream in the milk while stirring constantly. The mixture will begin to come together and thicken.
8. Stir in almost all of the cheese (reserve a bit for topping) until it is melted.
9. Add in ¾ of the caramelized onions. Stir in the pasta. Toss it together over and over until it is combined.
10. Top with the remaining cheese on top along with the remaining onions. Sprinkle with the bread crumbs. Bake for 15-20 minutes, or until golden and bubbly.
Leave a Reply