onion casserole

title 1
onion casserole
⏱️ cook time 50 minutes
🍽️ servings 6
⚡ Difficulty easy

intro

Tender, sweet slow-cooked onions baked in a silky creamy cheese sauce, topped with buttery crisp cracker crumbs—this nostalgic, cozy side is a beloved Thanksgiving table staple.

Ingredients

Yellow onions 900g (about 4 large)
Unsalted butter 5 tbsp (70g)
Garlic cloves 2, minced
All-purpose flour 2 tbsp
Whole milk 1.5 cups (360ml)
Sharp cheddar cheese 1 cup (113g), grated
Grated parmesan cheese 1/4 cup (25g)
Buttery round crackers 1 sleeve (120g)
Kosher salt 1 tsp
Freshly ground black pepper 1/2 tsp
Dried thyme 1/2 tsp

Steps

1

Slice the Onions

First, preheat your oven to 375°F (190°C). Peel the papery outer skins from the 4 large yellow onions, trim off dry root and stem ends, then cut each onion in half pole to pole. Place cut-side down on the maple wood cutting board, and use the walnut-handled chef knife to slice into even 1/4-inch thick half-moons. Separate the onion layers gently with your fingers after slicing; you should end up with roughly 8 cups of loosely packed sliced onion.

Step 1
step1:Slice the Onions
2

Sauté the Onions

Melt 3 tablespoons of the unsalted butter in the brushed stainless steel sauté pan over medium heat. Add all the sliced onions, season with 1/2 teaspoon of kosher salt, and cook for 12-15 minutes, stirring occasionally with the beech wood spoon, until onions are completely soft, translucent, and just starting to turn pale golden at the edges. Do not brown the onions heavily at this stage, as they will continue to cook and caramelize during baking.

Step 2
step2:Sauté the Onions
3

Build Sauce Base

Add the 2 minced garlic cloves and 1/2 teaspoon dried thyme to the pan with the onions, stir constantly with the beech wood spoon for 30 seconds until fragrant. Sprinkle the 2 tablespoons of all-purpose flour evenly over the onion mixture, stir to coat all onion slices completely, and cook for 1 full minute to remove raw flour taste. The mixture will look slightly dry and pasty at this stage, with no visible dry flour pockets.

Step 3
step3:Build Sauce Base
Step 3
step3:Build Sauce Base
4

Finish Creamy Filling

Slowly pour the 1.5 cups of whole milk into the pan, stirring constantly with the beech wood spoon to prevent lumps from forming. Bring the mixture to a gentle simmer, and cook for 2-3 minutes until the sauce thickens enough to coat the back of the spoon. Remove the pan from heat, stir in 3/4 cup of the grated sharp cheddar and all of the grated parmesan, along with the remaining 1/2 teaspoon kosher salt and 1/2 teaspoon freshly ground black pepper. Stir until cheese is fully melted and the sauce is completely smooth.

Step 4
step4:Finish Creamy Filling
Step 4
step4:Finish Creamy Filling
5

Transfer to Baking Dish

Grease the interior of the 23cm square matte white ceramic baking dish with the remaining 1 tablespoon of softened unsalted butter. Pour the entire creamy onion mixture into the dish, spreading it into a smooth, even layer with the back of the beech wood spoon. Ensure the filling is level across the dish so the topping cooks evenly in the oven.

Step 5
step5:Transfer to Baking Dish
6

Add Cracker Topping

Place the buttery round crackers into a small matte white ramekin, and crush by hand into coarse crumbs (leave some pea-sized cracker pieces for texture, do not crush into fine dust). Melt the remaining 1 tablespoon of butter, drizzle over the crumbs, and toss with the remaining 1/4 cup of grated sharp cheddar. Sprinkle this crumb mixture evenly over the top of the onion filling, covering the entire surface with no bare spots.

Step 6
step6:Add Cracker Topping
Step 6
step6:Add Cracker Topping
7

Bake Until Bubbly

Place the assembled baking dish on the middle rack of the preheated 375°F (190°C) oven. Bake for 25-30 minutes, until the filling is bubbling vigorously around the dish edges, and the cracker topping is deep golden brown and crisp. If the topping browns too quickly before the filling bubbles, loosely tent a piece of aluminum foil over the top for the last 10 minutes of baking to prevent burning.

Step 7
step7:Bake Until Bubbly
8

Rest and Serve

Let the baked casserole rest for 10 minutes at room temperature on the counter. This rest time allows the creamy sauce to set slightly, so servings hold their shape instead of running when scooped. Scoop generous portions onto the matte off-white stoneware dinner plate to serve, garnished with a small sprig of fresh thyme if desired.

Step 8
step8:Rest and Serve

Tips

1.Don’t rush the onion sauté step: cooking onions slowly over medium (not high) heat draws out their natural, mellow sweetness, resulting in a rich, deep flavor instead of sharp, bitter onion taste. High heat will char the onion edges too quickly before the centers turn soft and translucent.
2.Crush crackers by hand instead of using a food processor: leaving coarse, uneven crumbs (with some 1/4-inch pieces) creates a crunchier, more textured topping than fine, uniform crumbs, which can become soggy when tossed with butter and baked over the moist filling.
3.Let the casserole rest the full 10 minutes after baking: the creamy cheese sauce will be very thin and runny straight out of the oven, and the rest time allows the flour and melted cheese to set, so each serving holds its neat shape without oozing liquid across the plate.

✨ You May Also Like

Side Dishes
🍜 India

Velvety, aromatic all-purpose curry sauce perfect for tossing with roasted veggies, grilled protein, or rice for fast, cozy, flavorful meals.

⏱️ 25 minuteSide Dishes ★ 4.8
Side Dishes
🍜 Spain

Tender, starchy boiled yuca tossed in bright, garlicky citrus mojo sauce—an iconic, zesty side that pairs beautifully with roasted pork, grilled meats, and rice and beans.

⏱️ 40 minuteSide Dishes ★ 5
Side Dishes
🍜 United States

Tender, paper-thin potato flatbread, a beloved Norwegian-American Minnesota Christmas staple, griddled until softly spotted and served warm with butter.

⏱️ 1 hour 30Side Dishes ★ 4.6
Side Dishes
🍜 United States

Rich, deeply savory cured salt pork, a long-lasting kitchen staple perfect for frying crispy as a side or adding umami to stews, beans, and chowders.

⏱️ 7 days (2Side Dishes ★ 4.9
Side Dishes
🍜 United States

Crispy, tangy classic Southern fried green tomatoes with a crunchy cornmeal crust, served hot for a nostalgic, comforting summery bite.

⏱️ 25 minuteSide Dishes ★ 4.9
Side Dishes
🍜 United States

Moist, golden-crusted savory muffins with sweet corn, zesty jalapeño, and melted cheddar, perfect for pairing with smoky summer grilled fare.

⏱️ 30 minuteSide Dishes ★ 4.9

onion casserole:Frequently Asked Questions

1.What kind of onions should I use for creamy baked onion casserole? ▾
Yellow onions are the perfect pick here—their sharp raw bite softens into rich, sweet, umami-packed depth when slow-cooked, which pairs beautifully with the silky cream sauce. Skip extra-sweet varieties like Vidalia, as they can turn cloyingly sweet after baking, and red onions will leave an off purple tint and overly sharp aftertaste.
2.Can I prep this casserole ahead of time for Thanksgiving? ▾
Absolutely! Assemble the cooked onion and cream sauce base in your baking dish 1–2 days in advance, cover tightly, and store it in the fridge. Wait to add the buttery cracker crumb topping until right before baking, though—this keeps the topping crisp instead of soggy. Let it sit at room temp 15 minutes before baking to cut down on cook time.
3.Why do my onions turn out bitter instead of sweet in this casserole? ▾
Bitter onions almost always come from cooking them too fast over high heat. You need to slow-cook sliced onions over medium-low heat with butter, stirring occasionally, for 15–20 minutes until soft and pale golden. Rushing this step by cranking up the heat will burn onion edges and leave a harsh, bitter flavor that ruins the creamy sauce base.
4.Do I really need to use whole milk for the cream sauce? ▾
Whole milk gives the sauce the perfect rich, silky texture without feeling heavy. You can swap in 2% milk if that’s what you have, but mix in 2 extra tablespoons of heavy cream to make up for lost fat. Skim milk is not recommended—it will make a thin, watery sauce that lacks the lush mouthfeel this cozy casserole is known for.
5.What purpose does all-purpose flour serve in this recipe? ▾
All-purpose flour works with melted unsalted butter to make a simple roux, the thickening base for your creamy cheese sauce. Cook the flour and butter together for 1–2 minutes to eliminate raw flour taste before slowly whisking in milk, and you’ll get a smooth, lump-free sauce that coats every tender onion slice without separating during baking.
6.What kind of cracker crumbs work best for the topping? ▾
Buttery round crackers (like Ritz) are the classic, nostalgic pick for this topping, as they crisp up into a perfect salty, buttery crunch that balances soft, sweet onions and creamy sauce. You can also use crushed saltine crackers for a lighter crumb, or panko breadcrumbs for extra flaky crisp—just toss them with melted butter first.
7.How do I keep my cream sauce from getting lumpy? ▾
Lumps happen when cold milk hits hot roux too fast, or if you don’t whisk consistently. First, warm your whole milk slightly before adding it to the butter and flour roux, then pour it in a slow, steady stream while whisking nonstop. If you still get small lumps, pour the sauce through a fine mesh sieve before mixing with cooked onions for a silky result.
8.Can I add extra cheese to this casserole? ▾
Of course! This nostalgic side is super customizable. A cup of shredded sharp cheddar, Gruyère, or Monterey Jack stirred into the warm cream sauce adds extra savoriness that pairs beautifully with sweet slow-cooked onions. Just avoid too much soft, high-moisture cheese like fresh mozzarella, as it can make the sauce watery and greasy as it bakes.
9.How long and at what temperature should I bake the casserole? ▾
Bake the casserole uncovered at 375°F for 25–30 minutes, until the sauce is bubbling around the dish edges and the cracker crumb topping is deep golden brown and crisp. If your topping starts to brown too fast before the sauce bubbles, tent a loose piece of aluminum foil over the top for the last 10 minutes to prevent burning.
10.Can I make this casserole dairy-free for a vegan version? ▾
You can absolutely adapt it for dairy-free diets! Swap unsalted butter for vegan butter, use unsweetened oat milk (it has the closest creamy texture to whole milk), use a 1:1 gluten-free flour blend for the roux if needed, and pick a well-melting dairy-free shredded cheddar. Top with crushed dairy-free crackers tossed in vegan butter for the same crisp finish.
11.My casserole came out really watery—what did I do wrong? ▾
Watery casserole usually stems from one of two issues: either you didn’t cook the flour roux long enough to activate its thickening power, or you didn’t drain excess liquid from slow-cooked onions before mixing them with the sauce. Onions release lots of moisture as they cook, so give them a quick colander drain if they look soupy before adding sauce.
12.Do I need to sauté the garlic before adding it to the sauce? ▾
Yes, but only briefly! After you finish slow-cooking your onions, add minced garlic to the pan and cook it for just 30–60 seconds until fragrant, before adding flour to make the roux. If you cook garlic too long over high heat it will burn and turn bitter, but that short sauté brings out its warm savoriness without harsh bite.
13.What main dishes pair well with this onion casserole? ▾
This cozy, nostalgic side is a Thanksgiving staple for a reason—it pairs perfectly with roast turkey, honey-glazed ham, and herb-roasted chicken. It also works great alongside seared pork chops, grilled steak, or even a hearty green salad for a lighter vegetarian meal, as the rich cream sauce cuts through salty, roasted flavors beautifully.
14.How thick should I slice the onions for this recipe? ▾
Aim for ¼-inch thick half-moon slices for the best texture. If you slice onions too thin, they’ll turn mushy and almost dissolve into the sauce during baking, and if you slice them too thick, they’ll stay crunchy and sharp instead of mellowing into that soft, sweet texture that makes this casserole so comforting. No dicing needed!
15.Can I freeze leftover baked onion casserole? ▾
You can freeze leftovers for up to 3 months, but note that the cream sauce may separate slightly and the cracker topping will lose its crispness when thawed. To reheat, thaw in the fridge overnight, then bake covered at 350°F for 20 minutes, adding a fresh sprinkle of buttered cracker crumbs on top for the last 10 minutes to bring back crunch.
16.Is there a way to make this recipe gluten-free? ▾
Absolutely! Swap regular all-purpose flour for a 1:1 gluten-free all-purpose baking blend to make the roux—pick one that includes xanthan gum to make sure the sauce thickens properly. For the topping, use crushed gluten-free butter crackers or gluten-free panko tossed in melted butter, and double check that any added cheese has no hidden gluten additives.
17.Why does my cream sauce separate or curdle when baking? ▾
Curdled sauce usually happens when the sauce gets too hot too fast, or if you used low-fat dairy without enough fat to stabilize it. Make sure your oven temperature isn’t higher than 375°F, use whole milk as called for, and don’t over-thicken the roux before baking. A tablespoon of softened cream cheese stirred into the sauce also helps prevent separation.
18.Can I add other mix-ins to customize the casserole? ▾
Definitely! This classic base is super flexible. Try stirring in ½ cup of cooked, crumbled bacon for a smoky kick, a handful of sautéed mushrooms for extra earthiness, or a sprinkle of fresh thyme for bright herby flavor. Just don’t overload the dish with too many wet add-ins, or you’ll end up with a watery final texture.

Comments (20)

2 days ago

OMG this casserole was the star of our Sunday family dinner! I was worried it would be too onion-heavy but the creamy sauce balances it perfectly. Even my super picky 7 year old asked for seconds. SO good, will be making this for our neighborhood potluck next month too!

1 day ago

So happy it was a hit with your kiddo, Mia! It’s such a versatile side that works for everything from weeknights to potlucks—can’t wait to hear how it goes over at the neighborhood gathering!

3 days ago

Tossed this together last minute to go with our grilled brats and it was chef’s kiss. Super easy to throw together, didn’t require any fancy ingredients which is a win in my book. Only tweak I made was adding a sprinkle of crispy fried onions on top for extra crunch.

2 days ago

Oh the fried onion topping idea is genius! I’m making this for my husband’s birthday cookout this weekend and I’m definitely stealing that hack

1 week ago

As someone who’s always looking for tasty vegetarian sides for meal prep, this is a total game changer! It reheats like a dream, doesn’t get soggy, and the flavor is so rich and comforting. Made a big pan on Sunday and ate it with lunches all week, zero regrets.

5 days ago

Wait, has anyone tried making this with a mix of sweet yellow onions and red onions? I have a ton of both sitting in my pantry and don’t want to run to the store just for one type of onion.

4 days ago

I did that last week! The red onions add a tiny little tang that cuts through the cream so nicely, honestly I might do that mix every time now. No extra grocery run needed!

4 days ago

Great question! A mix of sweet and red onions works absolutely beautifully here—just make sure you slice them evenly so they cook at the same rate. You’re in for a treat!

yesterday

Brought this to our office potluck yesterday and the pan was completely empty in 10 minutes. Multiple people asked me for the recipe, I felt like a total rockstar. Who knew simple baked onions could be this addictive?

yesterday

Love that! There’s something so special about turning simple, affordable ingredients into a dish that wows a crowd. Thanks for sharing it with your office!

30 minutes ago

Hey y’all, I’m still pretty new to cooking—does the 50 minute cook time include the time to prep the onions, or is that just the baking time? Don’t want to mess this up for my first time hosting dinner at my apartment!

20 minutes ago

Hi Nate! The 50 minutes is mostly baking time, prep only takes like 10 minutes max—slicing onions and mixing the creamy sauce is super straightforward. You’ve got this!

15 minutes ago

Great question! The 50 minute cook time listed refers to baking time; prep is quick, just 10-12 minutes of slicing and mixing as Sue mentioned. It’s a perfect beginner-friendly recipe, your dinner guests are going to love it!

2 weeks ago

Swapped the regular all purpose flour for a 1:1 gluten free flour blend and it turned out perfectly! No weird texture, no gritty aftertaste, just creamy, oniony goodness. So happy I found a side dish I can serve to all my gluten free friends at our next game night.

2 hours ago

This is exactly the kind of easy weeknight side I’ve been searching for. Minimal effort, minimal cleanup, tastes like it came from a fancy steakhouse. Served it with baked chicken and roasted broccoli last night and my whole family raved.

1 hour ago

Totally agree! I’ve been making this once a week for the past month and it pairs with literally every protein—chicken, pork chops, meatloaf, you name it.

5 minutes ago

Tried making this last night and it came out a little runnier than I expected? Did I maybe add too much heavy cream? I didn’t measure super closely, oops.

3 minutes ago

I had that happen my first time too! I let it bake uncovered for the last 10 minutes and it thickened right up. No need to stress, it still tastes amazing even if it’s a little loose at first.

just now

Sorry to hear it was runnier than expected, Jake! Too much cream is usually the culprit, but Liz’s trick of baking uncovered for the final 10 minutes is perfect for thickening it up. Next time you can also toss the onions in a tiny bit of flour before adding the cream to help the sauce set better!

1 week ago

I’ve made a lot of onion casseroles in my day, but this one takes the cake. The creamy sauce isn’t overpowering, it lets the sweet, caramelized flavor of the baked onions shine. 10/10, will be a staple on my holiday table from now on.

5 days ago

That means so much coming from a seasoned casserole maker! It makes my day to hear it’s earned a spot on your holiday menu—thank you for the kind words!

3 days ago

Made this in my tiny dorm oven on a Sunday and it lasted me almost the whole week! Super cheap to make, uses basic ingredients, and tastes way better than the sad dining hall sides. 10/10 for broke college students like me.

2 days ago

Would adding a layer of shredded gruyere on top of this before baking be good? I’m a sucker for a cheesy, browned top on casseroles.

1 day ago

I added a half cup of shredded parmesan and gruyere mix last time I made it and it was INCREDIBLE. The nutty cheese pairs so well with the sweet onions, you have to try it.

1 day ago

Gruyere is such a fantastic addition! A sprinkle on top in the last 15 minutes of baking will get you that perfectly crispy, browned cheesy crust you’re craving. Highly recommend giving it a shot!

5 days ago

Tested this out ahead of our Thanksgiving dinner this year and it’s officially making the menu. It’s so much lighter than the super heavy green bean casserole everyone is used to, but still feels cozy and indulgent.

3 days ago

Oh I’m so stealing this for our Thanksgiving! My family gets tired of the same three sides every year, this will be such a fun new addition.

1 week ago

Has anyone tried freezing this after baking? I love making big batches of sides to pull out on busy nights, but I’m worried the creamy sauce will separate when I thaw it.

5 days ago

I froze half a pan after making it last month! Let it thaw in the fridge overnight then reheat in the oven at 350 for 20 minutes, and it tasted just as good as the day I made it. No separation at all for me!

4 days ago

Great question! This casserole freezes really well if you store it in an airtight container—just let it cool completely before freezing, and reheat covered in the oven as mentioned. It’s perfect for busy weeknight meal prep!

2 weeks ago

Swapped the regular milk for unsweetened almond milk, used a tiny bit of xanthan gum instead of flour to thicken, and this fit perfectly into my low carb diet! So rich and satisfying, I didn’t even miss the extra carbs. Will be making this on repeat.

yesterday

I was so nervous to make this for my boyfriend’s parents when they came over for dinner, but it was a total hit! His mom even asked for the recipe, which feels like the biggest win ever. Thank you for sharing such a simple, delicious recipe!

yesterday

That’s such an exciting win, Lila! Winning over the partner’s parents with a dish is the ultimate seal of approval—so proud of you!

3 days ago

I used fresh Vidalia onions from my local farmers market for this and oh my gosh, the natural sweetness was out of this world. Best version I’ve made yet, no extra sugar needed at all!

2 days ago

Vidalias are the best! I keep meaning to grab a big bag from our market to make this, I can only imagine how good that sweet, mild flavor is in the creamy sauce.

2 days ago

Vidalia onions are such a perfect pick for this recipe! Their natural sweet, mild flavor takes this casserole to the next level—what a fantastic farmers market find!

1 week ago

Made this in a disposable aluminum pan for our tailgate last weekend and it was gone before kickoff. Even the guys who only eat burgers and wings were going back for seconds. Total crowd pleaser, easy to transport, 10/10.

2 hours ago

Used oat milk and dairy free cream cheese to make this for my sister who’s lactose intolerant, and you couldn’t even tell it was dairy free! The texture was still perfectly creamy, no weird aftertaste. Everyone at the table loved it, even the non-dairy free folks.

30 minutes ago

Thank you for sharing this swap! My son is lactose intolerant and I’ve been looking for sides I can make that the whole family will eat, this is perfect.

just now

The leftovers of this are even better the next day! The flavors meld together so much in the fridge, I actually found myself sneaking a cold bite straight from the container at 2am last night. No shame, it was worth it.