• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Cooking For My Soul logo

  • Thanksgiving
  • Recipes
  • Kitchen Tips
  • About
  • Contact
  • Subscribe
menu icon
go to homepage
  • Thanksgiving
  • Recipes
  • Kitchen Tips
  • About
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
  • search icon
    Homepage link
    • Thanksgiving
    • Recipes
    • Kitchen Tips
    • About
    • Contact
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
  • ×
    Home » Recipes » Sides

    French Onion Mac and Cheese

    Modified: Oct 31, 2025 · Published: Oct 22, 2025 by Tania · 1 Comment · This post may contain affiliate links.

    Jump to Recipe
    • Pinterest
    • Facebook
    • Twitter
    • Email

    This French Onion Mac and Cheese is the ultimate mashup of two comfort food favorites: mac and cheese and French onion soup!

    It’s creamy and cheesy, and packed with deeply caramelized onions for amazing depth, then finished with a golden panko breadcrumb topping for the perfect crunch. Like my French Onion Pot Roast, this French onion mac and cheese is always a winner!

    creamy french onion mac and cheese baked in a ceramic casserole

    Everyone always goes crazy for this baked French onion mac and cheese! Serve it for the holidays or at your next family gathering, and watch how quickly it disappears!

    What makes this French onion mac and cheese special is the combination of savory Gruyere cheese – which has an amazing, complex sharp flavor – and those signature French onion flavors. Together, they elevate the classic mac and cheese recipes, such as this stovetop mac and cheese or my white cheddar mac and cheese into something incredible.

    I want to mention how important it is to not rush caramelizing the onions. Pack your patience because cooking them low and slow is the best way to bring out their rich color, deep flavors and sweetness. You can even do this part ahead!

    If you’re lucky enough to have leftovers, I highly recommend making my Mac and Cheese Bites!

    Jump to:
    • Why I Love This Recipe
    • Ingredient Notes
    • How to Make French Onion Mac and Cheese
    • Tips for Success
    • Make Ahead, Storage, Freezing
    • Recipe FAQs
    • More Sides Dishes for a Crowd
    • French Onion Mac and Cheese

    Why I Love This Recipe

    • Cozy and comforting. It’s two classic comfort dishes in one baked, cheesy dish!
    • Perfect for the holidays or gatherings. This French onion mac and cheese recipe makes a big batch.
    • Easy to make. Even easier when you caramelize onions ahead, plus it’s freezer-friendly.

    Ingredient Notes

    I have included a few notes from recipe testing that I hope you find helpful. Possible substitutions are provided here as well.

    labeled ingredients
    • Yellow onions: They have a mild, slightly sweet flavor, perfect for caramelizing. Once caramelized, they will develop a deep flavor without being overpowering. Onions reduce a lot, so plan to use about 4 large onions!
    • Unsalted butter, balsamic vinegar, and thyme for the onions: Cooking the onions in butter is extra flavorful. The vinegar gives them a nice color and extra flavor, and helps tenderize them better.
    • Cavatappi pasta: This is my favorite pasta for French onion mac and cheese! They are just the right size, and their shape allows for the creamy sauce and caramelize onions to cling onto.
    • Unsalted butter, all-purpose flour, and whole milk: This is the base of the cheese sauce that helps to thicken it up and be creamy. Use whole milk for the extra richness.
    • Gruyere cheese: Gruyere is what’s traditionally used in French onion soup, so that’s what we’re going for here. IMPORTANT: Use freshly grated cheese so it melts into a smooth sauce! Pre-shredded cheese can sometimes contain extra ingredients that make it gritty.
    • Dijon mustard, garlic powder, salt and pepper for seasoning
    • Panko breadcrumbs, tossed with olive oil (for crispiness and color)

    As always, ingredient quantities are listed in the recipe card down below.

    How to Make French Onion Mac and Cheese

    Prepping for this delicious French Onion mac and cheese is actually really easy! All you need is a little patience for the onions to caramelize. Let’s make it!

    Step 1 | Caramelize onions

    Melt butter in a large 12-inch skillet. Add the sliced onions and a pinch of salt, and cook for 15 minutes over medium heat. Reduce heat to medium-low, then continue cooking for another 30 minutes, stirring only occasionally, until the onions are caramelized. In the last 5 minutes, stir in the remaining butter, balsamic vinegar, and thyme.

    sliced onions on the left, golden brown caramelized onions on the right

    Step 2 | Start the mac and cheese sauce

    Cook the pasta: About 20 minutes before the onions are ready, cook the pasta to al dente. Drain, rinse, and set aside.

    Make the sauce: Melt butter in a pot over medium heat. Whisk in flour and cook for a few minutes until nutty. Gradually whisk in milk until smooth and thickened, it will thicken as it heats up. Season with Dijon, garlic powder, salt, and pepper.

    making the roux and adding milk to make creamy sauce in a dutch oven

    Step 3 | Add cheese and pasta

    Reduce heat to low, then stir in the shredded gruyere cheese until melted and smooth. Then, add the cooked pasta until evenly coated.

    Make sure the Gruyere cheese is freshly grated! Use a box grater or food processor (with the shredding blade).

    adding cheese and pasta to the pot with the sauce

    Step 4 | Assemble and bake

    In a 9×13-inch baking dish, layer half of the mac and cheese. Swirl in most of the caramelized onions and sprinkle with more cheese. Add the remaining mac and cheese, then top with the rest of the onions, remaining cheese, and panko tossed with a bit of olive oil. Bake, uncovered, at 375 degrees F for 25 minutes until golden brown and bubbly.

    assembled and baked mac and cheese

    Let the baked French onion mac and cheese cool slightly before serving.

    cheese pull of french onion mac and cheese in baking pan

    Tips for Success

    • Use about 4 large onions. It may seem like a lot, but they will reduce significantly. They should be thinly sliced to about the same size.
    • Use yellow onions. They are milder and sweeter.
    • Use the right pan for the onions. I use a 12-inch deep pan. This allows for the onions spread out, without overcrowding and steaming.
    • Patience is key. Take care to caramelize slowly, and only stir occasionally. They take about 40-45 minutes.
    • Cook pasta until just al dente since it will all finish baking in the oven.
    • Grate your own cheese! Pre-shredded cheese often comes with added starch, which can make the sauce gritty.
    • Low heat for the cheese. When adding the cheese into the sauce, do it over very low heat or even off the heat.

    Make Ahead, Storage, Freezing

    Caramelize onions ahead: Caramelize onions up to 2 days ahead, and keep refrigerated. Warm it up slightly before assembling your French onion mac and cheese.

    Make ahead, bake later: Assemble the mac and cheese in the casserole dish without the panko topping. Cover and refrigerate overnight. Before baking, let it sit at room temperature for 30 minutes, then add the topping and bake as directed, adding a few extra minutes until golden and bubbly.

    Freezing: Once completely cooled, divide it up into freezer-safe containers. Freeze for up to 2 months. Thaw in the fridge overnight, then reheat smaller portions in the microwave, or larger portions in the oven until warmed through.

    Storage: To store leftovers, keep it covered in an airtight container for up to 3-4 days. Reheat in the microwave oven or in the oven.

    a bowl with a spoon of creamy mac and cheese

    Recipe FAQs

    Is there a way to caramelize the onions quickly?

    Unfortunately, no. Caramelizing properly takes about 40-45 minutes. Turning up the heat can burn them and make them bitter. However, you can do this up to 2 days ahead and add them when assembling.

    What other cheeses can I use to make French onion mac and cheese?

    Gruyere cheese is ideal. You could also try white cheddar cheese, gouda, or Swiss cheese.

    Can I use a different pasta shape?

    Certainly! Shells, fusilli, rigatoni, bowtie, or shells are great choices.

    Can I skip the breadcrumb topping?

    Yes, absolutely. I like the added texture it provides, but you can definitely omit.

    More Sides Dishes for a Crowd

    • a spoon scooping out potato casserole from a baking pan
      Loaded Mashed Potato Casserole
    • holding a baking pan with stuffing
      Cornbread Stuffing
    • cheese brussels sprouts gratin
      Cheesy Brussels Sprouts Gratin
    • Rosemary Gruyere Potato Stacks
      Rosemary Gruyere Potato Stacks

    I’d love to hear from you! If you loved my recipe, please consider leaving a 5-star rating and a comment down below. Sign up for my newsletter and follow along on Instagram, Facebook, or Pinterest

    french onion mac and cheese pull
    Print Pin
    5 from 1 vote

    French Onion Mac and Cheese

    Try this creamy, ultra cheesy, and delicious French onion mac and cheese next! It's perfect for a crowd and ideal for the holidays, or any time of the year. The caramelized onions add rich and deep flavors to the mac and cheese.
    Course Main Course, Side Dish
    Cuisine American
    Prep Time 30 minutes minutes
    Cook Time 1 hour hour 15 minutes minutes
    Total Time 1 hour hour 45 minutes minutes
    Servings 10 people
    Calories 618kcal
    Author Tania

    Equipment

    • Dutch oven deep skillet for the onions
    • box grater
    • 9×13 baking pan

    Ingredients

    Caramelized onions:

    • 4 tablespoons unsalted butter - divided
    • 4 large yellow onions - peeled and sliced
    • 2 tablespoons balsamic vinegar
    • 2 teaspoons fresh thyme leaves
    • A splash of beef broth – or water - only if needed

    For the mac and cheese:

    • 1 pound cavatappi pasta
    • ½ cup unsalted butter
    • ⅓ cup all-purpose flour
    • 4 cups whole milk – plus more as needed
    • 16 ounces freshly shredded Gruyere cheese - divided (about 4 cups)
    • 1 teaspoon dijon mustard
    • 1 teaspoon garlic powder - or to taste
    • Salt and pepper - to taste

    Panko breadcrumb topping

    • ⅓ cup panko breadcrumbs
    • 3 tablespoons olive oil

    Instructions

    Caramelize onions

    • In a large deep pan, melt 2 tablespoons of the butter over medium heat. Add the sliced onions and a pinch of salt. Cook over medium heat for 15 minutes to get a head start.
    • Then, lower to medium-low heat, and continue cooking the onions, stirring only occasionally, until they are caramelized deep golden, another 30 minutes. In total, caramelizing onions takes 40-45 minutes. Note: The moisture from the onions will deglaze any brown bits, but if needed, add just a little splash of broth or wine to deglaze.
    • During the last 5 minutes, add the remaining 2 tablespoons butter, balsamic vinegar, and thyme leaves until deglazed and golden. Set aside.

    Make the mac and cheese

    • Preheat oven to 375 degrees F. Note: You can start making the mac and cheese about 25 minutes before the onions are ready.
    • Cook the pasta according to package directions until just al dente. Don’t overcook, as it will finish cooking in the oven. Drain and rinse with cold water to stop the cooking process. Set aside.
    • In a large pot, melt ½ cup butter over medium heat. Whisk in the flour and cook for 2-3 minutes to form a roux. It should begin to smell nutty.
    • Gradually stir in the milk, breaking up any lumps. It will thicken as it heats up. Season with dijon mustard, garlic powder, salt and pepper to taste.
    • Over low heat, stir in 3 cups of Gruyere cheese until just melted. Turn off the heat, and continue stirring until the cheese sauce is smooth. Then, add the cooked pasta into the cheese sauce, stirring to coat evenly.

    Assemble and bake

    • Breadcrumb topping: Toss the panko breadcrumbs with olive oil. Set aside.
    • Transfer half of the mac and cheese into a 9×13 baking dish. Swirl in most of the caramelized onions and most of the remaining 1 cup of shredded cheese. Save some onions and cheese for the topping.
    • Layer on the remaining mac and cheese on top. Sprinkle the saved onions, cheese and the prepared panko mixture.
    • Place the mac and cheese over a large sheet pan to catch any spills, just in case. Bake uncovered in the preheated 375 F degree oven for 23-25 minutes or until bubbly and melted. Let it cool slightly before serving. Enjoy!

    Notes

    • Cook pasta until just al dente since it will all finish baking in the oven.
    • You need about 4 large onions. It may seem like a lot, but they will reduce significantly.
    • Yellow onions are best because they are milder and sweet, perfect for caramelizing. Don’t use red onions.
    • Use a large 12-inch deep pan for the onions. That way, they have room to cook without overcrowding, which can cause them to steam instead.
    • Patience is key! They need about 40-45 minutes to properly caramelize.
      Grate your own cheese! This is important. Pre-shredded cheese often comes with added starches that can make the sauce gritty.
     
    Make ahead, freezing, storage
    • Caramelize onions up to 2 days ahead. Refrigerate and warm slightly before using.
    • Or assemble, then bake later: Assemble (without the panko topping) the night before. Before baking, let sit on the counter for 30 minutes so it’s not so cold. Top with breadcrumbs, then bake as directed, adding a few extra minutes until bubbly.
    • Freezing: Let cool completely, then freeze in portions for up to 2 months. Thaw in the fridge overnight and reheat.
    • To reheat, add a splash of milk to make it creamy again.
     
    Substitutions and variations
    • Cheese: Gruyere is best, but Swiss, gouda, or white cheddar work too.
    • Pasta: Shells, fusilli, or rigatoni.
     
    Disclaimer: Nutritional values (per serving) are approximates only.

    Nutrition

    Calories: 618kcal | Carbohydrates: 48g | Protein: 24g | Fat: 37g | Saturated Fat: 20g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 12g | Trans Fat: 1g | Cholesterol: 98mg | Sodium: 400mg | Potassium: 373mg | Fiber: 3g | Sugar: 9g | Vitamin A: 1032IU | Vitamin C: 4mg | Calcium: 609mg | Iron: 1mg
    Tried this Recipe? Tag me on Instagram!Mention @CookingForMySoul or tag #cookingformysoul. Or leave me comment below!

    More Side Dish Recipes

    • green bean casserole with fresh green beans
      Green Bean Casserole with Fresh Green Beans
    • grilled vegetable pasta salad with feta and pistachios
      Grilled Vegetable Pasta Salad
    • close up of crispy smashed potato salad with garnish
      Crispy Smashed Potato Salad
    • easy greek pasta salad in bowl
      Easy Greek Pasta Salad

    Reader Interactions

    Comments

    1. Tania says

      November 01, 2025 at 7:13 pm

      5 stars
      I love this delicious and fun twist in this mac and cheese. The flavor is amazing. I’m going to make it again for Thanksgiving! It makes a big batch for everyone!

      Reply
    5 from 1 vote

    Leave a Reply Cancel reply

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

    Recipe Rating




    Primary Sidebar

    tania from cooking for my soul

    Hi, I'm Tania!

    Welcome to Cooking For My Soul! Here I share my most beloved kitchen-tested recipes, easy-to-follow tutorials, and lots of kitchen tips & tricks to help you gain confidence in the kitchen and take home cooking to the next level!

    More about me →

    Comfort Food

    • dutch oven french onion pot roast with cheese
      French Onion Pot Roast
    • honey balsamic pot roast with potatoes and broccoli
      Honey Balsamic Chuck Roast
    • bowl of rotisserie chicken noodle soup
      Rotisserie Chicken Noodle Soup
    • slow cooker chicken noodle soup
      Slow Cooker Chicken Noodle Soup
    • red wine braised short rib with garnish
      Red Wine Braised Short Ribs
    • easy cottage pie in baking dish
      Easy Cottage Pie

    Popular Recipes

    • Creamy Lemon Chicken Recipe
      Easy Creamy Lemon Chicken
    • top view of cooked roast chicken inside an oval dutch oven
      Dutch Oven Whole Roast Chicken
    • top view of dutch oven pot roast with thyme and vegetables
      Dutch Oven Pot Roast
    • Hearty Beef Stew with Carrots and Potatoes
      Hearty Dutch Oven Beef Stew
    • apple pie with precooked filling
      Apple Pie with Pre-Cooked Apple Filling
    • creamy chicken orzo with spinach and lemon
      Lemon Chicken Orzo

    Featured In

    cooking for my soul banner logos
    Cooking for My Soul featured on banner with company logos

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • Accessibility Statement
    • About Tania

    Newsletter

    • Sign Up for Emails!

    Let's Connect

    • Contact Me
    • Instagram
    • Facebook
    • Pinterest

    COPYRIGHT © 2025 COOKING FOR MY SOUL

    As an Amazon Associate, I earn from qualifying purchases.

    pin image design

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.