Dinner

French Onion Mac and Cheese

French onion mac and cheese in a glass baking dish with rotini, caramelized onions and a golden toasted panko topping
Share it on Pinterest Facebook Email
Jump to Recipe

This French onion mac and cheese started as a little experiment and turned into the side dish my family asks for every holiday.

The first time I made it, my youngest picked at her bowl looking for onions to push to the side. She couldn’t find any. After an hour in the pot, they had melted into the sauce so completely that all she tasted was sweet, savory and very cheesy. She asked for seconds before I told her what was in it.

It’s everything we love about French onion soup, baked into a creamy mac and cheese: deeply caramelized onions, nutty Gruyère, a little beef broth, fresh thyme and a golden, toasty top. When it comes out of the oven, the edges are bubbling, the cheese has browned in spots, and the whole kitchen smells like a bowl of onion soup.

One honest note before we start: the onions take about an hour. You don’t have to stand over them the whole time, and you can make them days ahead. And no, there’s no packet of onion soup mix in here. All the flavor comes from real onions cooked low and slow.

Why You’ll Love This Recipe

It actually tastes like the soup. A cup of beef broth in the cheese sauce gives it that deep, savory backbone. Thyme, a bay leaf and a little Worcestershire do the rest.

Gruyère and sharp white cheddar. Gruyère is the cheese on top of French onion soup, and cheddar keeps it creamy like the mac and cheese you grew up with.

There’s a weeknight version. With onions already in the fridge, a one-pot version comes together in about 25 minutes.

Ingredients You’ll Need

For the caramelized onions

3 pounds yellow onions (about 4 large), halved and thinly sliced – It looks like way too many. They shrink down to about 1½ cups.

3 tablespoons unsalted butter and 1 tablespoon olive oil – The oil keeps the butter from burning during the long cook.

1 teaspoon kosher salt – Or ½ teaspoon table salt.

4 sprigs fresh thyme (or ½ teaspoon dried) and 1 bay leaf – Just like the soup.

⅓ cup low-sodium beef broth plus 1 teaspoon balsamic vinegar – To scrape up all the browned bits at the end.

For the pasta and cheese sauce

1 pound cavatappi, rotini or medium shells – The sauce gets trapped inside the spirals.

4 tablespoons unsalted butter and ⅓ cup all-purpose flour – Cooked together first so the sauce thickens smoothly.

3 cups whole milk, warmed – Warm milk whisks in without lumps.

1 cup low-sodium beef broth – This is what makes it taste like French onion soup.

2 teaspoons Worcestershire sauce and 1 teaspoon Dijon mustard – A savory note you can’t quite name.

A pinch of ground nutmeg and ½ teaspoon black pepper – Just a pinch. You won’t taste it, but you’d miss it.

12 ounces Gruyère (about 3 cups), grated from the block, divided – 2 cups go in the sauce, 1 cup on top.

8 ounces sharp white cheddar (about 2 cups), grated from the block – Sharp and creamy. Yellow cheddar works too.

Salt, to taste – Added at the end.

For the topping

¾ cup panko breadcrumbs and 2 tablespoons melted butter – For a golden, crunchy top.

Fresh thyme leaves – For serving.

How to Make This Recipe

Start with the onions. Melt the butter with the olive oil in a large Dutch oven over medium heat. Add the onions and salt, and stir until they’re coated. The pot will be piled high. Give it 10 minutes, stirring now and then, until the onions are soft and look see-through.

Tuck in the thyme and bay leaf, turn the heat down to medium-low, and keep going for another 40 to 50 minutes, stirring every 5 minutes or so. If brown bits start sticking to the bottom, add a splash of water and scrape. Around 25 minutes in, they’ll be light golden and smell sweet. By 45 to 60 minutes, they should be deep amber, soft and jammy. Taste one. It should be sweet, with no raw bite at all.

Pour in the ⅓ cup of beef broth and the balsamic, and scrape the bottom of the pot well. Let it bubble for 1 to 2 minutes, until it’s mostly gone. Fish out the thyme stems and bay leaf, scoop the onions into a bowl, and set aside about ¼ cup for the top.

During the onions’ last 20 minutes, heat the oven to 375°F and butter a 9×13-inch baking dish. Boil the pasta in well-salted water for 2 minutes less than the package says, then drain it.

Now the sauce, in the same pot. No need to wash it. Melt the 4 tablespoons of butter over medium heat, whisk in the flour, and cook for about 2 minutes, until it smells a little nutty. Slowly whisk in the warm milk, then the beef broth. Let it simmer gently, whisking often, for 5 to 7 minutes, until it coats the back of a spoon.

Turn the heat to low. Stir in the Worcestershire, Dijon, nutmeg and pepper. Add the cheddar and 2 cups of the Gruyère one handful at a time, letting each melt before adding the next. Taste it now and add salt. I usually need about ½ teaspoon of kosher salt.

Stir the onions into the sauce, then fold in the pasta. It should look a little looser and saucier than you think it should. The pasta keeps drinking up sauce in the oven, and that’s what keeps it creamy.

Pour it into the baking dish. Scatter the reserved onions and the last cup of Gruyère over the top. Toss the panko with the melted butter and sprinkle it over the cheese.

Bake for 20 to 25 minutes, until the edges are bubbling and the top is golden. For a darker top, run it under the broiler for 1 to 2 minutes, and don’t walk away. Let it rest for 10 minutes so the sauce settles, then sprinkle with fresh thyme and serve.

A plate of baked French onion mac and cheese with creamy rotini, soft caramelized onion strands and toasted breadcrumbs

My “Sweet, Not Burnt” Onion Mini Guide

  • Use a big pot. Three pounds of onions steam in a small pan instead of browning.
  • Medium-low and patience. High heat browns the outside before the inside turns sweet.
  • Dark bits are good. Black bits are not. A splash of water and a good scrape fixes it.
  • Go by color and taste, not the clock. Your stove, pan and onions all change the timing.
  • Skip the shortcuts. Sugar adds sweetness but not real depth, and baking soda turns them mushy.
Side Dish • American

French Onion Mac and Cheese

Creamy baked mac and cheese made with slow-caramelized onions, Gruyère, sharp white cheddar, beef broth and thyme, finished with a golden panko top. All the flavor of French onion soup, no soup mix.

Prep Time 20 mins
Cook Time 100 mins
Total Time 120 mins
Yield 8 servings
Leave a review
French Onion Mac and Cheese
Servings: 8

Ingredients 23 items

  • Caramelized onions
  • Pasta and sauce
  • Topping

Instructions 10 steps

  1. 1

    Soften the onions

    In a large Dutch oven over medium heat, melt the butter with the olive oil. Add the onions and salt and cook for 10 minutes, stirring occasionally, until soft.

  2. 2

    Caramelize

    Add the thyme and bay leaf. Reduce the heat to medium-low and cook for 40 to 50 minutes more, stirring every 5 minutes and adding a splash of water if the bottom gets too dark, until deep amber and jammy.

  3. 3

    Deglaze

    Add the 1/3 cup beef broth and the balsamic vinegar, scrape up the browned bits, and simmer 1 to 2 minutes until mostly evaporated. Remove the thyme stems and bay leaf. Transfer the onions to a bowl and set aside 1/4 cup for the top.

  4. 4

    Cook the pasta

    Heat the oven to 375°F (190°C) and butter a 9x13-inch baking dish. Boil the pasta in salted water for 2 minutes less than the package directions, then drain.

  5. 5

    Make the roux

    In the same Dutch oven over medium heat, melt 4 tablespoons of butter. Whisk in the flour and cook for 2 minutes.

  6. 6

    Build the sauce

    Slowly whisk in the warm milk, then the 1 cup of broth. Simmer gently, whisking often, for 5 to 7 minutes until the sauce coats a spoon.

  7. 7

    Add the cheese

    Reduce the heat to low. Stir in the Worcestershire, Dijon, nutmeg and pepper. Add the cheddar and 2 cups of the Gruyère a handful at a time until melted. Taste and add salt.

  8. 8

    Combine

    Stir in the onions, then fold in the pasta. Pour into the baking dish.

  9. 9

    Top

    Top with the reserved onions and the remaining Gruyère. Toss the panko with the melted butter and sprinkle over the top.

  10. 10

    Bake and rest

    Bake for 20 to 25 minutes until bubbling and golden, broiling 1 to 2 minutes if desired. Rest for 10 minutes, sprinkle with thyme and serve.

Tips & Substitutions

  • Grate the cheese from the block for the smoothest sauce. Keep the heat low once the cheese goes in.
  • The onions can be caramelized up to 4 days ahead (refrigerated) or frozen for up to 3 months.
  • Make ahead: assemble without the topping up to 1 day ahead, adding 1/2 cup extra milk to the sauce. Bake covered at 375°F for 20 minutes, then uncovered for 15 to 20 minutes until the center reaches 165°F.
  • Weeknight one-pot version: simmer 8 oz small pasta in 2 1/2 cups low-sodium beef broth with 3/4 cup caramelized onions and 2 tbsp butter for 10 to 12 minutes, then stir in 1/2 cup half-and-half, 1 tsp Worcestershire, 1/2 tsp Dijon, 1 1/2 cups Gruyère and 1/2 cup cheddar.
  • Gruyère swaps: Comté, Emmental, Jarlsberg or a good Swiss cheese.
  • Storage: refrigerate 3 to 4 days. Reheat with a splash of milk.
Nutrition Facts 800 kcal / serving
Protein32g
Carbs71g
Fat42g
Fiber5g
#French Onion Mac and Cheese #baked french onion mac and cheese #one pot french onion mac and cheese #french onion soup mac and cheese #gruyere mac and cheese #caramelized onion mac and cheese #holiday mac and cheese

Helpful Tips

Grate Your Own Cheese

Bagged shredded cheese is coated with an anti-caking starch, and that coating makes a sauce gritty. If Gruyère is hard to find, Comté, Emmental, Jarlsberg or a good Swiss all work.

Making It Ahead for the Holidays

This is my Thanksgiving and Christmas mac and cheese. Caramelize the onions up to 4 days ahead. The day before, make it through the assembly, stirring an extra ½ cup of milk into the sauce, since the pasta soaks up more as it sits. Cover and refrigerate, without the topping. On the day, let it sit out for 30 minutes, add the toppings, and bake covered at 375°F for 20 minutes, then uncovered for 15 to 20 minutes, until the center is hot (165°F).

Weeknight One-Pot Version

With caramelized onions already made, this one is ready in about 25 minutes. Warm ¾ cup of onions in a deep skillet with 2 tablespoons of butter and a little thyme. Add 8 ounces of small pasta and 2½ cups of low-sodium beef broth, cover, and simmer for 10 to 12 minutes, stirring often, until tender. On low heat, stir in ½ cup of half-and-half, 1 teaspoon Worcestershire, ½ teaspoon Dijon, then 1½ cups Gruyère and ½ cup cheddar. Rest for 2 minutes and serve. It serves 3 to 4.

Easy Variations

  • Soup-style top: swap the panko for toasted baguette slices covered in Gruyère.
  • Vegetarian: use mushroom broth and a vegetarian Worcestershire.

What to Serve with It

It’s rich, so I like something fresh next to it. A green salad with a mustardy vinaigrette, roasted broccoli or green beans are all great.

Storing and Reheating

Leftovers keep in an airtight container in the fridge for 3 to 4 days. Reheat with a splash of milk in the microwave, stirring halfway, or covered in a 350°F oven for about 20 minutes.

Frequently Asked Questions

Do I need French onion soup mix?

No. All the flavor comes from real caramelized onions, beef broth, thyme and Worcestershire.

What’s the best pasta for French onion mac and cheese?

Cavatappi or rotini for the baked version, because the spirals hold the sauce. Medium shells, elbows or rigatoni work too. For the one-pot version, use small shapes like ditalini.

Can I make it in one pot?

Yes. Use the weeknight one-pot version above. The pasta cooks right in the beef broth.

Can I use pre-shredded cheese?

You can, but the sauce may come out slightly grainy. Grating from the block makes the smoothest sauce.

Can I freeze it?

Yes, before baking and without the topping, for up to 2 months. Thaw overnight in the fridge, then bake as in the make-ahead tip.

Final Thoughts

This French onion mac and cheese takes a little patience at the start, but every minute those onions spend in the pot shows up in the final bite.

It’s the dish I bring when I want people to go quiet for a second after the first forkful. And it’s the one my youngest still asks for, onions and all.

Katie
Written by

Katie

I'm Katie, a home cook who really loves feeding people. Simple ingredients, honest recipes, no fuss. Pull up a chair.

Read my story →

Leave a comment