• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Recipes
  • Gardening
  • About
  • eBook

The Gardening Foodie

menu icon
go to homepage
  • Home
  • Recipes
  • Gardening
  • About
  • eBook
search icon
Homepage link
  • Home
  • Recipes
  • Gardening
  • About
  • eBook
×

French onion mac and cheese (stays creamy for hours)

Jump to Recipe

This French Onion Mac and Cheese is made in one pot on the stovetop. The pasta cooks right in the sauce, soaking up flavor from caramelized onions and milk. It stays creamy for hours and even the next day. Just stir in a little milk to bring back its smooth, creamy texture.

Bowl of creamy French onion mac and cheese topped with caramelized onions and thyme, on a neutral napkin.

Why this recipe works

The secret to this French Onion Mac and Cheese is that everything cooks together in one pot, no boiling water or extra pans. This one-pot method lets the onions, milk, and pasta build flavor step by step, forming a rich base that thickens naturally as it cooks.

As it simmers, the pasta releases starch into the milk and water, helping the sauce thicken and the cheese melt smoothly.

The pasta absorbs some of the liquid while the rest turns into the creamy sauce. This balance keeps it rich but not heavy and still creamy even after it cools.

Ingredient notes and substitutions

Listed below are notes for the main ingredients. You’ll find all other details and exact amounts in the recipe card at the end of this post.

Pasta: I used elbow macaroni, but any short pasta like shells, penne, or fusilli works. Choose a similar size so it cooks evenly in the sauce.

Onions: Slice them medium-thick, not too thin. They shrink as they cook, so a little thickness gives the best sweetness and texture once caramelized.

Butter and Olive Oil: The mix adds flavor and helps prevent the onions from burning. You can use canola or sunflower cooking oil instead of olive oil if that’s what you have.

Thyme: Fresh or dried both work, about 1 teaspoon dried or a few sprigs fresh. Dried Italian seasoning also fits this recipe perfectly.

Sugar: Just 1 teaspoon helps the onions caramelize faster and balances the savory flavor. It won’t make the dish sweet.

Milk and Water: Any milk works — full-fat, 2%, or long-life (UHT). Full-fat gives the richest texture, while 2% or UHT still make a smooth, lighter sauce. The mix of milk and water keeps the sauce creamy but not heavy.
If using low-fat or long-life milk, add about 1 teaspoon olive oil, plus ¼ cup extra cheese at the end to keep the sauce smooth and creamy.

Cheese: Use what you have, Cheddar, mozzarella, or a mix.

Close-up of creamy French onion mac and cheese showing golden caramelized onions and thyme.

Step by step photos: French onion Mac and Cheese

These visual instructions help you see the process. You can also find the full printable recipe with ingredient amounts and instructions at the end of the post.

Step 1 and 2 showing sliced onions cooking in butter, then flour added to form the sauce base.
  1. In a deep pot, melt butter and olive oil. Add sliced onions, sugar, and thyme. Cook for about 20 minutes, stirring often, until golden and soft. This is where all the flavor begins.
  2.  Scoop out 2 tablespoon (30 g) to save for garnish, then sprinkle in the flour and stir for 1 minute to coat the onions. This creates the base that thickens the sauce.

Make-Ahead Caramelized Onions

Caramelizing the onions takes about 20–30 minutes on low heat, with gentle, occasional stirring for that perfect golden color and rich flavor. You can cook the onions a day ahead to save time later.

Then cool and store them in an airtight container in the fridge.

When ready to make your mac and cheese, melt 1 teaspoon of butter in the pot, add the onions just to warm through, then continue with the recipe.

Step 3 and 4 showing milk and water being added to the pot with caramelized onions.
  1. Gradually pour in the milk, stirring for 1 minute to mix with the onions and flour.
  2. Add the water and stir for another minute.

Step 5 and 6 showing dry macaroni added to the creamy liquid and cooked until tender.
  1. Add the uncooked pasta and salt.
  2. Give it a gentle stir in the first minute, then again every 3–4 minutes as it cooks. Move it lightly so it doesn’t stick to the bottom, no need to stir constantly. Gentle movement keeps the sauce smooth and creamy without thickening too fast. Cook on medium heat for about 10–12 minutes, until the pasta is tender and the sauce thickens slightly and looks light and glossy.
Step 7 and 8 showing cheese stirred into the cooked macaroni and the sauce turning rich and creamy.
  1. Take the pot off the heat and add in the shredded cheese.
  2. Stir gently until the cheese melts and the sauce turns smooth and creamy. Taste and add a little more salt only if needed, some cheeses are already quite salty. Let it rest a few minutes before serving, the sauce will stay silky and creamy as it cools. Top with the reserved caramelized onions when serving.

Recipe tips

Adding the liquid and pasta: Pour in the milk and water, and stir gently for about 2 minutes to mix and warm it through. You don’t need to wait for it to bubble, just add the uncooked pasta and salt next. Keep the heat medium and steady, it will bubble gently and turn creamy as it cooks.

Salt: Add the salt with the liquid and pasta so it seasons the sauce as it cooks. Taste again after adding the cheese and adjust only if needed, some cheeses are saltier than others.

Different pasta shapes cook differently: Smaller shapes (like elbows or shells) cook a little faster than thicker ones (like penne). Start checking a minute or two before the time recommended on the package. The pasta should be tender but still hold its shape.

Storage and reheating

Store any leftovers in an airtight container in the fridge for up to 3 days. The sauce stays creamy even after cooling.

Just stir in about 1–2 tablespoons of milk per serving) when reheating to bring back the silky texture.

Reheat gently on the stove over low heat, or in the microwave on medium, stirring halfway through. Avoid high heat, it can make the sauce thicken too much.

Watch how to make it

YouTube video

Recipe

French Onion Mac and Cheese

PREP TIME 15 minutes mins
COOK TIME 45 minutes mins
TOTAL TIME 1 hour hr
servingsServings: 4 servings
This one-pot French Onion Mac and Cheese is made on the stovetop, where the pasta cooks right in the sauce with caramelized onions and milk for a deep, creamy flavor.
Bowl of creamy French onion mac and cheese topped with caramelized onions and thyme, on a neutral napkin.
Print
Pin
Ingredients
  • 2 Tablespoons (30 g) butter
  • 1 teaspoon (5 g) olive oil (can use canola or sunflower oil)
  • 2½ medium onions (about 500 g, sliced medium - thick)
  • 1 teaspoon (5 g) sugar
  • 1 teaspoon dried thyme (or a few fresh sprigs)
  • 2½ Tablespoon (20 g) all-purpose flour
  • 2½ cups (600 ml) milk (see note 1)
  • 1½ cups (375 ml) water
  • 2½ cups (250g) uncooked macaroni or short pasta
  • 1 cup (100 g) shredded cheese (Cheddar, mozzarella, or a mix)
  • 1½ teaspoon fine salt
  • ¼ teaspoon black pepper (or to taste)
Instructions
Prevent your screen from sleeping

Times are included to help you follow each step, especially for caramelizing. Use them as a guide, not a rule.

    Caramelize onions – 25 to 30 minutes

    • In a deep pot, melt the butter and olive oil over low heat. (see note 2)
    • Add the sliced onions, sugar, and thyme. Cook gently for 20–25 minutes, stirring often, until golden and soft. Don’t be tempted to raise the heat. Slow cooking brings out the sweetness and rich flavor.
      (see note 2 below if planning to make ahead onions)
    • Scoop out 2 Tablespoons (30 g) of the caramelized onions and set aside for garnish.

    Add the flour – 1 minute

    • Sprinkle the flour over the onions and stir for 1 minute to coat evenly. This forms the base that thickens the sauce.

    Add milk, water, and pasta – 12 minutes

    • Pour in the milk, stirring for 1 minute to blend with the onions and flour. Add the water and stir gently for another minute to warm through.
    • Add the uncooked pasta and salt. Keep the heat medium and steady, there’s no need to bring it to a boil.
    • Stir lightly in the first minute to prevent sticking, then every 3–4 minutes as it cooks. Cook for about 10–12 minutes, until the pasta is tender and the sauce looks smooth and slightly glossy. It will thicken a bit more as it stands.

    Add the cheese – 2 minutes

    • Take the pot off the heat and stir in the shredded cheese until melted and creamy. Taste and add a little more salt only if needed, some cheeses are already quite salty.
    • Serve warm: The sauce will stay creamy even as it cools. Top each serving with the reserved caramelized onions.

    Storage and reheating

    • Store leftovers in an airtight container in the fridge for up to 3 days. The sauce stays creamy even after cooling.
    • Add 1–2 Tablespoons of milk per serving to bring back the silky texture. Reheat gently on low heat or in the microwave on medium, stirring halfway through. Avoid high heat, it can make the sauce too thick.
    Recipe Notes
    1. Milk: If using low-fat or long-life milk, add about 1 teaspoon olive oil, plus ¼ cup extra cheese at the end to keep the sauce smooth and creamy.
    2. Make-Ahead Caramelized Onions:  Caramelizing the onions takes about 20–30 minutes on low heat with gentle stirring for a golden color and deep flavor. Don’t rush this step or turn the heat up, slow cooking gives them sweetness and depth. You can prepare the onions a day ahead to save time later. Once cooled, store in an airtight container in the fridge. When ready to cook, melt 1 teaspoon of butter in the pot, warm the onions through, then continue with the recipe.
    See post above for:
    • ingredient notes and substitutions
    • step-by-step photos
    • recipe tips
    • video
    Nutrition
    Serving: 1serving | Calories: 558kcal | Carbohydrates: 68g | Protein: 21g | Fat: 22g | Saturated Fat: 12g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 0.2g | Cholesterol: 62mg | Sodium: 1171mg | Potassium: 509mg | Fiber: 4g | Sugar: 13g | Calcium: 425mg | Iron: 1mg

    Hungry for more?

    Sign up for my free newsletter to get emails about new recipes .And don't forget to follow me on YouTube, Facebook, Pinterest, and Instagram for all the latest deliciousness.

    More Recipes

    • Sliced no-yeast quick bread with a golden top and sesame seeds on a wooden board
      10 Easy No Yeast Breads
    • Top view of French onion mashed potatoes swirled with caramelized onions and garnished with fresh thyme.
      12 easy side dishes
    • Top view of French onion mashed potatoes swirled with caramelized onions and garnished with fresh thyme.
      French Onion Mashed Potatoes (Make-Ahead and Extra Creamy)
    • Stacked French butter cookies rolled in sugar on a light rustic board.
      20 Butter Cookie Recipes for Every Season

    Reader Interactions

    Comments

      5 from 1 vote

      Leave a Reply Cancel reply

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

      Recipe Rating




    1. Parrish says

      November 10, 2025 at 1:01 am

      5 stars
      When I received your email about this technique for mac and cheese I knew I had to try it. I had everything on hand and followed your instructions to a T. Boy oh boy did this come out great! I have to say that this is one of the best macaroni and cheese recipes I've every made. The texture was so, so creamy and the little bit of onion in the background lifted the dish to the next level. I can see several variations using this same technique by adding whatever you have on hand to make it even more substantial - ham, bacon, peas, chopped broccoli and/ or adding crushed butter crackers or breadcrumbs. As always, your recipes are faultless and I cannot thank you enough for the hard work you put into developing all that you share with us.

      Reply
      • The Gardening Foodie says

        November 10, 2025 at 9:30 pm

        Thank you so much for this beautiful message. I’m overjoyed that the mac and cheese turned out so well for you. It’s one of my personal favorites, and hearing how much you enjoyed it honestly made my day.

        I just want to take a moment to tell you how much your continued support truly means to me. Whenever I spot your name in the comments, I know I’m about to read something thoughtful, encouraging, and full of heart. Your feedback has brought so much joy and motivation into what I do, more than I could ever express in words.

        There’s nothing more rewarding than knowing my recipes are a part of your meals and memories and I’m so grateful for the kindness, detail, and warmth you bring to every message. Thank you, from the bottom of my heart, for being such a wonderful part of this little food loving community.

        Happy cooking always
        Ashika

        Reply

    Primary Sidebar

    • facebook
    • pinterest
    • instagram
    • youtube

    Top recipes this month

    Sliced no-yeast quick bread with a golden top and sesame seeds on a wooden board

    10 Easy No Yeast Breads

    Top view of French onion mashed potatoes swirled with caramelized onions and garnished with fresh thyme.

    12 easy side dishes

    Top view of French onion mashed potatoes swirled with caramelized onions and garnished with fresh thyme.

    French Onion Mashed Potatoes (Make-Ahead and Extra Creamy)

    Stacked French butter cookies rolled in sugar on a light rustic board.

    20 Butter Cookie Recipes for Every Season

    Golden pear cake baked in a cast-iron skillet, topped with caramelized pear slices and fresh thyme.

    Easy Pear Cake (fresh or canned pears)

    Bowl of creamy French onion mac and cheese topped with caramelized onions and thyme, on a neutral napkin.

    French onion mac and cheese (stays creamy for hours)

    Footer

    home

    ↑ BACK TO TOP

    MENU

    • Home
    • Recipes
    • Gardening
    • About
    • Privacy Policy and Terms of service
    • Disclosures

    Copyright © 2025

    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.