I love making Creamy French Onion Mac and Cheese because it combines two comforting favorites in one delicious dish. The caramelized onions add a deep, sweet, and savory flavor that balances beautifully with the rich cheese sauce.
Another reason I enjoy this recipe is the combination of Gruyère and sharp cheddar. Gruyère gives the sauce a smooth, nutty flavor, while cheddar adds the familiar richness I love in traditional macaroni and cheese.
I also appreciate how versatile this recipe is. I can serve it straight from the stovetop for an extra-creamy texture or bake it with buttery breadcrumbs for a crispy, golden topping.
Ingredients
(Tip: You’ll find the full list of ingredients and measurements in the recipe card below.)
For the Caramelized Onions
-
3 large yellow onions, thinly sliced
-
2 tablespoons unsalted butter
-
1 tablespoon olive oil
-
1/2 teaspoon salt
-
1/2 teaspoon granulated sugar, optional
-
1 teaspoon fresh thyme leaves, or 1/2 teaspoon dried thyme
-
2 garlic cloves, minced
-
1/4 cup low-sodium beef or vegetable broth
For the Mac and Cheese
-
12 ounces elbow macaroni, cavatappi, or another short pasta
-
3 tablespoons unsalted butter
-
3 tablespoons all-purpose flour
-
2 cups whole milk, warmed
-
1 cup heavy cream
-
1 cup shredded Gruyère cheese
-
1 1/2 cups shredded sharp cheddar cheese
-
1/2 cup shredded mozzarella cheese
-
1 teaspoon Dijon mustard
-
1/2 teaspoon garlic powder
-
1/4 teaspoon ground nutmeg, optional
-
1/2 teaspoon black pepper
-
Salt, to taste
For the Crispy Topping
-
3/4 cup panko breadcrumbs
-
2 tablespoons unsalted butter, melted
-
1/4 cup grated Parmesan cheese
-
1/4 cup shredded Gruyère cheese
-
1 tablespoon fresh parsley, chopped
I usually choose yellow onions because they develop a naturally sweet, rich flavor when slowly caramelized. I prefer slicing them thinly so they soften evenly and blend beautifully into the creamy pasta.
For the cheese sauce, I like using freshly shredded Gruyère and cheddar because they melt more smoothly than many pre-shredded cheeses. I also add a little mozzarella for extra creaminess.
Directions
I start by preparing the caramelized onions. I peel the yellow onions and slice them into thin, even pieces.
I heat 2 tablespoons of butter and the olive oil in a large skillet over medium heat. Once the butter melts, I add the sliced onions and sprinkle them with salt.
I stir the onions until evenly coated, then reduce the heat to medium-low. I cook them for approximately 30–40 minutes, stirring every few minutes, until they become deeply golden brown, soft, and naturally sweet.
If the onions begin sticking to the skillet, I add a tablespoon or two of water and scrape up the browned bits. I continue cooking gently rather than increasing the heat because slow caramelization gives the onions their rich flavor.
When the onions are almost ready, I add the optional sugar, thyme, and minced garlic. I cook everything for another 1–2 minutes until fragrant.
Next, I pour in the beef or vegetable broth and stir, scraping the bottom of the skillet to release the flavorful browned bits. I let the liquid simmer for approximately 2–3 minutes, until mostly reduced.
I remove the onions from the heat and set them aside while I prepare the pasta and cheese sauce.
I bring a large pot of generously salted water to a boil. I add the macaroni and cook it for approximately 1–2 minutes less than the package instructions if I plan to bake the finished dish. For stovetop mac and cheese, I cook the pasta until just al dente.
Before draining, I reserve about 1/2 cup of pasta cooking water. I drain the pasta and set it aside without rinsing.
Next, I prepare the creamy cheese sauce. In a large saucepan or Dutch oven, I melt 3 tablespoons of butter over medium heat.
Once the butter melts, I sprinkle in the flour and whisk continuously for approximately 1–2 minutes. I cook the flour just long enough to remove its raw taste without allowing it to brown.
I gradually pour in the warmed whole milk while whisking constantly. I add the heavy cream and continue whisking until the mixture becomes smooth.
I cook the sauce over medium-low heat for approximately 4–6 minutes, stirring frequently, until it thickens enough to lightly coat the back of a spoon.
I add the Dijon mustard, garlic powder, optional nutmeg, and black pepper. I stir until the seasonings are evenly incorporated.
Next, I reduce the heat to low and gradually add the shredded Gruyère, sharp cheddar, and mozzarella, one handful at a time.
I stir gently after each addition until the cheese melts completely. I avoid boiling the sauce because excessive heat can cause the cheese to separate and become grainy.
Once the sauce is smooth and creamy, I fold in the caramelized onions, making sure they are evenly distributed.
I add the cooked pasta and gently stir until every piece is coated with the rich French onion cheese sauce.
If the sauce seems too thick, I add a few tablespoons of the reserved pasta cooking water until it reaches my preferred consistency.
At this point, I can serve the Creamy French Onion Mac and Cheese directly from the stovetop for an especially smooth, creamy texture.
Optional Baking Instructions
When I want a golden, crispy topping, I preheat my oven to 375°F (190°C) and lightly grease a 9 x 13-inch baking dish.
I transfer the prepared mac and cheese into the baking dish and spread it into an even layer.
In a small bowl, I combine the panko breadcrumbs, melted butter, and grated Parmesan cheese. I stir until the breadcrumbs are evenly coated.
I sprinkle the breadcrumb mixture over the mac and cheese, followed by the additional shredded Gruyère.
I bake the casserole uncovered for 15–20 minutes, until the sauce bubbles around the edges and the topping becomes golden brown.
If I want a crispier finish, I broil the casserole for 1–2 minutes, watching carefully to prevent burning.
I remove the dish from the oven and allow it to rest for approximately 5 minutes before serving.
I finish with freshly chopped parsley and serve the mac and cheese warm while the sauce is still creamy and the cheese is beautifully melted.
Servings and Timing
I usually get 6 generous servings or 8 smaller side-dish portions from this recipe.
-
Prep time: 15 minutes
-
Onion caramelizing time: 30–40 minutes
-
Pasta and sauce preparation: 20–25 minutes
-
Optional baking time: 15–20 minutes
-
Total time: About 1 hour 10 minutes for stovetop, or 1 hour 30 minutes for baked
-
Servings: 6–8
I can save preparation time by caramelizing the onions a day ahead and storing them in the refrigerator until I’m ready to make the cheese sauce.
Variations
For Extra Cheesy French Onion Mac and Cheese, I add another 1/2 cup of Gruyère or white cheddar to the sauce. I love how the additional cheese creates an even richer texture and a stronger savory flavor.
When I want French Onion Mac and Cheese with Mushrooms, I sauté 8 ounces of sliced cremini mushrooms until golden and their moisture has evaporated. I stir them into the pasta along with the caramelized onions for a deeper, earthy flavor.
For French Onion Chicken Mac and Cheese, I add 2 cups of cooked, shredded chicken to the finished cheese sauce. I find this version especially satisfying when I want to turn the recipe into a hearty main course.
When I want a lighter version, I replace the heavy cream with additional whole milk and reduce the cheese slightly. The sauce remains creamy, although it has a lighter texture.
For Garlic and Herb French Onion Mac and Cheese, I add an extra minced garlic clove and a tablespoon of chopped fresh parsley or chives. I also like adding a little fresh rosemary for a more aromatic flavor.
When I want a crunchy topping without baking the entire dish, I toast the panko breadcrumbs in a skillet with melted butter until golden. I sprinkle them over individual servings of stovetop mac and cheese just before serving.
Storage/Reheating
I let leftover Creamy French Onion Mac and Cheese cool slightly before transferring it to an airtight container. I refrigerate it within 2 hours of cooking and store it for up to 3–4 days.
For stovetop reheating, I place the mac and cheese in a saucepan over low heat and add a splash of milk. I stir gently for approximately 5–8 minutes, until the sauce becomes creamy again and the pasta is thoroughly heated.
When reheating a baked portion, I place it in an oven-safe dish, add a little milk around the edges, and cover loosely with aluminum foil. I reheat at 350°F (175°C) for approximately 15–20 minutes, or until the center reaches 165°F (74°C).
I can also use the microwave for individual servings. I add a tablespoon of milk, cover loosely, and heat in 30–60-second intervals, stirring between intervals when possible.
I prefer enjoying this mac and cheese fresh, but I can freeze it for up to 2 months in a freezer-safe container. I thaw it overnight in the refrigerator before reheating gently with a little extra milk.
FAQs
Can I make Creamy French Onion Mac and Cheese ahead of time?
Yes. I can caramelize the onions up to 3 days in advance and refrigerate them in an airtight container. I can also assemble the mac and cheese up to 24 hours before baking. When preparing it ahead, I keep the sauce slightly looser because the pasta absorbs moisture as it sits. I add the breadcrumb topping just before baking and allow extra time for a refrigerated casserole to heat through.
What cheese is best for French Onion Mac and Cheese?
I prefer a combination of Gruyère and sharp cheddar. Gruyère provides the nutty, savory flavor associated with French onion soup, while cheddar gives the sauce a familiar macaroni-and-cheese taste. I sometimes add mozzarella for extra creaminess or substitute Swiss cheese when Gruyère isn’t available.
How do I caramelize onions without burning them?
I cook the onions slowly over medium-low heat and stir them regularly. If the skillet becomes too dry or the onions start sticking, I add a small splash of water. I avoid using high heat because the onions can burn before their natural sugars have time to develop.
Why is my homemade mac and cheese sauce grainy?
I find that grainy cheese sauce usually happens when the cheese becomes too hot or is added too quickly. I reduce the heat before adding the cheese and stir it in gradually. I also prefer freshly shredded cheese because it generally melts more smoothly than packaged shredded cheese.
What can I serve with French Onion Mac and Cheese?
I love serving this creamy pasta with roasted chicken, grilled steak, steamed broccoli, roasted asparagus, or a fresh green salad. Since the mac and cheese is rich and filling, I often pair it with vegetables or a light salad to balance the meal.
Conclusion
This Creamy French Onion Mac and Cheese Recipe is one of my favorite ways to combine the rich, savory flavor of caramelized onions with classic homemade macaroni and cheese. I love how the tender pasta, sweet onions, Gruyère, cheddar, and silky cheese sauce come together to create a comforting dish that’s perfect for family dinners or special occasions. Whether I serve it creamy from the stovetop or bake it with a golden breadcrumb topping, this French onion mac and cheese is a recipe I enjoy making again and again.