Cheesy Sweet Potato Gratin

Golden slices of sweet potato layered with caramelized onions and melted Gruyère in the Cheesy Sweet Potato Gratin with Caramelized Onions Delight. Pin It
Golden slices of sweet potato layered with caramelized onions and melted Gruyère in the Cheesy Sweet Potato Gratin with Caramelized Onions Delight. | hometastelab.com

This gratin combines sweet potatoes sliced thinly and layered with deeply caramelized onions and a blend of Gruyère and cheddar cheeses. A creamy mixture of milk, cream, and butter is poured over the layers, then baked until golden and tender. The dish offers a warm, comforting texture and rich flavors enhanced by thyme, nutmeg, and freshly chopped chives for garnish. Perfect as a satisfying side or main dish for gatherings.

The first time I made this gratin was during a rainy October dinner party when I needed something comforting but impressive. My friend Sarah took one bite and actually went quiet, which never happens, then proceeded to ask for thirds. Something about the way the sweet potatoes soak up that creamy, savory mixture creates this incredible depth that people just dont expect from a humble root vegetable.

Last Thanksgiving, I made three of these gratins because my family kept requesting it year after year. Watching my usually skeptical uncle go back for fourths was all the validation I needed. The way the house smells while the onions are slowly caramelizing is pure comfort—earthy, sweet, and incredibly cozy.

Ingredients

  • 2 lbs sweet potatoes, thinly sliced: Using a mandoline creates perfectly even layers that cook uniformly, though a sharp knife works too
  • 2 large yellow onions, thinly sliced: Take your time caramelizing these properly because theyre the secret ingredient that makes the dish sing
  • 2 cloves garlic, minced: Add this at the very end of caramelizing so it doesnt burn and turn bitter
  • 2 cups shredded Gruyère cheese: This melts beautifully and adds that sophisticated nutty flavor
  • 1 cup shredded sharp cheddar cheese: The sharpness cuts through the sweetness of the potatoes and cream
  • 1 1/2 cups heavy cream: Creates that luxurious, velvety texture that makes gratins so irresistible
  • 1/2 cup whole milk: Lightens the cream slightly so the dish isnt overwhelmingly heavy
  • 3 tbsp unsalted butter: Use 2 tablespoons for the onions and save 1 for the cream mixture
  • 1/2 tsp dried thyme: Adds an earthy note that pairs beautifully with sweet potatoes
  • 1/2 tsp ground black pepper: Freshly ground makes a noticeable difference here
  • 1/2 tsp salt plus more to taste: Remember the cheese is salty, so season carefully
  • 1/4 tsp ground nutmeg: Just a pinch enhances the creaminess without being detectable
  • 1 tbsp flour, optional: Helps thicken the cream slightly if you prefer a more custard-like texture
  • 2 tbsp fresh chives: Adds a pop of color and mild onion flavor as a garnish

Instructions

Preheat and prepare your baking dish:
Set your oven to 375°F and butter a 9x13-inch baking dish thoroughly, getting into all the corners
Caramelize the onions slowly:
Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook them gently for 20 to 25 minutes until they turn deep golden brown, stirring frequently so they dont burn
Add the garlic:
Stir in the minced garlic during the last minute of cooking so it becomes fragrant but doesnt brown, then remove the pan from heat
Warm the cream mixture:
In a small saucepan, heat the cream, milk, thyme, nutmeg, pepper, remaining 1 tablespoon butter, and flour if using over medium-low heat until steaming but not boiling
Start layering:
Arrange half the sweet potato slices in the bottom of your prepared dish, overlapping them slightly like shingles, and sprinkle with a tiny bit of salt
Add the first layer of flavor:
Spread half the caramelized onions over the potatoes, then sprinkle with half the Gruyère and half the cheddar cheese
Build the second layer:
Repeat with the remaining sweet potatoes, onions, and cheeses, creating those beautiful distinct layers that will melt together
Pour over the cream:
Carefully pour the warm cream mixture evenly over the entire gratin, trying to distribute it as uniformly as possible
Cover and bake:
Tent the dish tightly with aluminum foil and bake for 40 minutes to let the potatoes steam and soften in the creamy liquid
Uncover and finish:
Remove the foil and bake for another 20 minutes until the top is bubbly and golden brown with some delicious crispy edges
Let it rest before serving:
Wait 10 minutes before cutting so the custard sets slightly and makes serving much cleaner and easier
A close-up of the bubbling, baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives. Pin It
A close-up of the bubbling, baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives. | hometastelab.com

My sister-in-law now requests this for every family gathering, even in summer when no one wants to turn on the oven. The way the cheeses bubble up and create that gorgeous golden crust on top makes it impossible to resist sneaking a bite straight from the pan.

Make It Ahead

You can assemble this entire gratin up to 24 hours in advance, cover it tightly, and keep it refrigerated. When ready to bake, let it sit at room temperature for about 30 minutes before putting it in the oven, and add an extra 10 minutes to the covered baking time.

Perfect Pairings

This rich gratin works beautifully alongside roasted chicken, pork tenderloin, or as part of a vegetarian holiday spread. A crisp green salad with vinaigrette helps cut through the creaminess, and a glass of Sauvignon Blanc complements the sweet and savory flavors perfectly.

Serving Suggestions

Let the gratin rest those full 10 minutes because it makes such a difference in how cleanly you can serve it. I like to bring the whole dish to the table and let people serve themselves because it looks impressive and stays hot longer.

  • Sprinkle fresh chives over the top right before serving for a bright pop of green
  • A pinch of smoked paprika on each serving adds a lovely smoky depth
  • Serve slightly warm rather than piping hot for the best flavor experience
Rich, gluten-free Cheesy Sweet Potato Gratin with Caramelized Onions Delight served as a comforting side dish on a rustic table. Pin It
Rich, gluten-free Cheesy Sweet Potato Gratin with Caramelized Onions Delight served as a comforting side dish on a rustic table. | hometastelab.com

Theres something deeply satisfying about serving a dish that looks this elegant but comes from such humble ingredients. Hope this becomes a staple in your kitchen too.

Recipe Questions

Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring often until they turn deep golden brown, which takes about 20-25 minutes.

Yes, you can assemble the layers and refrigerate before baking. When ready, bake as directed, adding a few extra minutes if baked straight from the fridge.

Gruyère and sharp cheddar provide melting qualities and depth of flavor, but other semi-hard cheeses can be used based on preference.

Use gluten-free flour for the thickening step if needed and verify that cheeses do not contain gluten additives.

A crisp white wine like Sauvignon Blanc or a light red such as Pinot Noir complements the rich, creamy flavors beautifully.

Adding smoked paprika or a layer of sautéed mushrooms can enhance the depth and smoky notes of the gratin.

Cheesy Sweet Potato Gratin

Rich layers of sweet potatoes, caramelized onions, and melted cheeses baked until golden and tender.

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 gluten-free or all-purpose flour for thickening
  • 2 tbsp chopped fresh chives for garnish

Instructions

1
Prepare Oven and Baking Dish: Preheat oven to 375°F. Generously grease a 9x13-inch baking dish with butter or cooking spray.
2
Caramelize Onions: Melt 2 tablespoons butter in a large skillet over medium heat. Add sliced onions with a pinch of salt. Cook, stirring frequently, for 20-25 minutes until deeply golden and caramelized. Add minced garlic during the final minute.
3
Prepare Cream Mixture: In a small saucepan, combine heavy cream, whole milk, thyme, nutmeg, black pepper, and remaining 1 tablespoon butter. Heat over medium-low until steaming, not boiling. If using flour, whisk until smooth and slightly thickened.
4
First Layer Assembly: Arrange half the sweet potato slices in the prepared dish. Season lightly with salt. Spread half the caramelized onions over potatoes, then sprinkle with half the Gruyère and cheddar.
5
Complete Layering: Repeat with remaining sweet potatoes, caramelized onions, and cheese blend. Pour the warm cream mixture evenly over all layers.
6
Covered Baking: Cover dish tightly with aluminum foil. Bake for 40 minutes to steam and soften potatoes.
7
Final Browning: Remove foil and continue baking uncovered for 20 minutes until top is golden brown and potatoes are fork-tender.
8
Rest and Serve: Let gratin rest for 10 minutes before serving 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, cheese, and butter
  • Gluten-free option available when using gluten-free flour
  • Always verify cheese labels for potential allergen additives
Claire Donovan

Sharing easy, wholesome recipes and practical cooking tips for fellow food lovers.