Cheesy Sweet Potato Gratin

A close-up of golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring bubbling cheese and tender sweet potato layers. Save to Pinterest
A close-up of golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring bubbling cheese and tender sweet potato layers. | flavorfront.com

This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and sharp cheddar cheeses. The gratin is baked to a golden crust with a smooth, spiced cream sauce, delivering comforting, savory flavors perfect for a side or main course. Optional gluten-free flour gently thickens the sauce while fresh chives add a fragrant garnish. Prepare by caramelizing onions slowly, layering ingredients carefully, and baking uncovered towards the end for a crisp top.

The kitchen smelled like sweet earth and butter, sunlight streaming through the window as I wrestled with a mandoline and a mountain of sweet potatoes. My roommate kept poking her head in, asking if it was ready yet, the onions slowly turning into something golden and patient on the stove.

I first made this for a rainy Sunday dinner with friends, skeptical that something so simple could impress. But when everyone went silent for a full minute after the first bite, I knew this recipe was staying in my regular rotation forever.

Ingredients

  • Sweet potatoes: Thin, even slices are crucial here—take your time with the knife or treat yourself to a mandoline for uniform layers
  • Yellow onions: The long, slow caramelization is what transforms them from simple to extraordinary—do not rush this step
  • Gruyère and sharp cheddar: The Gruyère brings that nutty, sophisticated melt while cheddar punches up the flavor
  • Heavy cream and whole milk: The combination creates the perfect velvety consistency without being overwhelmingly rich
  • Thyme and nutmeg: Warm, aromatic spices that complement the natural sweetness of the potatoes
  • Butter: Three tablespoons might seem generous, but it is what creates that luscious, silky mouthfeel
  • Garlic: Added at the very end of caramelization so it mellows without burning
  • Chives: Fresh green sprinkles on top cut through all that richness with a bright, oniony finish

Instructions

Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add sliced onions with a pinch of salt, and let them cook slowly, stirring often, until they turn deep golden and smell incredibly sweet—about 20 to 25 minutes
Add the garlic:
Stir in the minced garlic during the last minute of cooking so it softens and releases its aroma without turning bitter
Warm the cream mixture:
In a small saucepan, gently heat the cream, milk, thyme, nutmeg, black pepper, and remaining butter until steaming, whisking in the flour if you want a slightly thicker sauce
Start layering:
Arrange half the sweet potato slices in your greased baking dish, sprinkle them lightly with salt, then spread half the caramelized onions over the top
Add the cheese:
Sprinkle half of both cheeses over the onions, creating little pockets of melting goodness throughout the layers
Repeat the layers:
Add the remaining sweet potatoes, onions, and cheese, building upward like a delicious edible tower
Pour over the cream:
Slowly drizzle the warm cream mixture over everything, letting it seep down through all the layers
Cover and bake:
Tent the dish tightly with foil and bake for 40 minutes so the potatoes steam and tenderize in their own bath
Uncover and brown:
Remove the foil and bake for another 20 minutes until the top is bubbly, golden, and absolutely irresistible
Rest before serving:
Let the gratin sit for 10 minutes so the creamy sauce sets up slightly and makes serving much easier
Hearty serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight on a white plate, garnished with fresh chives. Save to Pinterest
Hearty serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight on a white plate, garnished with fresh chives. | flavorfront.com

This recipe has become my go-to for holiday dinners because it somehow feels fancy enough for company but cozy enough for a Tuesday night. Last Thanksgiving, my cousin who claims to hate sweet potatoes went back for thirds.

Make It Your Own

Sometimes I sprinkle smoked paprika between layers for a subtle smoky undertone that plays beautifully with the sweet and savory elements. Sautéed mushrooms make an earthy addition, while a handful of baby spinach wilts nicely between layers for some color.

The Make-Ahead Magic

You can assemble the entire gratin up to a day before baking, covering it tightly and storing it in the refrigerator. Let it come to room temperature for about 30 minutes before baking, adding a few extra minutes to the covered baking time if needed.

Perfect Pairings

A crisp Sauvignon Blanc cuts through the richness while a light Pinot Noir complements the caramelized notes. For a complete meal, serve alongside roasted chicken or pork tenderloin.

  • A simple green salad with vinaigrette balances the creaminess
  • Crusty bread is perfect for mopping up any extra sauce
  • Roasted Brussels sprouts add a nice bitter contrast to the sweet potatoes
Overhead view of baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showing caramelized onion streaks and melted cheese crust. Save to Pinterest
Overhead view of baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showing caramelized onion streaks and melted cheese crust. | flavorfront.com

There is something deeply satisfying about serving a dish that looks this impressive but comes together with such simple ingredients.

Common Questions

Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring frequently until golden brown and sweet, about 20-25 minutes.

Yes, by using gluten-free flour for thickening and ensuring cheeses have no gluten additives, the dish remains gluten-free.

Gruyère and sharp cheddar provide a rich, creamy texture and balanced flavor that melts beautifully in the gratin.

Bake covered initially to cook through, then uncover and bake longer to allow the top to turn golden brown and slightly crisp.

Yes, it can be assembled ahead and gently reheated before serving without losing its creamy texture and flavor.

Dried thyme, ground black pepper, nutmeg, and salt combine to add warm and savory depth to the creamy layers.

Cheesy Sweet Potato Gratin

Rich gratin layered with sweet potatoes, caramelized onions, and a blend of cheeses baked until 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 (plus more to taste)
  • 1/4 tsp ground nutmeg

Optional

  • 1 tbsp gluten-free flour 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. Grease a 9x13-inch baking dish with butter or cooking spray.
2
Caramelize the 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 during the last minute and remove from heat.
3
Prepare the cream mixture: In a small saucepan, combine heavy cream, whole milk, dried thyme, ground nutmeg, black pepper, and remaining 1 tbsp butter. Heat over medium-low until steaming but not boiling. If thickening is desired, whisk in flour until smooth.
4
First layer assembly: Arrange half of the sweet potato slices in the prepared baking dish. Season lightly with salt, then spread half of the caramelized onions over the potatoes. Sprinkle with half of the Gruyère and cheddar cheese.
5
Second layer assembly: Repeat layering with remaining sweet potatoes, caramelized onions, and cheese blend.
6
Add cream mixture: Pour the warm cream mixture evenly over the layered ingredients, ensuring coverage across the entire dish.
7
Covered baking phase: Cover baking dish tightly with aluminum foil. Bake for 40 minutes to allow potatoes to cook through.
8
Uncovered baking phase: Remove foil and continue baking uncovered for 20 minutes, until top is golden brown and potatoes are fork-tender.
9
Rest and serve: Allow gratin to 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 slicer
  • Mixing bowls
  • Whisk
  • Aluminum foil

Nutrition (Per Serving)

Calories 420
Protein 13g
Carbs 37g
Fat 26g

Allergy Information

  • Contains dairy (milk, cheese, butter)
  • Gluten-free only when using certified gluten-free flour
Natalie Rivers

Everyday cook sharing flavor-packed, easy recipes and kitchen wisdom for home cooks.