This post may contain affiliate links. Please see my disclosure policy
French Onion Mac and Cheese – A rich, cheesy twist on a classic comfort food. Creamy Gruyère, mozzarella, and Monterey Jack melt together with caramelized onions, crispy bacon, and a crunchy crouton topping for the ultimate baked mac and cheese upgrade.
French Onion Mac and Cheese feels like what happens when comfort food decides to dress up a little.
It’s got the same creamy, melty goodness you expect from mac and cheese, but with layers of sweet caramelized onions and Gruyère that give it that cozy, French onion soup flavor.

I like to think of this as the heartier cousin to my French Onion Chicken or French Onion Rice, all the same flavors, just with a little more cheese and a lot more pasta. It’s perfect for when you want something that feels indulgent without needing a ton of effort.

Ingredients Needed
Be sure to scroll to the bottom of the post for the FULL PRINTABLE recipe card.
- Pasta – I used macaroni, but you really can use any short cut shape that you like.
- Butter
- All Purpose Flour
- Milk
- Gruyere Cheese
- Monterey Jack Cheese
- Mozzarella Cheese
- Garlic
- Salt & Pepper
- Fresh Grated Nutmeg
- Caramelized Onions
- Crumbled Bacon – this is optional. Adds great flavor, but you can also leave it out for a vegetarian version.
- Croutons


How to Make French Onion Mac and Cheese
- Cook the Pasta — Boil the pasta until just shy of al dente so it finishes cooking in the oven without getting mushy.
- Make the Roux — Melt butter in a saucepan, then stir in flour and cook briefly to form a smooth paste.
- Build the Sauce — Slowly whisk in milk, stirring constantly until thickened, then season with salt, pepper, and nutmeg.
- Melt the Cheese — Add Gruyère, Monterey Jack, and mozzarella, stirring until melted into a smooth, creamy sauce.


- Combine Everything — Toss the cooked pasta with caramelized onions, bacon, and the cheese sauce until fully coated.
- Assemble the Dish — Pour the mixture into a casserole dish and sprinkle crushed croutons on top.
- Bake to Finish — Bake until hot, bubbly, and golden brown on top, then serve warm.

Recipe Tips & Tricks
- Use freshly grated cheese for the creamiest sauce. Pre-shredded cheese often contains anti-caking agents that prevent smooth melting.
- Caramelize the onions slowly. Low heat and patience bring out their rich sweetness, which balances the salty and cheesy flavors.
- Cook the pasta slightly underdone. It will continue cooking in the oven, so stopping a few minutes early keeps it perfectly tender.
- Whisk constantly when making the roux. This prevents lumps and ensures your sauce is silky and evenly thickened.
- Swap the bacon for caramelized mushrooms. It’s a great vegetarian option that still adds depth and texture.

Yes! Assemble everything up to the baking step, cover tightly, and refrigerate for up to 24 hours. When ready to serve, bake as directed, adding a few extra minutes to heat through.
Short shapes like cavatappi, shells, or elbow macaroni hold the sauce beautifully and keep the dish creamy without becoming soggy.
Yes, you can freeze it before baking. Assemble the dish, wrap it tightly, and freeze for up to two months. When ready, bake from frozen at 350°F until hot and bubbly.
More Pasta Recipes To Try

French Onion Mac and Cheese
Ingredients
- 1 pound pasta, cooked 2 minutes shy of the time on the box
- 3 tablespoons butter
- 3 cloves garlic, minced
- 3 tablespoons all purpose flour
- 2 cups milk
- 1/2 tsp salt
- 1/2 tsp black pepper
- 1/4 tsp fresh grated nutmeg
- 6 ounces Gruyere cheese, shredded
- 6 ounces Monterey Jack, shredded
- 6 ounces mozzarella cheese, shredded
- 1 cup caramelized onions
- 1/2 cup crumbled bacon, optional
- 1/2 cup croutons, crushed
Instructions
- Preheat oven to 350º F.
- In a sauce pan melt butter. Add garlic and saute until fragrant. Mix in flour, and stir until it forms a paste. Slowly whisk in the milk, stirring constantly. Add salt, pepper, and nutmeg.3 tablespoons butter, 3 cloves garlic, 3 tablespoons all purpose flour, 2 cups milk, 1/2 tsp salt, 1/2 tsp black pepper, 1/4 tsp fresh grated nutmeg
- Stir in cheeses, and mix until hot and smooth. Remove from heat.6 ounces Gruyere cheese, 6 ounces Monterey Jack, 6 ounces mozzarella cheese
- In a large bowl mix together cooked pasta, bacon (if using), caramelized onions and cheese sauce.1 pound pasta, 1 cup caramelized onions, 1/2 cup crumbled bacon
- Pour into a large casserole dish. Top with crushed croutons.1/2 cup croutons
- Place in oven for 20-25 minutes; until bubbly and the croutons are golden.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.













My stomach is growling as I scroll through all of your photos. I have to make this ASAP! Wow!!
Such a tasty twist on traditional mac & cheese! Looks amazing. 🙂
This is so good! My whole family loves it!
Caramlized onions are a genuis additon to mac and cheese! Those croutons look great too!
My stomach just growled looking at this! Right up my alley
Delicious mac and cheese, brilliant taste and texture!
Oh my, this looks absolutely amaaazing!! I can’t wait to try this recipe!
It would be nice if the “caramelized onion” portion was included in the recipe, so everything would be contained in one place. Just a suggestion.