Cheesy Sweet Potato Gratin

Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight layered in a baking dish, topped with bubbly Gruyère and fresh chives. Save to Pinterest
Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight layered in a baking dish, topped with bubbly Gruyère and fresh chives. | recipesbyselena.com

This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and cheddar cheeses. The casserole is topped with a lightly seasoned cream mixture enriched with thyme and nutmeg for subtle warmth. Baked until the cheese melts golden and the potatoes are tender, it offers a comforting balance of sweet and savory flavors. Garnished with fresh chives, it serves beautifully as a filling side or main course, perfect for gatherings or cozy meals.

Last winter, my kitchen became headquarters for an unexpected dinner party. Six friends showed up with appetite and wine, and I had to work with what I had. This sweet potato gratin saved the evening—everyone went quiet when I brought it to the table.

My grandmother taught me that patience with onions pays off. She would stand at her stove, slowly stirring and telling me stories, until those translucent slices turned into something golden and magical. This recipe honors that ritual.

Ingredients

  • Sweet potatoes (2 lbs): Peel them thinly and slice as uniformly as possible—I use a mandoline for consistent layers that cook evenly
  • Yellow onions (2 large): Thin slices caramelize best and become sweet, melting pockets throughout the gratin
  • Gruyère cheese (2 cups): This nutty, melting cheese creates those gorgeous golden bubbles on top
  • Sharp cheddar (1 cup): Adds the punch needed to cut through the richness of the cream
  • Heavy cream (1 1/2 cups): The foundation of the sauce—do not substitute, it makes the potatoes luxuriously tender
  • Whole milk (1/2 cup): Lightens the cream slightly while keeping the sauce velvety
  • Unsalted butter (3 tbsp): Use for both caramelizing onions and enriching the cream mixture
  • Thyme (1/2 tsp): Earthy notes that complement the sweetness of the potatoes
  • Nutmeg (1/4 tsp): A classic gratin addition that adds warmth without overwhelming
  • Salt and pepper (1/2 tsp each): Essential seasoning, but taste as you go since cheese adds salinity

Instructions

Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and stir frequently until they turn deep golden and jam-like—this takes time but creates the foundation of flavor.
Prepare the cream sauce:
In a small saucepan, combine the cream, milk, thyme, nutmeg, pepper, and remaining butter, heating until steaming but not boiling, then whisk in the flour if you want a slightly thicker sauce.
Layer the gratin:
Arrange half the sweet potato slices in the buttered baking dish, season lightly, then add half the caramelized onions and half the cheeses before repeating with remaining ingredients.
Bake until golden:
Pour the warm cream mixture evenly over the layers, cover tightly with foil, and bake for 40 minutes, then uncover and continue baking until the top bubbles and turns golden brown.
A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring creamy layers and a rustic wooden serving spoon. Save to Pinterest
A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring creamy layers and a rustic wooden serving spoon. | recipesbyselena.com

This dish has become my go-to for comfort. There is something deeply satisfying about peeling those potatoes, standing at the stove while onions transform, and watching the whole thing bubble into something greater than the sum of its parts.

Making It Ahead

I have learned this gratin actually improves with a little time. You can assemble it completely, cover tightly, and refrigerate for up to 24 hours before baking. Just add 10 minutes to the covered baking time since it will be cold.

Choosing Your Cheese

While Gruyère and sharp cheddar create the classic combination, I have experimented with other options. Aged Gouda adds wonderful smokiness, and Fontella melts beautifully for a milder version. The key is using cheeses that melt well and have enough flavor to stand up to the sweet potatoes.

Serving Suggestions

This gratin works beautifully as a main dish with a simple green salad dressed with bright vinaigrette to cut the richness. As a side, it pairs exceptionally well with roasted chicken or pork tenderloin.

  • A crisp white wine like Sauvignon Blanc cuts through the cream
  • Light red wines such as Pinot Noir complement the sweetness
  • A hunk of crusty bread is essential for soaking up any extra sauce
Sliced Cheesy Sweet Potato Gratin with Caramelized Onions Delight served on a white plate, garnished with thyme and ready to eat. Save to Pinterest
Sliced Cheesy Sweet Potato Gratin with Caramelized Onions Delight served on a white plate, garnished with thyme and ready to eat. | recipesbyselena.com

The best part happens when you bring this to the table. The steam rising, that first golden spoonful revealing the layers beneath—watch peoples faces light up. That is why we cook.

Recipes Q&A

Cook sliced onions slowly over medium heat with a little butter, stirring frequently until they turn deep golden and develop a sweet, rich flavor. This usually takes about 20-25 minutes.

Gruyère and sharp cheddar provide a creamy and sharp flavor balance, but you can substitute with other melty cheeses like fontina or mozzarella if preferred.

Adding a tablespoon of gluten-free or all-purpose flour into the warm cream mixture helps to slightly thicken the sauce and improve its coating consistency.

Slice sweet potatoes thinly and uniformly, then layer them evenly with seasoning between layers to promote consistent cooking and flavor distribution.

Yes, assemble the layers and sauce in the baking dish, then refrigerate until ready to bake. Reheat gently before serving for best results.

Cheesy Sweet Potato Gratin

Comforting sweet potato gratin layered with caramelized onions and a blend of cheeses baked golden-brown.

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

  • 1 tbsp flour for thickening
  • 2 tbsp chopped fresh chives for garnish

Instructions

1
Preheat Oven: 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 during the last minute.
3
Prepare Cream Mixture: Combine cream, milk, thyme, nutmeg, black pepper, and remaining 1 tbsp butter in a small saucepan. Heat over medium-low until steaming, without boiling. 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 First Cheese Layer: Spread half of the caramelized onions over the potatoes. Sprinkle with half of the Gruyère and cheddar cheeses.
6
Complete Layering: Repeat with remaining sweet potatoes, caramelized onions, and cheeses.
7
Add Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients.
8
Covered Baking: Cover tightly with aluminum foil. Bake for 40 minutes.
9
Uncovered Baking: Remove foil and continue baking for 20 minutes, until top is golden brown and potatoes are fork-tender.
10
Rest and Serve: Let the 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 only when using gluten-free flour; verify cheese labels for gluten-containing additives.
  • Individuals with dairy allergies or lactose intolerance should avoid this recipe.
Selena Torres

Wholesome recipes, kitchen hacks, and comforting meals for everyday home cooks.