This cheesy onion mashed potato casserole brings together fluffy mashed potatoes, deeply caramelized onions, and a generous layer of melted cheddar and mozzarella. The base is enriched with butter, warm milk, and sour cream for extra creaminess.
Everything gets folded together, spread into a baking dish, topped with more cheese, and baked until bubbling with golden spots. It takes about an hour from start to finish and serves six generously as a side or vegetarian main.
My sister called me on a Tuesday night in November, panicked about Thanksgiving side dishes, and somehow we invented this monster of a casserole over the phone while I stood in my kitchen holding a half eaten bag of cheese. The caramelized onions were her idea, a stubborn insistence that changed everything about how I think about mashed potatoes from that day forward. Within a week I had made it three more times, each batch disappearing faster than the last, because there is something unhinged and wonderful about potatoes that refuse to behave politely on a plate.
I brought this to a potluck where three separate people asked for the recipe before they finished their first bite, and one friend literally scraped the baking dish clean with a spatula while the rest of us watched. That dish never came home.
Ingredients
- 2 lbs russet or Yukon Gold potatoes, peeled and cubed: Yukon Golds give you a silkier texture, but russets absorb the dairy beautifully and mash fluffier.
- 1 cup whole milk: Warm it before adding, because cold milk shocks the potatoes and makes them gluey in a way no amount of cheese can fix.
- 4 tbsp unsalted butter, plus extra for greasing: Butter is the foundation of trust between you and this casserole, so do not skimp here.
- 1 1/2 cups shredded sharp cheddar cheese: Sharp cheddar brings the tang that balances all the richness.
- 1/2 cup shredded mozzarella cheese: Mozzarella is responsible for those magnificent cheese pulls when you serve it.
- 1/2 cup sour cream: This adds a subtle tang and an extra layer of creaminess that milk alone cannot achieve.
- 2 large yellow onions, thinly sliced: Slice them patiently and uniformly so they caramelize evenly instead of burning at the edges.
- 2 tbsp olive oil: A neutral oil works too, but olive oil adds a faint fruitiness that complements the onions.
- 2 cloves garlic, minced: Add it late in the caramelizing process so it sweetens without turning bitter.
- 2 tbsp chopped fresh chives (optional, for garnish): Fresh chives add a bright, oniony pop that cuts through the heaviness on the plate.
- 1 tsp salt, plus more to taste: Salt the potato water generously, because that is your only chance to season from the inside out.
- 1/2 tsp freshly ground black pepper: Freshly ground makes a noticeable difference here, as the flavor of pre ground gets lost in all the dairy.
Instructions
- Get your oven ready:
- Preheat to 375 degrees F and rub a 9x13 inch baking dish with butter until it glistens lightly across the bottom and sides.
- Boil the potatoes:
- Drop the cubed potatoes into a large pot of well salted water, bring it to a rolling boil, then ease back to a simmer until a fork slides through without resistance, roughly 15 to 18 minutes.
- Caramelize the onions:
- While the potatoes bubble away, warm olive oil in a large skillet over medium heat and add the sliced onions, stirring only occasionally so they develop deep golden color, which takes about 15 to 20 minutes of patient waiting. Toss in the minced garlic for the final minute, letting it soften and perfume the pan without browning.
- Mash everything together:
- Drain the potatoes thoroughly, then mash with butter, warm milk, sour cream, salt, and pepper until the mixture is smooth and clouds of steam rise from the bowl.
- Fold in the good stuff:
- Stir half the cheddar and mozzarella into the mash, then gently fold in the caramelized onions while saving a few tablespoons for the top if you want a concentrated onion finish.
- Build the casserole:
- Spread the potato mixture evenly into your prepared dish, scatter the remaining cheeses and reserved onions across the surface, and step back to admire it before the oven does its work.
- Bake until golden:
- Slide the dish into the oven for about 25 minutes, watching for the cheese to bubble and develop those irresistible lightly golden patches across the top.
- Finish and serve:
- Pull it out, scatter fresh chives over the top if you are using them, and let it rest for a few minutes before serving so the cheese settles into stretchy perfection.
The night my neighbor knocked on my door returning a borrowed pan, I handed her a plate of this casserole as a thank you, and she stood in my doorway eating it with a fork while the pan sat forgotten between us.
What I Learned From Burning the Onions Twice
Patience really is the only secret to caramelized onions, and every shortcut I have tried has ended in either charred edges or onions that never quite surrender their crunch. Low and medium heat, a pan you trust, and the willingness to stir only when the bottom starts to color, that is the entire method.
Why This Replaced Every Other Potato Dish at My Table
Regular mashed potatoes feel incomplete now, because the layer of baked cheese on top and the sweet depth of caramelized onions transform a simple side into something people actually remember the next day. It holds beautifully on a buffet table, reheats like a dream, and somehow tastes even better as leftovers straight from the fridge.
Little Things That Make a Big Difference
Most of the magic in this recipe happens in small decisions, not fancy techniques. A few thoughtful adjustments turn a good casserole into one people request by name.
- Swap mozzarella for Gruyere if you want a nuttier, more sophisticated flavor that still stretches beautifully.
- Dice some crispy cooked bacon over the top if vegetarian is not a requirement for your table.
- Taste the mashed potato mixture before you spread it into the dish, because once it bakes, adjusting seasoning becomes much harder.
This is the kind of dish that makes people linger at the table longer than they planned, scraping the last cheesy bits from the corners of the pan while conversation drifts nowhere in particular. Keep it close, because someone will ask for the recipe.
Recipe FAQs
- → Can I make this casserole ahead of time?
-
Yes, you can assemble the entire casserole up to 24 hours in advance. Cover it tightly and refrigerate, then bake when ready to serve. You may need to add 5–10 extra minutes to the baking time if going straight from the fridge.
- → What type of potatoes work best?
-
Russet potatoes give the fluffiest, lightest texture, while Yukon Golds produce a creamier, slightly denser result. Both work beautifully, so choose based on your preference.
- → Can I substitute the cheeses?
-
Absolutely. Gruyère makes an excellent substitute for mozzarella and adds a nutty depth. You can also try fontina, Monterey Jack, or a smoked cheddar for a different flavor profile.
- → How do I get perfectly caramelized onions?
-
Cook the sliced onions in olive oil over medium heat, stirring occasionally rather than constantly. Let them sit undisturbed for a minute or two between stirs so they develop deep golden color. This process takes 15–20 minutes and should never be rushed.
- → Is this dish suitable for freezing?
-
Yes, you can freeze the baked casserole. Let it cool completely, wrap tightly, and freeze for up to 2 months. Thaw overnight in the refrigerator and reheat in a 350°F oven until warmed through.
- → How do I reheat leftovers?
-
Cover the portion with foil and reheat in a 350°F oven for about 15–20 minutes. This preserves the creamy texture better than microwaving, though individual portions can be microwaved in 30-second intervals.