Cheesy Sweet Potato Gratin

Golden brown, bubbling Cheesy Sweet Potato Gratin with Caramelized Onions Delight fresh from the oven, showing melted cheese and golden edges. Save
Golden brown, bubbling Cheesy Sweet Potato Gratin with Caramelized Onions Delight fresh from the oven, showing melted cheese and golden edges. | gastronomyglobe.com

This dish layers thinly sliced sweet potatoes with deeply caramelized onions and a blend of Gruyère and sharp cheddar cheese. A creamy mixture infused with herbs and warming spices is poured evenly over the layers before baking. The result is a golden, tender gratin with rich, comforting flavors. Ideal as a hearty side or a flavorful main, it’s finished with fresh chives for a touch of brightness.

The first time I made this gratin, my kitchen smelled so incredible that my neighbor actually knocked on the door to ask what I was cooking. I'd been caramelizing onions for nearly half an hour, and that sweet, savory aroma had wafted through the building. Now it's become my go-to dish whenever I need to feed a crowd and want to impress without spending all day at the stove.

I served this at Thanksgiving last year instead of the usual marshmallow-topped sweet potatoes, and my aunt actually asked for the recipe before she'd even finished her first bite. There's something about the way the Gruyère bubbles up and gets golden brown on top that makes people hover around the baking dish, sneaking little tastes while it rests.

Ingredients

  • 2 lbs sweet potatoes, peeled and thinly sliced: A mandoline makes this so much easier and ensures even cooking, but a sharp knife and patience work too
  • 2 large yellow onions, thinly sliced: These need to be sliced about 1/4 inch thick so they caramelize properly without burning
  • 2 cups shredded Gruyère cheese: The nutty, earthy flavor of Gruyère is what elevates this from comfort food to something special
  • 1 cup shredded sharp cheddar cheese: Adds that familiar, melty quality everyone loves while bringing extra tang
  • 1 1/2 cups heavy cream: This creates the rich, velvety sauce that binds everything together
  • 1/2 cup whole milk: Lightens the cream just enough so the dish isn't overwhelmingly heavy
  • 3 tbsp unsalted butter: Use 2 tbsp for caramelizing the onions and save the last tablespoon for the cream mixture
  • 1/2 tsp dried thyme: Brings an earthy, herbal note that bridges the gap between sweet and savory
  • 1/4 tsp ground nutmeg: Just a pinch adds warmth and complexity without making the dish taste like dessert

Instructions

Get your oven ready:
Preheat to 375°F and generously butter a 9x13-inch baking dish while you prep everything else
Caramelize the onions:
Melt 2 tbsp butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook slowly for 20-25 minutes until they're deep golden and sticky
Build the flavor base:
Stir in the minced garlic during the last minute of onion cooking, then remove everything from heat
Make the creamy sauce:
Heat the cream, milk, thyme, nutmeg, pepper, remaining 1 tbsp butter, and 1/2 tsp salt in a small saucepan until steaming
Start layering:
Arrange half the sweet potato slices in the buttered dish, season them lightly, then spread half the onions and cheeses on top
Repeat the layers:
Add remaining potatoes, then rest of onions and cheeses, pressing down gently as you go
Add the cream:
Pour the warm cream mixture evenly over the entire dish, letting it seep down through the layers
Cover and bake:
Tent tightly with foil and bake for 40 minutes until potatoes are starting to soften
Get that golden top:
Remove foil and bake another 20 minutes until bubbly, bronzed, and irresistibly fragrant
Let it rest:
Wait 10 minutes before serving so the sauce can set slightly and portions hold together better
A close up view of a slice of Cheesy Sweet Potato Gratin with Caramelized Onions Delight on a white plate with fresh chives. Save
A close up view of a slice of Cheesy Sweet Potato Gratin with Caramelized Onions Delight on a white plate with fresh chives. | gastronomyglobe.com

This recipe has become my secret weapon for potluck dinners because it travels well and reheats beautifully. Something about the way the cream reduces and concentrates as it bakes makes the leftovers even better the next day, if there are any left.

Making It Ahead

You can assemble this entire gratin up to 24 hours ahead, cover it tightly, and keep it in the refrigerator. When you're ready to bake, add about 10 extra minutes to the covered baking time since it'll be cold. Let it come to room temperature for about 20 minutes while the oven preheats for more even cooking.

Choosing Your Cheese

I've found that pre-shredded cheese doesn't melt as smoothly because of the anti-caking coating, so try to buy blocks and shred them yourself. If you want to experiment, Fontina adds incredible creaminess, or swap in some Parmesan for extra umami punch. Just keep the total cheese quantity the same for the best results.

Serving Suggestions

This gratin is rich enough to stand alone as a main for a light dinner, especially alongside a crisp green salad with vinaigrette. It pairs beautifully with roasted chicken, pork tenderloin, or even as part of a vegetarian feast alongside roasted Brussels sprouts.

  • A glass of Sauvignon Blanc cuts through the richness perfectly
  • Fresh chives add a bright pop of color and mild onion flavor
  • Let everyone see those gorgeous layers by serving straight from the baking dish
A serving dish of Cheesy Sweet Potato Gratin with Caramelized Onions Delight alongside a glass of crisp white wine on a rustic table. Save
A serving dish of Cheesy Sweet Potato Gratin with Caramelized Onions Delight alongside a glass of crisp white wine on a rustic table. | gastronomyglobe.com

There's something deeply satisfying about serving a dish that looks this impressive but comes from such humble ingredients. Watch how quickly people go back for seconds.

Recipe FAQs

Sauté thinly sliced onions in butter over medium heat, stirring frequently, until they turn golden brown and sweet, about 20-25 minutes.

Yes, Gruyère and sharp cheddar contribute a balanced melt and flavor, but you can substitute with similar melting cheeses like fontina or mozzarella.

Use a sharp knife or mandoline to slice sweet potatoes thinly and uniformly, ensuring even cooking and layering.

Use gluten-free flour if thickening is needed, and verify that any cheeses used are free of additives containing gluten.

Yes, you can assemble it in advance and refrigerate, then bake right before serving for convenience.

Dried thyme, nutmeg, black pepper, and fresh chives enhance the flavor profile with subtle earthiness and warmth.

Cheesy Sweet Potato Gratin

Layers of sweet potatoes, caramelized onions, and cheeses baked to a golden, tender finish.

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 (plus more to taste)
  • 1/4 tsp ground nutmeg

Optional Additions

  • 1 tbsp 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 the Onions: In a large skillet over medium heat, melt 2 tbsp butter. Add sliced onions with a pinch of salt. Cook, stirring frequently, until deeply golden and caramelized, about 20-25 minutes. Add minced garlic during the final minute and remove from heat.
3
Prepare Cream Mixture: In a small saucepan, combine heavy cream, whole milk, dried thyme, nutmeg, black pepper, and remaining 1 tbsp butter. Heat over medium-low heat until steaming but not boiling. If using flour for thickening, whisk in until smooth and slightly thickened.
4
First Layer Assembly: Arrange half of the sweet potato slices in the prepared baking dish. Season lightly with salt.
5
Add First Filling Layer: Spread half of the caramelized onions over the potatoes. Sprinkle evenly with half of the Gruyère and half of the cheddar cheese.
6
Complete Layering: Repeat layers with remaining sweet potato slices, caramelized onions, and cheeses.
7
Pour Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients, ensuring it reaches all corners of the dish.
8
Covered Baking: Cover the dish tightly with aluminum foil. Bake for 40 minutes until potatoes begin to soften.
9
Finish Uncovered: Remove foil and continue baking for 20 minutes until the top is golden brown and bubbly, and potatoes are fork-tender when pierced.
10
Rest and Serve: Let the gratin rest for 10 minutes before serving to allow layers to set. Garnish with chopped 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 products including milk, cheese, and butter
  • Gluten-free when using gluten-free flour; verify cheese labels for gluten-containing additives
Clara Vance

Sharing easy, flavorful recipes and practical kitchen wisdom for fellow home cooks.