Melty brie, nutty white cheddar, and jammy caramelized onions come together in this baked Caramelized Onion & Brie Mac & Cheese recipe, and the result is pure, creamy deliciousness!

If you’re looking for a decadent, special-occasion-worthy, gourmet mac and cheese recipe, this is it! Bonus: It’s a vegetarian Thanksgiving idea that’s perfect for the non-meat-eaters but also one that everyone will love.

Caramelized Onion & Brie Mac & Cheese in a casserole dish with a serving spoon

The Story Behind the Recipe

Mac and cheese is my faaaaaaavorite food. Other than olives, that is (why are olives so good?!) Okay, and chocolate chip cookies. But mac and cheese? Up there for sure. As a kid, my grandma would literally wrap up boxes of Kraft dinner for me for birthday and Christmas, and I would react with sincere delight every single time.

I wanted to create a truly gourmet mac and cheese recipe, something that’s elevated from the standard fare. I thought I’d start with creamy brie cheese for a luxurious sauce, and quickly added jammy sweet caramelized onions which bring the most amazing flavor to the dish. Thyme seemed like a natural herb to join the party, and white cheddar adds a bit of bite to the whole affair. Gah, I’m in love.

Caramelized Onion & Brie Mac & Cheese on a white plate with a fork

This Caramelized Onion & Brie Mac & Cheese is a far cry from the boxed stuff (which has its place, I’m an equal opportunity mac lover!)

Because caramelized onions take time to do right, it’s a little bit of a labor of love – but I promise, it’s so worth it! Ooey, gooey, with bits of sweet oniony goodness and loads of cheese flavor.

Ingredients for Caramelized Onion & Brie Mac & Cheese

Caramelized Onion & Brie Mac & Cheese Recipe Ingredients

  • Butter – For caramelizing the onions and for the roux.
  • Olive oil – Also for the onions (the combo creates the best environment for caramelizing onions in my opinion)
  • Onions – Just your standard yellow onions are perfect here.
  • Pasta – Any medium tubular pasta will work. I like traditional macaroni or penne.
  • Flour – Joins up with the butter for the roux, which is the backbone of the thick and creamy sauce.
  • Dry mustard – I love to use dry mustard in my mac and cheese recipes because it really highlights the cheese flavors and adds nice depth of flavor.
  • Dried thyme – You can swap in fresh thyme if you wish, about a teaspoon or so.
  • Salt & pepper
  • Milk – I prefer whole milk or 2%.
  • Brie cheese – You’ll need 8 ounces, which is one standard-sized wheel. Cut off the rind, cut the cheese into hunks, and you’re ready to go.
  • White cheddar – Because brie cheese is so mild tasting, I like to beef up the cheese flavor with sharp cheddar.
  • Breadcrumbs – For a crisp topper. You can use any breadcrumbs, but I’m partial to Panko-style because they’re coarser and therefore lend a bit of crunch.
Caramelized Onion & Brie Mac & Cheese on a plate

How to Make It

  1. First, you’ll want to start your onions caramelizing. Put the butter and olive oil in a big pot, add your sliced onions, and get them going.
  2. Cook your pasta.
  3. Once the onions are caramelized, pull out about 1/4 cup of them (you’ll use them for topping your brie mac and cheese later). Then, add the remaining butter, melt it, then add the flour, mustard powder, thyme, salt, and pepper. Stir and cook for 3 minutes.
  4. Stream in the milk, stirring constantly. Cook, stirring, until thickened.
  5. Remove from heat and add the cheeses, reserving 1/4 cup of the cheddar for topping. Stir until almost melted (a few brie chunks are okay).
  6. Stir in the pasta.
  7. Pour the pasta and cheese sauce into your baking dish.
  8. Arrange the remaining caramelized onions and sprinkle the remaining cheese over the top.
  9. Mix the breadcrumbs with melted butter and salt and sprinkle over the top.
  10. Bake until bubbly and the breadcrumbs are golden.
  11. Garnish with a little fresh thyme or parsley if desired and serve.

Jump to full, printable recipe

onions for Caramelized Onion & Brie Mac & Cheese
caramelized onions for Caramelized Onion & Brie Mac & Cheese
milk for Caramelized Onion & Brie Mac & Cheese
adding cheeses to Caramelized Onion & Brie Mac & Cheese
Caramelized Onion & Brie Mac & Cheese with bread crumbs ready to bake
baked Caramelized Onion & Brie Mac & Cheese

Important Tip for Success for Gourmet Mac & Cheese

  • Don’t rush the onions! Caramelized onions can’t be rushed. They take a good 40+ minutes to do right (sorry). But it’s totally worth the end result.
Caramelized Onion & Brie Mac & Cheese with serving spoon

I hope this creamy, decadently cheesy caramelized onion mac & cheese is a new fave for you and your family! If you try this recipe and love it (or have any feedback), please come back and leave a comment and rating – it helps me and others!

Caramelized Onion & Brie Mac & Cheese in a white casserole dish
No ratings yet

Caramelized Onion & Brie Mac & Cheese

Prep: 30 minutes
Cook: 30 minutes
Total: 1 hour
Author: Karen
Yield: 8 servings
Ultra creamy, cheesy macaroni with jammy caramelized onions and a golden breadcrumb lid. Mac and cheese perfection!

Ingredients

  • 4 tablespoons unsalted butter (1 for the onions + 3 for the sauce)
  • 1 tablespoon olive oil (for the onions)
  • 2 medium yellow onions (halved then thinly sliced)
  • 8 ounces pasta (I really like penne for this one; macaroni is great too)
  • 1/4 cup all-purpose flour
  • 1/2 teaspoon dry mustard
  • 1/4 teaspoon dried thyme
  • 1/2 teaspoon salt
  • 1/4 teaspoon freshly ground black pepper
  • 2 1/4 cups 2% milk
  • 8 ounces brie cheese (1 1/2 cups; rind removed and cut into 1-inch blocks)
  • 6 ounces sharp white cheddar cheese (1 1/4 cups; divided)

For the crumb topping

  • 1 cup breadcrumbs (I love Panko-style but finer breadcrumbs will work, too)
  • 1/4 teaspoon kosher salt
  • 2 tablespoons unsalted butter

Instructions

Caramelize the onions

  • Add 1 tablespoon of the butter and the olive oil to a heavy large pot set over medium heat. Add the onions. Cook, stirring frequently, until very soft, deep brown, and caramelized. If the onions begin to brown too quickly, reduce the heat. Caramelizing the onions takes awhile – we're talking 35-45 minutes – but give it time, I promise, it's worth it!
  • Pull out about 1/4 cup of the caramelized onions and set them aside. This is for arranging on the top of the mac and cheese before baking it.

Cook the pasta

  • While the onions are caramelizing, cook the pasta. Set a large pot of water over high heat. When it comes to a boil, add a hefty pinch of salt and the pasta. Give it a stir so the pasta doesn't stick to the bottom and boil according to package instructions, just until al-dente. Drain the pasta in a colander and set aside.

Make the sauce and put it all together

  • Preheat the oven to 375 degrees Fahrenheit. Have a tall 8"x8" baking dish (2 quart capacity) ready.
  • Reduce onion heat to low. Add the remaining 3 tablespoons butter. Once melted, add the flour, dry mustard, thyme, salt, and pepper. With a whisk, stir constantly for three minutes to help remove any raw taste from the flour.
  • Add the milk in a thin stream, stirring constantly with the whisk. Increase heat to medium and continue to stir constantly until the sauce thickens enough to coat the back of a spoon, 5-8 minutes.
  • Remove the milk and onion mixture from heat. Add the brie cheese and 1 cup of the cheddar cheese. Stir until melted. There might be a few lumps of the brie left here and there but that's okay, that'll melt when baking.
  • Add the pasta to the cheese sauce and stir until the pasta is coated. It will seem VERY saucy – that's okay. It will thicken when baked.
  • Add the pasta to a 2-quart casserole dish. Sprinkle on the remaining cheddar and arrange the reserved caramelized onions over the top.
  • In a small bowl, mix together the bread crumbs and salt. Pour in the melted butter. Mix together and then sprinkle evenly over the top of the mac and cheese.
  • Bake for 25-30 minutes, until the mac and cheese is bubbling and browning on top.

Notes

Make-ahead notes

Assemble the mac & cheese up to the point of baking, refrigerating, then, before baking, let it sit at room temperature for about 30 minutes. Then proceed with baking.

Nutrition Facts

Serving: 1cup, Calories: 490kcal, Carbohydrates: 40g, Protein: 19g, Fat: 28g, Saturated Fat: 16g, Polyunsaturated Fat: 2g, Monounsaturated Fat: 8g, Trans Fat: 0.4g, Cholesterol: 77mg, Sodium: 670mg, Potassium: 291mg, Fiber: 2g, Sugar: 6g, Vitamin A: 713IU, Vitamin C: 2mg, Calcium: 324mg, Iron: 2mg

Share or save:

This post may contain affiliate links, which means if you click on a link and make a purchase, I may receive a portion of the proceeds. More about this here.