This cheesy onion mashed potato casserole combines fluffy whipped potatoes with deeply caramelized onions and a rich blend of sharp cheddar and mozzarella. Baked until the top turns golden and irresistible, it's the kind of dish that disappears fast at gatherings.
Ready in just over an hour with minimal prep, it works beautifully alongside roast meats, grilled vegetables, or as a standalone vegetarian main. You can even assemble it a day ahead and bake when ready.
My apartment smelled like a diner at 2 a.m. the night I stumbled into this casserole, tired and craving something that felt like a blanket I could eat. Caramelized onions were bubbling away in a skillet because I had nothing else in the fridge, and the potatoes were boiling almost on autopilot. Forty five minutes later I was standing at the counter with a fork, eating straight from the baking dish, unable to wait for a plate. That groggy, accidental dinner became the most requested dish at every potluck I have attended since.
I brought this to a Friendsgiving where the host had already prepared three types of potatoes, and I was convinced it would be ignored. By the end of the night my casserole dish was scraped clean while the other potato dishes sat half full. My friend David, who claims to hate onions, ate two helpings before I told him what was in it.
Ingredients
- 2 lbs russet or Yukon Gold potatoes: Yukon Golds give a silkier texture but russets soak up the butter and milk like nothing else.
- 1 cup whole milk: Warm it before adding to prevent the potatoes from seizing up and turning gummy.
- 4 tbsp unsalted butter: Plus a little extra rubbed around the baking dish to prevent sticking and add flavor.
- 1.5 cups shredded sharp cheddar cheese: Grate it yourself rather than buying pre shredded, which coats the cheese in powder and prevents smooth melting.
- 0.5 cup shredded mozzarella cheese: This is what gives the topping that irresistible cheese pull.
- 0.5 cup sour cream: Adds a gentle tang that balances all the richness without screaming sour cream.
- 2 large yellow onions, thinly sliced: Cook them low and slow, because rushing the caramelization is the biggest mistake you can make here.
- 2 tbsp olive oil: Any neutral oil works but olive oil adds a subtle fruitiness to the onions.
- 2 cloves garlic, minced: Added at the very end of cooking so it stays fragrant and sweet, never bitter.
- 2 tbsp chopped fresh chives: Optional visually, but they cut through the heaviness with a mild onion freshness.
- 1 tsp salt and 0.5 tsp black pepper: Season the potatoes generously, because bland mashed potatoes cannot be saved by cheese alone.
Instructions
- Get the oven ready:
- Preheat to 375 degrees and smear butter across the inside of a 9 by 13 baking dish until every corner is coated.
- Boil the potatoes:
- Drop the peeled and cubed potatoes into a big pot of salted cold water, bring it to a rolling boil, then let them simmer until a fork slides through without resistance, about 15 to 18 minutes. Drain them really well because any lingering water will make the mash watery.
- Caramelize the onions:
- While the potatoes cook, warm olive oil in a wide skillet over medium heat and spread the sliced onions in an even layer. Stir them only occasionally, letting them sit long enough to develop deep brown color, which takes about 15 to 20 minutes. Toss in the minced garlic for the final minute just until you can smell it.
- Mash everything together:
- Add the butter, warm milk, sour cream, salt, and pepper to the drained potatoes and mash until smooth and creamy. A few small lumps are completely fine and honestly kind of charming.
- Build the filling:
- Fold in half the cheddar, half the mozzarella, and all those sweet caramelized onions, saving a small spoonful for the top if you want a pretty finish.
- Assemble and bake:
- Spread the mixture evenly into the buttered dish, scatter the remaining cheeses and reserved onions over the surface, and bake for 25 minutes until the cheese is bubbling and speckled with golden spots. Let it rest for five minutes before serving so it holds its shape.
There was a snowstorm last January that trapped three of us inside for an entire weekend, and this casserole was the only thing any of us wanted for every meal. We ate it for dinner, reheated the leftovers for breakfast alongside fried eggs, and I caught my roommate sneaking cold spoonfuls from the fridge at midnight.
Choosing the Right Potato
Yukon Golds yield a creamy, almost velvety mash with very little effort, while russets create a fluffier, lighter result that drinks up butter enthusiastically. I generally reach for russets when I want the cheese to be the star, and Yukon Golds when I want the potato flavor to stand on its own. Both work beautifully here, so go with whatever is already sitting in your pantry.
The Secret to Perfect Caramelized Onions
Patience is the entire trick. Set the heat to medium, spread the onions out, and resist the urge to stir constantly. Letting them sit undisturbed for a few minutes at a time allows the natural sugars to brown properly. If they start to look dry or stick too aggressively, a splash of water deglazes the pan and keeps things moving.
Serving and Storing
This dish is best served hot and bubbly straight from the oven, but it holds its own as a leftover better than almost anything else in my rotation. Cover and refrigerate any remaining portions for up to four days, reheating individual servings in the microwave or the whole dish in a 350 degree oven until warmed through.
- A sprinkle of smoked paprika on top before serving adds unexpected depth.
- Try swapping mozzarella for Gruyere if you want a more sophisticated, nutty flavor.
- Always let the casserole rest for at least five minutes before scooping so it does not collapse into a puddle on the plate.
Some dishes feed people, and this one gathers them around the pan with forks before you even reach the table. That is really all you need to know.
Recipe Questions
- → Can I make this casserole ahead of time?
-
Yes, you can assemble the entire dish up to 24 hours in advance. Cover it tightly and refrigerate, then bake uncovered at 375°F for about 30–35 minutes until hot and bubbly throughout.
- → What's the best potato variety for this dish?
-
Russet potatoes yield the fluffiest, lightest mash, while Yukon Golds produce a creamier, slightly denser result. Both work wonderfully—choose based on the texture you prefer.
- → How do I get perfectly caramelized onions?
-
Cook thinly sliced onions in olive oil over medium-low heat, stirring every few minutes. Patience is key—true caramelization takes 15–20 minutes. Avoid high heat, which browns the outside without softening the inside.
- → Can I substitute the cheeses?
-
Absolutely. Gruyère adds a nutty depth, fontina melts beautifully, and Monterey Jack offers mild creaminess. Mix and match based on what you have, but keep at least one sharp cheese for bold flavor.
- → How should I store and reheat leftovers?
-
Store leftovers in an airtight container in the refrigerator for up to 4 days. Reheat individual portions in the microwave, or warm the whole dish covered with foil at 350°F until heated through.
- → Can I freeze this casserole?
-
Yes, you can freeze it before or after baking. Wrap tightly in foil and freeze for up to 2 months. Thaw overnight in the refrigerator, then bake at 375°F until hot and bubbly.