This post may contain affiliate links. Please read our disclosure policy.

This French Onion Mac and Cheese combines deeply caramelized onions, beef stock, Gruyère, sharp cheddar, and crispy bacon in an ultra-creamy one-pan dinner. The ditalini cooks right in the beef stock, soaking up all that savory French onion flavor while eliminating the need to boil the pasta separately.

french onion mac and cheese in a bowl
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Behind This French Onion Mac & Cheese Recipe

We’re just entering cozy fall season, and in our house that means macaroni and cheese is officially back in heavy rotation. My family and I adore cheesy pastas in just about any form, and this French Onion Mac and Cheese has been one of our go-to cozy meals for years. It’s the kind of easy dinner we look forward to bringing back when the weather starts to cool down, and it’s always a hit with the kids.

I’ve made versions of this recipe using more complicated methods over the years, but eventually I realized there was no reason to fuss with boiling and draining the pasta separately. Similar to my viral Butter Parmesan Pasta, the pasta cooks directly in the skillet with the broth, absorbing all that flavor as it becomes tender.

For this version, the ditalini cooks right alongside those deeply caramelized onions in beef stock before heavy cream, Gruyère, and sharp cheddar are stirred directly into the pan. You end up with an incredibly creamy mac and cheese while dirtying just one skillet.

And because we’re already caramelizing the onions in bacon fat, it only makes sense to crumble that crispy bacon right back over the top.

french onion mac and cheese with bacon

Tips From My Kitchen

  • Shred your own cheese. This is particularly important for a stovetop mac and cheese. Pre-shredded cheese contains anti-caking agents that can prevent it from melting as smoothly.
  • Don’t rush the onions. Give them about 15 minutes over medium-low heat, stirring frequently. Add small splashes of water whenever the browned bits begin sticking to the skillet. They’ll lift right up and add even more flavor to the onions.
  • Use low-sodium beef stock. Between the bacon, Gruyère, cheddar, and stock, there’s already plenty of salt coming into the dish. Low-sodium stock gives you much better control.
  • Watch the pasta toward the end. Different skillets and stovetops can cause liquid to evaporate at different rates. When you remove the lid, the pasta should be tender with most, but not necessarily every drop, of the stock absorbed.
  • Don’t panic if it looks loose. The sauce will continue thickening as the mac and cheese sits. You want it extra creamy when you take it off the heat rather than dry.
  • Add the cheese gently. Once the cream is hot, keep the heat moderate and stir in the cheese until just melted. Excessive heat can cause a cheese sauce to become grainy or oily.
ingredients for french onion mac and cheese

Ingredients You’ll Need & Why

This mac and cheese gets layers of flavor from surprisingly few ingredients because we’re using each one more than once. Bacon fat forms the base for the caramelized onions, while beef stock serves as both the pasta-cooking liquid and a major source of that signature French onion flavor.

Ditalini Pasta – These tiny tubes are perfect for a one-pan mac and cheese because they cook quickly and capture creamy cheese sauce in every little opening. They also make this recipe feel a little more special than traditional elbows.

Yellow Onion – The foundation of any French onion-inspired recipe. Slowly cooking the sliced onion in bacon fat brings out its natural sweetness and creates those deep, savory caramelized flavors.

Bacon – Rather than adding bacon simply as a topping, we’re putting the rendered fat to work. It becomes the flavorful base for caramelizing the onions before the crispy bacon is crumbled over the finished mac and cheese.

Beef Stock – This is what really drives home the French onion flavor. Instead of boiling the pasta in water and pouring all that flavor down the drain, the ditalini absorbs the beef stock as it cooks directly in the skillet.

Gruyère Cheese & Sharp Cheddar – A French onion classic for good reason. It’s nutty, savory, and wonderfully melty, making it the perfect bridge between French onion soup and creamy mac and cheese. Gruyère brings sophistication, but sharp cheddar brings that familiar mac-and-cheese flavor. Using both gives you a creamy cheese sauce that’s rich and flavorful without losing its classic comfort-food appeal.

Heavy Cream – Once the pasta has absorbed most of the stock, heavy cream creates a silky base that helps the freshly shredded cheese melt into a luxurious sauce.

Garlic & Butter – Garlic gets a quick sauté in butter right before the pasta and stock go into the pan, adding another savory layer without overpowering the caramelized onions.

How to Make French Onion Mac and Cheese

Everything happens right in the same skillet, building flavor as you go. Pay attention to the look and texture at each stage, especially the onions and pasta, rather than relying solely on the clock.

Crisp the Bacon

Cook the bacon over medium-low heat until it’s deeply browned and crisp with the fat fully rendered into the skillet. Transfer it to paper towels to drain, then chop into crumbles. Leave about 2 tablespoons of that flavorful bacon fat behind for the onions.

Caramelize the Onions

Add the thinly sliced onions and salt to the bacon fat and cook slowly, stirring frequently. Add small splashes of water whenever browned bits begin sticking to the skillet. The onions are ready when they’ve reduced significantly in volume and become very soft, jammy, and deep golden brown, about 15 minutes.

Add the Garlic

Scoot the caramelized onions to one side and melt the butter in the open space. Add the garlic and sauté just until it’s fragrant and softened but not browned, about 1 minute.

Cook the Pasta in Beef Stock

Add the dry ditalini and beef stock, bring to a boil, then cover and reduce to a simmer. After about 10 minutes, the pasta should be plump and tender with most of the beef stock absorbed. The bottom of the skillet can still look a little glossy and saucy; you don’t want the pasta completely dry.

Make It Creamy & Cheesy

Pour in the heavy cream and add the black pepper, stirring until the pasta looks loose and creamy. Add the freshly shredded Gruyère and cheddar, and stir gently until the cheese has completely melted. The finished sauce should look silky, glossy, and almost a little too saucy when you remove it from the heat because it will continue to thicken as it rests.

Finish with Crispy Bacon

Scatter the crispy bacon generously over the skillet and let the mac and cheese rest for a few minutes. You’ll know it’s ready to serve when the sauce has thickened enough to cling to every piece of ditalini while still looking creamy when you scoop into it.

More Recipes to Try

If you can’t get enough of deeply caramelized onions, my Caramelized Onion Pasta with Chili Oil pairs their natural sweetness with a spicy kick for an easy dinner that’s anything but boring. For another cozy spin on the same flavor profile, my French Onion Pasta turns the classic soup flavors into a rich and savory pasta dinner. And if the one-pan method is what sold you here, my viral Butter Parmesan Pasta is another easy weeknight favorite where the pasta cooks right in the pan, soaking up flavor without the extra pot.

french onion mac and cheese with bacon

Have You Tried This French Onion Mac and Cheese?

Have you tried this French Onion Mac and Cheese? If so, I’d love to hear what you thought! Leave a comment below with your questions or feedback. Your reviews help other readers in the Bad Batch Baking community and help me create even more recipes you’ll love.

Be sure to tag me @BadBatchBaking on social media using #badbatchbaking if you make this recipe. Seeing your creations is one of my favorite parts of what I do, and I love featuring your photos in my stories!

French Onion Mac and Cheese Recipe

No ratings yet
Prep: 15 minutes
Cook: 35 minutes
Total: 50 minutes
Servings: 6 servings
French Onion Mac and Cheese combines ditalini pasta, deeply caramelized onions, beef stock, Gruyère, sharp cheddar, heavy cream, and crispy bacon in one skillet. The pasta cooks directly in the beef stock for an easy, ultra-creamy mac and cheese loaded with savory French onion flavor.
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 5 strips bacon (bacon fat reserved)
  • 1 large yellow onion, thinly sliced (or 1½ medium onions)
  • ½ teaspoon fine salt
  • 2 tablespoons salted butter
  • 3 cloves garlic, minced
  • 2 cups dry ditalini pasta
  • 3 cups low-sodium beef stock beef broth can be used as a substitute
  • ½ cup heavy cream
  • ½ teaspoon freshly ground black pepper
  • 6 ounces Gruyère cheese, freshly shredded
  • 6 ounces sharp cheddar cheese, freshly shredded

Instructions 

  • Arrange the bacon in a large skillet, then set it over medium-low heat. Cook until browned and crispy. Transfer the bacon to layers of paper towels to drain, then chop into bite-size pieces. Carefully remove the excess grease from the skillet, leaving 2 tablespoons bacon fat behind.
  • Add the thinly sliced onion and salt to the bacon fat. Cook over medium-low heat for about 15 minutes, stirring frequently, until very soft and deeply golden. Add small splashes of water as needed to loosen the browned bits from the skillet and prevent the onions from burning.
  • Push the caramelized onions toward one side of the skillet. Add the butter to the open area and allow it to melt. Add the garlic and sauté for about 1 minute, until fragrant.
  • Stir in the dry ditalini and beef stock. Increase the heat and bring the stock to a boil. Cover the skillet, reduce the heat to a gentle simmer, and cook for approximately 10 minutes, or until the pasta is tender.
  • Remove the lid and stir well. Most of the beef stock should be absorbed, although a small amount of liquid remaining in the skillet is perfectly fine. Add the heavy cream and black pepper and stir to combine. Increase the heat to medium-low.
  • Add the shredded Gruyère and sharp cheddar. Stir gently until both cheeses have completely melted and the sauce is smooth and creamy.
  • Remove the skillet from the heat and scatter the crispy chopped bacon over the top. Allow the mac and cheese to rest for a few minutes as the sauce thickens, then serve warm.

Notes

Pasta: Ditalini works beautifully because its small shape cooks quickly and catches plenty of sauce. Small elbow macaroni can also be used, but larger pasta shapes may have varying cooking time and liquid needs.
Beef stock: Use low-sodium stock. Bacon and both cheeses bring significant salt to the dish, so this gives you better control over the final seasoning.
Caramelizing the onions: Add small splashes of water whenever needed to loosen browned bits from the skillet. Don’t add too much at once—you want to encourage browning rather than steaming the onions.
Stock absorption: Different pans and stovetops evaporate liquid at different rates. If the pasta needs additional cooking but the skillet is becoming dry, add another small splash of beef stock.
Cheese: Freshly shred the Gruyère and cheddar for the smoothest sauce. Avoid aggressively boiling the sauce after adding the cheese.
Consistency: The mac and cheese should look very creamy when you remove it from the heat. It will thicken considerably as it rests.
Storage: Refrigerate leftovers in an airtight container for up to 3–4 days. Add a splash of milk or heavy cream when reheating to restore the creamy consistency.
Like this? Leave a comment below!

Leave a comment

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

Recipe Rating