Cheesy Sweet Potato Gratin

Golden, bubbling Cheesy Sweet Potato Gratin with caramelized onions baked in a ceramic dish, served warm as a comforting side. Save to Pinterest
Golden, bubbling Cheesy Sweet Potato Gratin with caramelized onions baked in a ceramic dish, served warm as a comforting side. | dashanddishes.com

This dish layers thinly sliced sweet potatoes with deeply caramelized onions and a creamy blend of Gruyère and sharp cheddar cheeses. A warm cream mixture seasoned with thyme, nutmeg, and pepper is poured over before baking to a golden, bubbling finish. Perfectly tender and flavorful, it’s an ideal crowd-pleaser that pairs well with crisp white or light red wines. A comforting option that can be prepared ahead and reheated gently.

The smell of caramelizing onions still takes me back to my tiny first apartment kitchen, where I learned that patience transforms even the humblest ingredients into something extraordinary. I made this gratin on a whim one rainy Sunday, sweet potatoes from the farmers market and an aging block of Gruyère I couldn't bear to waste. My roommate hovered around the oven the entire time, and we ended up eating half the dish standing up right from the baking dish.

Last Thanksgiving, my grandmother who swears she dislikes sweet potatoes took three helpings of this. Watching her realize the sweetness comes from the caramelized onions not just the potatoes was this tiny beautiful moment I'll treasure forever.

Ingredients

  • 2 lbs sweet potatoes peeled and thinly sliced: A mandoline creates those perfect uniform layers but a sharp knife and steady hand work just fine
  • 2 large yellow onions thinly sliced: Take your time here because properly caramelized onions are the secret weapon that makes people ask what's in this
  • 2 cloves garlic minced: Add it in the last minute so it doesn't burn and turn bitter
  • 2 cups shredded Gruyère cheese: The nutty complex flavor is worth every penny and melts beautifully into the cream
  • 1 cup shredded sharp cheddar cheese: Adds that extra punch and helps create the gorgeous golden crust
  • 1 1/2 cups heavy cream: Don't skimp here because the rich custard is what binds everything together
  • 1/2 cup whole milk: Lightens the cream just enough so the dish doesn't feel too heavy
  • 3 tbsp unsalted butter: One tablespoon for the cream sauce and two for caramelizing those precious onions
  • 1/2 tsp dried thyme: Earthy and warm it bridges the gap between the sweet potatoes and savory cheese
  • 1/2 tsp ground black pepper: Freshly cracked makes all the difference in the final depth of flavor
  • 1/2 tsp salt plus more to taste: Season each layer as you go because sweet potatoes need more salt than you'd expect
  • 1/4 tsp ground nutmeg: Just a whisper adds this haunting warmth that people can never quite identify

Instructions

Get your oven and dish ready:
Preheat to 375°F and generously butter a 9x13 baking dish while you prep everything else
Caramelize the onions:
Melt 2 tbsp butter in a large skillet then cook onions with a pinch of salt over medium heat for 20 to 25 minutes stirring frequently until they turn deep golden brown and smell incredibly sweet adding the garlic for just one final minute
Warm the cream mixture:
Heat cream milk thyme nutmeg pepper and remaining 1 tbsp butter in a small saucepan until steaming but not boiling whisking in flour if you want a slightly thicker sauce
Start layering:
Arrange half the sweet potatoes in the dish season lightly with salt then spread half the caramelized onions on top and sprinkle with half the cheeses
Repeat the layers:
Add remaining sweet potatoes then remaining onions and finish with remaining cheeses creating these beautiful distinct strata
Pour over the cream:
Distribute the warm cream mixture evenly over the entire dish letting it seep down through all the layers
First bake covered:
Cover tightly with foil and bake for 40 minutes so the potatoes steam and cook through in their own creamy bath
Golden finish:
Remove foil and bake another 20 minutes until the top is bubbling and deeply golden with those irresistible crispy cheese edges
The hardest part:
Let it rest for 10 minutes because this gives the cream time to set slightly so you get those gorgeous clean layers when you serve it
Layers of thinly sliced sweet potatoes and savory onions in Cheesy Sweet Potato Gratin, topped with melted cheese and fresh chives. Save to Pinterest
Layers of thinly sliced sweet potatoes and savory onions in Cheesy Sweet Potato Gratin, topped with melted cheese and fresh chives. | dashanddishes.com

This dish has become my go-to for bringing friends together. Something about pulling that bubbling golden dish out of the oven makes people gather around the kitchen island wine in hand like moths to a flame.

Make It Ahead

You can assemble everything up to 24 hours in advance but hold off on baking. Cover tightly and refrigerate then add 10 minutes to the covered baking time since everything will be cold going into the oven.

Choosing Your Cheese

Gruyère is non-negotiable for that sophisticated nutty flavor but you can swap the cheddar for fontina if you want something milder or add some Parmesan for extra salty depth.

Serving Ideas

This gratin is rich enough to stand alone as a vegetarian main with a simple green salad dressed in something acidic. It also pairs beautifully alongside roasted chicken pork tenderloin or even as part of a holiday spread alongside more traditional sides.

  • A crisp white wine like Sauvignon Blanc cuts through the richness perfectly
  • Leftovers reheat surprisingly well in a low oven covered with foil
  • Fresh chives add a bright pop of color and mild onion flavor that balances all that creamy goodness
A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showing golden crust, creamy interior, and herbs for garnish. Save to Pinterest
A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showing golden crust, creamy interior, and herbs for garnish. | dashanddishes.com

There's something deeply satisfying about a dish that looks this impressive but relies on such humble ingredients. Every time I serve it someone asks for the recipe and that's always the best feeling.

Recipe FAQs

Cook sliced onions slowly over medium heat with butter and salt, stirring occasionally, until they turn deep golden and sweet, usually about 20-25 minutes.

Yes, cheeses with good melting qualities like Fontina, mozzarella, or Swiss can be substituted, keeping a balanced flavor profile.

The combination creates a rich but smooth mixture that adds moisture and binds the layers without being too heavy.

Whisk in gluten-free or all-purpose flour while gently heating the cream and milk to achieve a slightly thicker consistency before pouring over the layers.

Consider adding a pinch of smoked paprika or layering sautéed mushrooms for a richer taste experience.

Allow the gratin to cool, cover tightly, and refrigerate for up to 3 days. Reheat gently in the oven to preserve texture and flavor.

Cheesy Sweet Potato Gratin

Rich gratin layered with sweet potatoes, golden onions, and melted cheeses baked until tender and golden.

Prep 25m
Cook 60m
Total 85m
Servings 6
Difficulty Medium

Ingredients

Vegetables

  • 2 lbs sweet potatoes, peeled and thinly sliced
  • 2 large yellow onions, thinly sliced
  • 2 cloves garlic, minced

Dairy & Cheese

  • 2 cups shredded Gruyère cheese
  • 1 cup shredded sharp cheddar cheese
  • 1 1/2 cups heavy cream
  • 1/2 cup whole milk
  • 3 tbsp unsalted butter

Seasonings

  • 1/2 tsp dried thyme
  • 1/2 tsp ground black pepper
  • 1/2 tsp salt
  • 1/4 tsp ground nutmeg

Optional Additions

  • 1 tbsp all-purpose flour for thickening
  • 2 tbsp chopped fresh chives for garnish

Instructions

1
Preheat Oven and Prepare Dish: Preheat oven to 375°F. Grease a 9x13-inch baking dish with butter or cooking spray.
2
Caramelize Onions: Melt 2 tbsp butter in a large skillet over medium heat. Add sliced onions and a pinch of salt. Cook, stirring frequently, until deeply golden and caramelized, about 20-25 minutes. Add minced garlic during the last minute and cook until fragrant.
3
Prepare Cream Base: Combine heavy cream, whole milk, thyme, nutmeg, black pepper, and remaining 1 tbsp butter in a small saucepan. Heat over medium-low until steaming but not boiling. If using flour, whisk in until smooth to create a slightly thickened base.
4
First Layer Assembly: Arrange half the sweet potato slices in the prepared baking dish. Season lightly with salt. Spread half the caramelized onion mixture over the potatoes. Sprinkle with half the Gruyère and half the cheddar cheese.
5
Second Layer Assembly: Repeat layering with remaining sweet potatoes, caramelized onions, and cheeses.
6
Add Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients, ensuring it seeps through all layers.
7
Initial Baking: Cover the dish tightly with aluminum foil. Bake for 40 minutes to allow potatoes to cook through.
8
Final Baking: Remove foil and continue baking uncovered for 20 minutes, or until the top is golden brown and bubbly and potatoes are fork-tender.
9
Rest and Serve: Let the gratin rest for 10 minutes before serving to allow layers to set. Garnish with fresh chives if desired.
Additional Information

Equipment Needed

  • Large skillet
  • Small saucepan
  • 9x13-inch baking dish
  • Sharp knife or mandoline slicer
  • Mixing bowls
  • Whisk
  • Aluminum foil

Nutrition (Per Serving)

Calories 420
Protein 13g
Carbs 37g
Fat 26g

Allergy Information

  • Contains dairy: milk, cream, cheese, and butter
  • Contains gluten if wheat flour is used as thickener
  • Some cheeses may contain traces of gluten or other allergens—always check product labels
Rachel Bennett

Food lover sharing simple, wholesome recipes and kitchen tips for busy home cooks.