This cheesy onion mashed potato casserole layers creamy, buttery mashed potatoes with deeply caramelized onions and a generous blend of sharp cheddar and mozzarella cheeses. Baked until golden and bubbly, it delivers rich comfort food flavor in every bite.
Ready in just over an hour with simple prep, it serves six and works beautifully as a hearty vegetarian main or a crowd-pleasing side for holidays and weeknight dinners alike.
The smell of caramelizing onions has a way of pulling everyone into the kitchen, and this casserole banks on that irresistible force. I threw it together one rainy Tuesday when the fridge offered nothing but potatoes, cheese, and a couple of onions nearing their end. What came out of the oven was so absurdly comforting that it became the most requested side dish in my house within a week.
I served this at a potluck where three separate people asked for the recipe before they even finished their plates. My neighbor Linda stood by the buffet scooping a second helping onto her plate and said nothing except a long, satisfied groan. That reaction alone was worth every minute of onion stirring.
Ingredients
- 2 lbs russet or Yukon Gold potatoes, peeled and cubed: Yukon Golds give a naturally buttery texture, but russets mash fluffier so choose based on the vibe you want.
- 1 cup whole milk: Warm it before adding to the potatoes so everything stays smooth rather than seizing up cold.
- 4 tbsp unsalted butter, plus extra for greasing: Good butter matters here since it is a foundational flavor, not just a cooking medium.
- 1 1/2 cups shredded sharp cheddar cheese: Sharp cheddar cuts through the richness with real tang.
- 1/2 cup shredded mozzarella cheese: Mozzarella brings that stretchy, gooey pull everyone loves.
- 1/2 cup sour cream: Sour cream adds a slight tang that balances the heavy dairy and makes the mash silkier.
- 2 large yellow onions, thinly sliced: Slice them evenly so they caramelize at the same rate without burning.
- 2 tbsp olive oil: A neutral olive oil works best for slow, even caramelization.
- 2 cloves garlic, minced: Add it late in the onion cooking process so it softens without turning bitter.
- 2 tbsp chopped fresh chives (optional): A bright garnish that breaks up all that rich color with a pop of green.
- 1 tsp salt, plus more to taste: Season the potato water generously since that is where the salt actually penetrates.
- 1/2 tsp freshly ground black pepper: Freshly cracked pepper adds warmth you do not get from the pre ground stuff.
Instructions
- Get the oven ready:
- Preheat your oven to 375 degrees F and rub a 9x13 inch baking dish with a little butter so nothing sticks later.
- Boil the potatoes:
- Drop the cubed potatoes into a large pot of well salted water, bring it to a rolling boil, then reduce to a simmer until a fork slides through effortlessly, about 15 to 18 minutes. Drain them thoroughly because excess water is the enemy of creamy mash.
- Caramelize the onions:
- While the potatoes cook, heat olive oil in a large skillet over medium heat and add the sliced onions, stirring every few minutes until they turn deep golden brown and jammy, about 15 to 20 minutes. Toss in the minced garlic for the last minute just until fragrant.
- Mash everything together:
- Add the butter, warm milk, sour cream, salt, and pepper to the drained potatoes and mash until smooth and lump free. The warmer everything is, the easier this goes.
- Fold in the good stuff:
- Stir half the cheddar and mozzarella into the mash along with the caramelized onions, saving a small spoonful of onions for the top if you want a pretty finish.
- Assemble and bake:
- Spread the mixture evenly into your prepared dish, scatter the remaining cheese and reserved onions over the top, and bake for 25 minutes until the cheese bubbles and shows off golden spots.
- Finish and serve:
- Pull it from the oven, scatter fresh chives across the top if you are using them, and let it sit for a few minutes before serving so you do not scorch your mouth on molten cheese.
One winter night my teenager who normally lives on snacks stood at the counter eating this straight from the dish with a serving spoon before it even made it to plates. That moment told me everything I needed to know about its staying power.
Swapping the Cheese
If you want to push this in a more sophisticated direction, swap the mozzarella for Gruyere. It melts just as beautifully but adds a nutty, complex depth that makes the whole dish taste like it came from a restaurant. I tried this on a whim during the holidays and now I keep both versions in rotation depending on who is coming over.
Making It Ahead
This casserole is a dream for planning ahead because you can assemble the whole thing up to 24 hours in advance and just bake it when you are ready. Pull it out of the fridge about 30 minutes before baking so the dish does not crack from a sudden temperature shift. It is one less thing to juggle when you are cooking a big meal.
You do not need fancy equipment for this, but having the right basics saves time and frustration. A heavy bottomed skillet makes caramelizing onions far more predictable than a thin pan that throws hot spots. A good potato masher is worth its drawer space because forks just do not cut it for this volume.
- A 9x13 inch baking dish is the ideal size for even heating and the right ratio of crispy top to creamy center.
- Keep a large mixing bowl handy for combining everything before it goes into the dish.
- Remember to grease the dish generously because baked cheese sticks like nothing else.
This is the kind of unassuming dish that quietly steals the show from whatever main course you paired it with. Make it once and you will find yourself looking for excuses to make it again.
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 when ready to serve. You may need to add an extra 5–10 minutes to the baking time if going straight from the refrigerator.
- → What type of potatoes work best for this dish?
-
Russet potatoes yield the fluffiest, lightest mash, while Yukon Golds produce a creamier, slightly denser texture. Both work wonderfully—choose based on your personal preference for consistency.
- → How do I get perfectly caramelized onions?
-
Cook sliced onions in olive oil over medium heat, stirring occasionally rather than constantly. Patience is key—true caramelization takes 15–20 minutes. Avoid turning the heat up too high, as slow, even cooking develops the deepest, sweetest flavor.
- → Can I substitute different cheeses?
-
Absolutely. Gruyère is an excellent substitute for mozzarella and adds a nutty depth. You can also try fontina, Monterey Jack, or even a smoked gouda for a different flavor profile.
- → 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 in a 350°F oven covered with foil until heated through, about 15–20 minutes.
- → Can I freeze this casserole?
-
Yes, you can freeze it either before or after baking. Wrap tightly in foil and freeze for up to 3 months. Thaw overnight in the refrigerator before baking or reheating. Note that the potato texture may become slightly grainy after freezing.