This comforting casserole brings together silky, buttery mashed potatoes with sweet caramelized onions and a generous layer of melted sharp cheddar and parmesan.
Russet or Yukon Gold potatoes are boiled until tender, then mashed with warm milk, sour cream, and cheeses until velvety smooth. Half the golden onions are folded directly into the mash, while the rest sit on top under a bubbling cheese lid.
Baked in under 25 minutes, it feeds six and works beautifully as a vegetarian main or a crowd-pleasing side for holidays and weeknight dinners alike.
The smell of onions slowly turning golden in a skillet is one of those kitchen scents that pulls everyone into the room before dinner is even close to ready. My sister walked in last Thanksgiving, took one breath, and announced she was cancelling her diet right then and there. That particular batch of onions was destined for this casserole, and honestly it stole the show from the turkey. Cheesy onion mashed potato casserole is the kind of dish that makes people forget there was supposed to be a main course.
I first tossed this together on a rainy Sunday when the fridge held nothing but potatoes, cheese, and a couple of onions that had seen better days. My roommate at the time stood over the baking dish with a spoon before it even hit the table, burning her tongue and declaring it worth the pain. We ended up eating the entire thing standing around the kitchen counter, no plates, no ceremony.
Ingredients
- 2 lbs russet or Yukon Gold potatoes, peeled and chunked: Yukon Golds yield a silkier texture, but russets give you fluffier mash, so pick based on the mood you are in.
- 4 tbsp unsalted butter: Butter is the backbone of the creamy texture here, and cutting it short will leave you with something that tastes like it is trying too hard to be healthy.
- 1 cup whole milk, warmed: Cold milk seizes the potatoes and makes them gummy, so always warm it before pouring it in.
- 1 1/2 cups shredded sharp cheddar, divided: Sharp cheddar cuts through the richness with real tang, and you need some inside the mash and some on top for that golden blistered finish.
- 1/2 cup grated parmesan: Parmesan adds a salty, nutty undertone that makes the whole thing taste more grown up than it has any right to.
- 1/2 cup sour cream: This is the secret weapon that makes the mashed potatoes taste like they came from a restaurant kitchen.
- 2 large yellow onions, thinly sliced: Yellow onions caramelize sweeter than white or red, and thin slices break down into gorgeous silky ribbons.
- 2 tbsp olive oil: A good glug for the skillet, and honestly you could swap in butter if you want even richer onions.
- 2 cloves garlic, minced: Added late so it does not burn, garlic bridges the gap between the sweet onions and the sharp cheese.
- 2 tbsp chopped fresh chives (optional): A sprinkle of green at the end makes it look finished and adds a mild onion brightness.
- 1 tsp salt, plus more to taste: Seasoning the potato water and the mash separately gives you layered flavor instead of a single salty punch.
- 1/2 tsp freshly ground black pepper: Freshly ground makes a noticeable difference here, as the pepper flavor sits right on the surface of the creamy potatoes.
Instructions
- Get the oven and dish ready:
- Preheat your oven to 375 degrees and grease a 9 by 13 baking dish with a little butter or oil so nothing sticks later.
- Boil the potatoes until tender:
- Drop the peeled chunks into a large pot of cold salted water, bring it to a rolling boil, then reduce to a simmer for 15 to 18 minutes until a fork slides through without resistance. Drain them thoroughly because any lingering water will dilute your mash.
- Caramelize the onions low and slow:
- While the potatoes cook, heat olive oil in a wide skillet over medium heat and add the sliced onions, stirring every few minutes until they turn a deep golden brown, about 15 to 20 minutes. Toss in the minced garlic for the final two minutes so it softens without browning.
- Mash everything together:
- Add the butter, warm milk, sour cream, one cup of cheddar, the parmesan, salt, and pepper to the drained potatoes and mash until silky smooth, leaving a few lumps if you like a rustic feel.
- Fold in those gorgeous onions:
- Gently stir half of the caramelized onions into the mashed potato mixture so they ribbon through without disappearing completely. Taste a spoonful now and add more salt if it needs it.
- Assemble and top with cheese:
- Spread the potato mixture evenly into your prepared baking dish, scatter the remaining onions across the top, and finish with the last half cup of cheddar scattered in an even layer.
- Bake until bubbly and golden:
- Slide the dish into the oven uncovered and bake for 20 to 25 minutes until the cheese on top is fully melted, bubbling, and showing golden brown spots at the edges.
- Rest, garnish, and serve:
- Let the casserole sit for about 5 minutes so it holds together when you scoop it, then sprinkle with fresh chives if you are using them and bring it straight to the table.
One Christmas, my uncle who never comments on food went back for a third helping and asked if I could make it again for his birthday in February. That dish traveled forty minutes in a cooler in my trunk and still disappeared within ten minutes of hitting the buffet table.
Making It Your Own
This recipe bends easily in whatever direction your fridge or cravings take you. Cooked crumbled bacon or diced ham folded in with the onions turns it into a full meal that could easily stand alone on a weeknight dinner table.
Cheese Swaps Worth Trying
Sharp cheddar is a reliable choice, but Gruyere melts into an incredibly nutty, luxurious layer that feels almost Swiss alpine lodge cozy. Monterey Jack brings a milder, stretchier melt that kids tend to love without complaint.
Getting Ahead of the Rush
You can assemble the entire casserole up to a day ahead, cover it tightly, and keep it in the fridge until you are ready to bake. This trick has saved me more than once when the oven was already packed with other dishes and the clock was ticking.
- Pull it from the fridge about 30 minutes before baking so the cold dish does not shock the oven temperature.
- You may need to add 5 extra minutes of bake time if it goes in cold from the refrigerator.
- Always check that the center is hot and bubbling before you pull it out, not just the edges.
Some dishes feed people, and some dishes bring them back for seconds with their eyes closed. This one does both, every single time.
Questions & Answers
- → 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 about 5–10 extra minutes in the oven if baking 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 beautifully—choose based on your preferred consistency.
- → How do I get perfectly caramelized onions?
-
Cook thinly sliced onions in olive oil over medium-low heat, stirring frequently. Patience is key—true caramelization takes 15 to 20 minutes. Avoid high heat, which browns the outside without softening the inside.
- → Can I freeze leftover casserole?
-
Yes, portion 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 and bubbly.
- → What cheeses can I substitute for cheddar?
-
Gruyère melts beautifully and adds a nutty depth, while Monterey Jack offers a milder, creamier result. You can also blend mozzarella with a sharp cheese for a balanced flavor and gooey texture.
- → Is this dish gluten-free?
-
As written, this casserole contains no flour or gluten-containing ingredients. Always verify labels on packaged items like sour cream and cheese to ensure no cross-contamination.