Cheesy Sweet Potato Gratin

A golden-baked dish of Cheesy Sweet Potato Gratin with Caramelized Onions Delight features bubbly cheese and tender layers. Save to Pinterest
A golden-baked dish of Cheesy Sweet Potato Gratin with Caramelized Onions Delight features bubbly cheese and tender layers. | hearthlykitchen.com

This savory gratin features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and sharp cheddar cheeses. A fragrant mix of thyme, nutmeg, and black pepper enriches the warm cream poured over the layers before baking. The dish is baked until golden and tender, offering a rich, comforting side or main dish option, garnished with fresh chives for a fresh finish.

The first time I made this gratin, I was hosting a fall dinner party and desperately needed something that felt impressive but wouldn't chain me to the stove. My kitchen smelled like caramelized onions for hours afterward, and I caught multiple guests hovering near the oven, watching the cheese bubble through the glass door. That evening taught me that some dishes announce themselves before they even hit the table.

Last Thanksgiving, I accidentally doubled the cream mixture because I was chatting while measuring, and it turned out to be the best mistake I have ever made in the kitchen. The extra liquid made the potatoes impossibly tender, and my sister-in-law actually scraped the baking dish clean with a spoon while we were still sitting at the table.

Ingredients

  • 2 lbs sweet potatoes, peeled and thinly sliced: A mandoline is your friend here for consistent thickness, which means even cooking
  • 2 large yellow onions, thinly sliced: Take your time caramelizing these properly because they are the secret ingredient that makes everything taste extraordinary
  • 2 cloves garlic, minced: Add this at the very end of onion cooking so it does not burn and turn bitter
  • 2 cups shredded Gruyère cheese: This melting cheese brings that incredible nutty flavor that sets this recipe apart from standard potato gratins
  • 1 cup shredded sharp cheddar cheese: The sharpness cuts through the sweet potatoes and creates this perfect flavor triangle
  • 1 1/2 cups heavy cream: Do not be tempted to use half and half because the potatoes need this richness to become silky
  • 1/2 cup whole milk: This slightly lightens the dish while maintaining that luxurious mouthfeel
  • 3 tbsp unsalted butter: Use unsalted so you can control the seasoning, and save a tablespoon for the cream mixture
  • 1/2 tsp dried thyme: Fresh thyme works beautifully too, just strip the leaves and add them with the garlic
  • 1/2 tsp ground black pepper: Freshly ground makes a noticeable difference here
  • 1/2 tsp salt (plus more to taste): Sweet potatoes need a bit more salt than you might expect to really shine
  • 1/4 tsp ground nutmeg: This might seem unusual, but it echoes the natural sweetness of the potatoes in the most subtle way
  • 1 tbsp gluten-free flour (optional): Only add this if you prefer a slightly thicker sauce, though the dish works beautifully without it
  • 2 tbsp chopped fresh chives: These add a bright pop of color and mild onion flavor that cuts through all the richness

Instructions

Preheat your oven and prepare the baking dish:
Set your oven to 375°F (190°C) and butter a 9x13-inch baking dish thoroughly, getting into all the corners
Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook them slowly for 20 to 25 minutes until they are deep golden and sticky
Add the aromatics:
Stir in the minced garlic during the last minute of onion cooking, just until fragrant, then remove the pan from heat
Prepare the cream base:
Heat the cream, milk, thyme, nutmeg, pepper, and remaining 1 tablespoon butter in a small saucepan until steaming, whisking in the flour now if you are using it
Start the layering:
Arrange half the sweet potato slices in the prepared dish, slightly overlapping them like fallen dominoes, and give them a light sprinkle of salt
Add the first layer of filling:
Spread half the caramelized onions over the potatoes, then scatter with half of both cheeses
Repeat the layers:
Layer the remaining sweet potatoes, followed by the rest of the onions and cheeses, pressing down gently as you go
Pour over the cream mixture:
Carefully pour the warm cream mixture over the entire dish, taking your time to let it seep down between all the layers
Cover and bake:
Cover the dish tightly with foil and bake for 40 minutes, which will steam the potatoes until they are almost tender
Uncover and finish baking:
Remove the foil and continue baking for another 20 minutes until the top is bubbly and golden brown with those gorgeous crispy cheese edges
Rest before serving:
Let the gratin sit for 10 minutes before serving, which helps the layers set and makes serving much easier
This vegetarian Cheesy Sweet Potato Gratin with Caramelized Onions Delight sits beside a glass of crisp white wine. Save to Pinterest
This vegetarian Cheesy Sweet Potato Gratin with Caramelized Onions Delight sits beside a glass of crisp white wine. | hearthlykitchen.com

My neighbor texted me at 11 PM the night after I brought her a leftover portion, asking if I could teach her how to make it. There is something about this combination of flavors that turns a simple side dish into the kind of food people remember months later.

Make It Your Own

I have discovered that adding a layer of sautéed mushrooms between the potato layers makes this feel even more like a main course. The mushrooms soak up all that creamy sauce and add this earthy quality that grounds the sweetness of the potatoes.

Timing Is Everything

The real secret to this dish is not rushing the onion caramelization step. I once tried to speed it up by turning up the heat, and ended up with burned onions that made the whole taste bitter. Low and slow gives you that deep, complex sweetness that makes this recipe sing.

Serving Suggestions

This gratin is rich enough to stand alone as a vegetarian main dish, especially when paired with a crisp green salad dressed with something acidic. The sharp vinaigrette cuts through the cream and makes each bite feel lighter. A glass of chilled white wine does not hurt either.

  • Let it rest for at least 10 minutes or the layers will slide apart when you try to serve it
  • The top layer of cheese can go from golden to burnt quickly, so start checking at the 15 minute mark after removing the foil
  • This reheats beautifully at 350°F covered with foil until warmed through
A close-up shows fork-tender slices of Cheesy Sweet Potato Gratin with Caramelized Onions Delight garnished with fresh chives. Save to Pinterest
A close-up shows fork-tender slices of Cheesy Sweet Potato Gratin with Caramelized Onions Delight garnished with fresh chives. | hearthlykitchen.com

There is something deeply satisfying about serving a dish that looks as impressive as it tastes, especially when it comes together with such simple ingredients. This gratin has become my go-to for those nights when I want to feed people something that feels like a hug on a plate.

Recipe Questions & Answers

Cook sliced onions slowly over medium heat with a bit of butter and salt, stirring often until they turn golden and soften, typically 20-25 minutes.

Yes, it can be assembled and refrigerated before baking. Reheat gently to maintain its creamy texture and flavors.

A combination of Gruyère and sharp cheddar offers both creaminess and a flavorful punch, melting beautifully over the potatoes.

Adding a tablespoon of gluten-free or all-purpose flour to the warm cream mixture before layering helps achieve a slight thickening.

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

Cheesy Sweet Potato Gratin

Layers of sweet potatoes, caramelized onions, and cheeses baked into a golden, comforting gratin.

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

  • 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 Onions: Melt 2 tbsp butter in a large skillet over medium heat. Add sliced onions with a pinch of salt. Cook stirring frequently until deeply golden and caramelized, about 20-25 minutes. Add minced garlic and cook 1 minute more. Remove from heat.
3
Prepare Cream Mixture: Heat cream, milk, thyme, nutmeg, black pepper, and remaining 1 tbsp butter in a small saucepan over medium-low heat until steaming. Do not boil. If using flour, whisk in until smooth to slightly thicken.
4
First Layer: Arrange half of the sweet potato slices in the prepared baking dish. Season lightly with salt.
5
Add Onions and Cheese: Spread half of the caramelized onions over the potatoes. Sprinkle with half of the Gruyère and cheddar cheese.
6
Second Layer: Repeat layering with remaining sweet potatoes, caramelized onions, and cheeses.
7
Add Cream Mixture: Pour the warm cream mixture evenly over all layers in the baking dish.
8
Covered Bake: Cover tightly with aluminum foil. Bake for 40 minutes.
9
Uncovered Bake: Remove foil and continue baking for 20 minutes or until top is golden brown and potatoes are fork-tender.
10
Rest and Serve: Let gratin rest for 10 minutes before serving. Garnish with fresh chives if desired.
Additional Information

Equipment Needed

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

Nutrition (Per Serving)

Calories 420
Protein 13g
Carbs 37g
Fat 26g

Allergy Information

  • Contains dairy including milk, cheese, and butter. Use gluten-free flour for gluten-free preparation. Check cheese labels for additives if sensitive to allergens.
Grace Ellington

Home cook sharing easy recipes, kitchen tips, and meal ideas everyone can enjoy.