This cheesy onion mashed potato casserole brings together buttery, smooth mashed potatoes with sweet caramelized onions and a generous layer of melted sharp cheddar and parmesan.
Simply boil and mash the potatoes, sauté the onions until deeply golden, fold everything together, and bake until the top is bubbling and irresistible.
Ready in about an hour, it serves six and works beautifully as a hearty side or a stand-alone comfort dish for weeknight dinners and holiday gatherings alike.
The smell of caramelizing onions and melting cheese together is enough to make anyone wander into the kitchen asking what is for dinner, and this casserole has been causing that exact scene in my home for years. It started as a desperate attempt to use up a bag of potatoes and a lonely onion, and turned into the dish everyone requests by name. There is something deeply satisfying about comfort food that requires zero finesse but delivers maximum joy.
One Thanksgiving I brought this to a potluck intending it as a side, and three people asked if they could skip the turkey and just have a bigger portion of the casserole. My aunt actually set it next to the gravy boat and declared it the real star of the table. I have never bothered making fancy potatoes since.
Ingredients
- 2 lbs russet or Yukon Gold potatoes: Yukon Golds give a naturally buttery texture, but russets mash up fluffier, so pick based on whether you want creamy or airy.
- 4 tbsp unsalted butter: This melts into the potatoes for richness, and you can always add more if you are feeling indulgent.
- 1 cup whole milk, warmed: Cold milk cools down your potatoes and makes them gummy, so always warm it first.
- 1 1/2 cups shredded sharp cheddar, divided: Sharp cheddar cuts through the richness with real tang, and keeping some for the top guarantees that golden bubbling finish.
- 1/2 cup grated parmesan: This adds a salty, nutty depth that cheddar alone cannot achieve.
- 1/2 cup sour cream: It makes the mashed layer tangy and velvety in a way milk and butter never quite manage on their own.
- 2 large yellow onions, thinly sliced: Yellow onions caramelize sweeter than white or red, and thin slices break down into jammy ribbons.
- 2 tbsp olive oil: Just enough to coax the onions along without overpowering their natural sweetness.
- 2 cloves garlic, minced: Added late so it softens without browning or turning bitter.
- 1 tsp salt plus more to taste: Potatoes absorb more salt than you expect, so taste before you bake.
- 1/2 tsp freshly ground black pepper: Freshly cracked always hits different than pre ground.
- 2 tbsp chopped fresh chives (optional): A bright, oniony garnish that makes the whole dish look finished.
Instructions
- Preheat and prepare:
- Set your oven to 375 degrees F and grease a 9 by 13 inch baking dish with a little butter or nonstick spray so nothing sticks later.
- Boil the potatoes:
- Cover your potato chunks with cold salted water in a large pot and bring it to a boil, then simmer until a fork slides through effortlessly, about 15 to 18 minutes. Drain them really well because leftover water is the enemy of creamy mash.
- Caramelize the onions:
- While the potatoes cook, heat olive oil in a skillet over medium heat and add the sliced onions, stirring often until they turn deep golden and impossibly sweet, about 15 to 20 minutes. Toss in the garlic for the last 2 minutes just until fragrant.
- Mash everything together:
- Add butter, warm milk, sour cream, 1 cup of cheddar, parmesan, salt, and pepper to the drained potatoes and mash until silky smooth. Do not overwork them or they will turn paste like.
- Fold in the onions:
- Gently stir half of your caramelized onions into the mashed potato mixture so you get sweet surprises in every bite. Taste now and add more salt if it needs it.
- Assemble the casserole:
- Spread the potato mixture evenly into your prepared baking dish, then scatter the remaining onions over the top and finish with the rest of the cheddar cheese.
- Bake until bubbly:
- Pop it in the oven uncovered for 20 to 25 minutes until the cheese is melted, bubbling, and getting golden in spots. Your kitchen will smell incredible.
- Rest and serve:
- Let it sit for about 5 minutes so it sets up slightly and does not burn your mouth, then scatter chives over the top if you are using them and serve warm.
The first time I served this to a friend who claimed she did not like onions, she went back for thirds before I could remind her what was in it. That is the magic of slow cooked onions hidden in a bed of creamy cheese potatoes.
Making It Your Own
This recipe is endlessly forgiving, which is why I love it for cleaning out the fridge. Fold in cooked crumbled bacon or diced ham if you want it to be a full meal. Swap the cheddar for Gruyere for something a little more sophisticated, or Monterey Jack if you want it extra melty.
Getting Ahead of the Rush
You can assemble the entire casserole up to a day ahead and keep it covered in the refrigerator until you are ready to bake. Just add about 5 extra minutes to the bake time if it goes in cold. This makes it a lifesaver during holidays when oven space is already tight.
A Few Things Worth Remembering
After making this more times than I can count, a few small habits have become nonnegotiable in my kitchen. They seem minor but they genuinely change the result every single time.
- Always start potatoes in cold water so they cook evenly from edge to center.
- Warm your milk in the microwave for 30 seconds before adding it.
- Let the casserole rest those 5 minutes before serving so the layers hold together on the spoon.
Some dishes are just food, but this one feels like a reason to gather around the table and stay a while. Keep it in your back pocket for any night that calls for something warm and uncomplicated.
Recipe FAQs
- → Can I make this casserole ahead of time?
-
Yes, you can fully assemble the casserole, cover it tightly, and refrigerate it for up to 24 hours before baking. Add an extra 5–10 minutes to the baking time if going straight from the fridge.
- → What type of potatoes work best?
-
Russet potatoes yield the fluffiest, smoothest 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 freeze leftovers?
-
Yes, portion cooled leftovers into airtight containers and freeze for up to 2 months. Thaw overnight in the refrigerator and reheat in a 350°F oven until warmed through.
- → What cheeses can I substitute for cheddar?
-
Gruyère adds a nutty, sophisticated flavor, while Monterey Jack melts beautifully and offers a milder taste. A blend of cheddar and Gruyère is an excellent combination for extra depth.
- → Is this dish gluten-free?
-
Yes, as written this casserole is naturally gluten-free. Always check labels on packaged ingredients like sour cream and cheese to verify there is no cross-contamination.