This cheesy onion mashed potato casserole brings together fluffy mashed potatoes, deeply caramelized onions, and a rich blend of sharp cheddar and mozzarella cheeses. The potatoes are boiled until tender, mashed smooth with butter, warm milk, and sour cream, then folded with sautéed onions and baked until the cheese topping turns golden and bubbly.
Ready in just over an hour, this dish works beautifully as a holiday side or a satisfying vegetarian main. You can even assemble it a day ahead and bake it when ready to serve.
The smell of onions slowly turning golden in a skillet is one of those things that makes everyone wander into the kitchen asking when dinner is ready. I threw this casserole together one rainy Tuesday when the fridge was bare and morale was low, and it turned a gloomy evening into something worth remembering. Mashed potatoes and caramelized onions need each other the way blankets need cold weather. Add a thick layer of melted cheese on top and you have pure comfort in a baking dish.
My neighbor stopped by once while I was pulling this out of the oven and ended up staying for dinner with a fork in hand before I even set the table. That is the kind of dish this is, impossible to resist and easy to share.
Ingredients
- Russet or Yukon Gold potatoes (2 lbs, 900 g): Yukon Golds give a creamier texture but russets mash lighter, so pick based on the mood you are in.
- Whole milk (1 cup, 240 ml): Warm it before adding to prevent the mash from seizing up and turning gluey.
- Unsalted butter (4 tbsp, 60 g): Plus a little extra for greasing the dish so nothing sticks.
- Sharp cheddar cheese (1 1/2 cups, 180 g): Sharp is nonnegotiable here because mild cheddar disappears into the potatoes without making a statement.
- Mozzarella cheese (1/2 cup, 60 g): Gives that dreamy stretch when you scoop into the baked casserole.
- Sour cream (1/2 cup, 120 ml): This is the secret weapon for tang and richness that milk and butter alone cannot deliver.
- Yellow onions (2 large): Slice them thin and be patient because rushed onions will not caramelize properly.
- Olive oil (2 tbsp, 30 ml): Used for sauteing the onions to a deep golden brown.
- Garlic (2 cloves, minced): Added at the very end of caramelizing so it does not burn.
- Fresh chives (2 tbsp, 6 g, optional): A sprinkle on top adds color and a mild onion freshness.
- Salt (1 tsp plus more to taste): Season the potato water generously and adjust at the end.
- Freshly ground black pepper (1/2 tsp): Gives a gentle heat that balances the richness of the cheese.
Instructions
- Preheat and prep the dish:
- Set your oven to 375 degrees F (190 degrees C) and rub a thin layer of butter across the inside of a 9x13 inch baking dish so every corner is coated.
- Boil the potatoes:
- Cover the peeled and cubed potatoes with salted cold water in a large pot, bring to a rolling boil, then drop the heat and simmer until a fork slides through without resistance, about 15 to 18 minutes, then drain thoroughly.
- Caramelize the onions:
- While the potatoes cook, warm olive oil in a large skillet over medium heat, add the thinly sliced onions, and stir every few minutes until they collapse into a deep golden brown, roughly 15 to 20 minutes, then stir in the minced garlic for one final minute.
- Mash everything together:
- Add butter, warm milk, sour cream, salt, and pepper to the drained potatoes and mash until silky smooth, then fold in half the cheddar, half the mozzarella, and all the caramelized onions, saving a small spoonful of onions for the top if you like.
- Assemble and bake:
- Spread the mixture evenly into the prepared dish, scatter the remaining cheeses and reserved onions over the surface, and bake for 25 minutes until the cheese bubbles and shows off a few golden blisters on top.
- Finish and serve:
- Pull the casserole from the oven, scatter fresh chives across the top if you have them, and let it rest for five minutes before serving so the cheese settles and you do not burn your tongue.
There is something about scooping a generous portion of this onto a plate that makes people go quiet for a moment, just savoring the first bite before saying anything at all.
What to Know About the Cheese
Sharp cheddar does the heavy lifting flavorwise, but if you want something more complex, try swapping the mozzarella for Gruyere, which adds a nutty depth that makes the whole dish feel a little fancier. Grate the cheese yourself rather than buying pre shredded bags because the anti caking coatings on bagged cheese prevent it from melting smoothly. A rough hand grate gives you those gorgeous irregular pockets of melted cheese throughout the casserole.
Making It Ahead
You can assemble the entire casserole up to 24 hours before you plan to bake it, which is a lifesaver when you are cooking for a crowd or hosting holidays. Cover it tightly and keep it in the fridge, then add an extra five to eight minutes to the baking time since it will be going in cold. This also means you can prep it the night before and walk into your kitchen the next day already halfway to dinner.
Variations and Additions
This recipe is endlessly adaptable once you have the base of mashed potatoes, caramelized onions, and cheese locked in. Think of it as a canvas rather than a strict set of rules.
- Crispy cooked bacon or diced ham turns this into a heartier main dish for meat lovers at the table.
- A pinch of smoked paprika sprinkled over the top before baking adds a subtle smokiness that pairs beautifully with the cheddar.
- Leftovers freeze well in individual portions, so wrap them tightly and reheat in the oven rather than the microwave for the best texture.
This is the kind of dish that makes people feel taken care of, one gooey, golden spoonful at a time. Share it generously and watch the plates come back empty.
Recipe Questions & Answers
- → 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 at 375°F for about 30–35 minutes until heated through and the cheese is bubbly and golden.
- → What type of potatoes work best?
-
Russet potatoes yield the fluffiest, lightest mash, while Yukon Golds produce a creamier, slightly denser texture. Both work wonderfully in this casserole, so choose based on your preference.
- → How do I get perfectly caramelized onions?
-
Cook thinly sliced onions in olive oil over medium heat, stirring occasionally. Patience is key—true caramelization takes 15–20 minutes. Avoid turning the heat up too high, as you want deep golden sweetness, not crispy burnt edges.
- → Can I substitute the cheeses?
-
Absolutely. Gruyère is an excellent substitute for mozzarella and adds a nutty depth. You could also try Monterey Jack for meltability or Parmesan for a sharper, savory punch on top.
- → How should I store and reheat leftovers?
-
Store leftover casserole in an airtight container in the refrigerator for up to 4 days. Reheat individual portions in the microwave, or warm the whole dish in a 350°F oven for about 15–20 minutes 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 before baking or reheating at 375°F until hot and bubbly throughout.