Cheesy Sweet Potato Gratin

A top-down view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring golden-brown, bubbly cheese crust and thin layers of sweet potatoes visible in a white ceramic dish. Save
A top-down view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, featuring golden-brown, bubbly cheese crust and thin layers of sweet potatoes visible in a white ceramic dish. | simplestatekitchen.com

This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a mix of Gruyère and sharp cheddar cheeses. A creamy blend of milk, cream, and subtle spices is poured over the layers before baking to a golden finish. The gratin offers a rich, comforting flavor ideal for any occasion and garnished with fresh chives for added freshness.

Preparation involves gently caramelizing onions for a sweet depth, then combining creamy dairy and warming spices. The layers are baked covered, then uncovered to achieve a bubbly, golden crust. Perfect as a vegetarian side or main, it balances texture and flavor beautifully.

The first time I made this gratin was for a last-minute Friendsgiving, and I completely underestimated how long onions take to properly caramelize. My kitchen filled with that incredible savory sweetness, and I ended up serving dinner an hour late, but nobody minded once they took their first bite. The way the creamy sauce clings to each tender potato slice while that cheesy crust forms on top is something special. Now I plan for the onion time, because that depth of flavor cannot be rushed.

I brought this to a potluck last winter, and my friend's grandmother asked for the recipe before she even finished her first serving. Something about the nutmeg cutting through the rich cream, paired with that Gruyère sharpness, makes people pause mid-conversation. The best part is watching that golden top emerge from the oven after the foil comes off.

Ingredients

  • Sweet potatoes: Choose evenly sized potatoes for uniform slices that cook at the same rate, and peel them carefully to avoid waste
  • Yellow onions: Patience here is everything, low and slow cooking transforms sharp raw onions into something deeply sweet and complex
  • Garlic: Add this only in the last minute of caramelizing so it does not burn and turn bitter
  • Gruyère cheese: This cheese melts beautifully and brings a nutty flavor that pairs perfectly with sweet potatoes
  • Sharp cheddar: The sharpness cuts through the richness and adds that familiar comforting cheese flavor everyone loves
  • Heavy cream and whole milk: This combination creates the perfect consistency, not too heavy but still luxuriously creamy
  • Butter: Use unsalted so you can control the seasoning exactly, and reserve some for the cream mixture
  • Thyme: Fresh or dried, thyme adds an earthy note that bridges the gap between sweet and savory elements
  • Nutmeg: Just a quarter teaspoon adds warmth and depth that people notice but cannot quite identify
  • Black pepper: Freshly cracked pepper adds subtle heat that balances the sweet potatoes
  • Salt: Season each layer as you build the gratin, because seasoning only at the end leaves the potatoes bland
  • Flour: Optional but helps stabilize the cream sauce, especially helpful if making ahead
  • Fresh chives: These add a pop of color and mild onion flavor that brightens the rich final dish

Instructions

Preheat and prepare:
Get your oven to 375°F and generously butter a 9x13-inch baking dish, paying attention to the corners
Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add onions with a pinch of salt, and stir frequently for 20 to 25 minutes until deep golden
Add the garlic:
Stir in minced garlic during the last minute of onion cooking, then remove from heat
Make the cream mixture:
In a small saucepan, heat cream, milk, thyme, nutmeg, pepper, and remaining butter until steaming but not boiling, whisking in flour if using
Start layering:
Arrange half the sweet potato slices in the dish, slightly overlapping, and sprinkle with a little salt
Add flavor layers:
Spread half the caramelized onions over the potatoes, then sprinkle with half of both cheeses
Repeat layers:
Add remaining potatoes, then remaining onions, then finish with remaining cheese on top
Pour the cream:
Carefully pour the warm cream mixture evenly over the entire dish, tilting gently if needed to distribute
Cover and bake:
Cover tightly with foil and bake for 40 minutes until potatoes are starting to soften
Uncover and finish:
Remove foil and bake another 20 minutes until the top is bubbly and golden brown
Rest before serving:
Let the gratin sit for 10 minutes before serving, which helps the cream set slightly for cleaner servings
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, highlighting tender sweet potato slices coated in melted Gruyère and sharp cheddar with caramelized onion strands. Save
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, highlighting tender sweet potato slices coated in melted Gruyère and sharp cheddar with caramelized onion strands. | simplestatekitchen.com

Last autumn I made this for my book club, and we ended up sitting around the table for an hour after we finished eating, just talking and occasionally reaching for one more small serving. That is the kind of food this is, something that brings people together and keeps them there.

Make It Your Own

I have learned that adding sautéed mushrooms between the layers creates an earthy depth that pairs beautifully with the sweet potatoes. Sometimes I sprinkle smoked paprika over the caramelized onions for a subtle smoky note. A handful of fresh spinach between layers also works well if you want to add something green without compromising the creamy texture.

Timing and Serving

The gratin actually improves if you let it rest for 15 to 20 minutes before serving, giving the sauce time to thicken slightly. This also means it travels well to potlucks and dinner parties. I like to serve it alongside a crisp green salad with bright vinaigrette, which cuts through the richness perfectly.

Storage and Reheating

This gratin keeps beautifully in the refrigerator for up to three days. When reheating, cover with foil and warm in a 325°F oven until heated through, about 20 minutes. The texture holds up surprisingly well, though I recommend adding a splash of cream if it seems dry after refrigeration.

  • Consider making two dishes and freezing one unbaked for a future dinner
  • Leftovers make an incredible breakfast topped with a fried egg
  • The gratin freezes well for up to two months if wrapped tightly
Plated serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives alongside a green salad for a complete vegetarian dinner. Save
Plated serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives alongside a green salad for a complete vegetarian dinner. | simplestatekitchen.com

There is something deeply satisfying about serving a dish that looks impressive but is really just good ingredients treated with patience and care. This gratin has become my go-to for times when I want people to feel truly welcomed and fed.

Recipe FAQs

Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring frequently until golden and deeply browned, about 20-25 minutes, to develop sweet, rich flavors.

Yes, you can assemble the layers and refrigerate before baking. Bake just before serving, or reheat gently after baking for best results.

Gruyère and sharp cheddar provide a balance of nutty and tangy flavors that melt well, creating a creamy texture and rich taste.

Use gluten-free flour if thickening the cream mixture and ensure all ingredients, especially cheeses, are free from gluten additives.

Dried thyme, ground nutmeg, and freshly ground black pepper add warmth and depth without overpowering the natural sweetness of the potatoes and onions.

Bake covered initially to cook through, then uncover during the last 20 minutes to allow the top to brown and become bubbly.

Cheesy Sweet Potato Gratin

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

Instructions

1
Prepare the Oven and Baking Dish: Preheat oven to 375°F and generously grease a 9x13-inch baking dish with butter or cooking spray.
2
Caramelize the Onions: Melt 2 tablespoons butter in a large skillet over medium heat. Add sliced onions and a pinch of salt. Cook, stirring frequently, until onions are 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, nutmeg, black pepper, and remaining 1 tablespoon butter. Heat over medium-low until steaming but not boiling. If using flour for thickening, whisk it in until smooth and slightly thickened. Remove from heat.
4
Layer the First Half: Arrange half of the sweet potato slices in an even layer at the bottom of the prepared baking dish. Season lightly with salt.
5
Add Cheese and Onions: Spread half of the caramelized onions over the potatoes. Sprinkle with half of the Gruyère and half of the cheddar cheese.
6
Repeat Layering: Add remaining sweet potato slices, followed by remaining caramelized onions, and finish with remaining cheeses.
7
Pour Cream Mixture: Evenly pour the warm cream mixture over the layered ingredients, ensuring coverage across the entire dish.
8
Covered Baking: Cover the baking dish tightly with aluminum foil and bake for 40 minutes.
9
Uncovered Baking: Remove foil and continue baking uncovered for 20 minutes, or until the top is golden brown and bubbly, and potatoes are fork-tender.
10
Rest and Serve: Let the gratin rest for 10 minutes before serving to allow layers 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 products including milk, cheese, and butter
  • Gluten-free when prepared with gluten-free flour; verify cheese labels for gluten-containing additives
  • Individuals with dairy allergies or lactose intolerance should avoid this dish
Erin Wallace

Sharing easy, family-friendly recipes and kitchen hacks for everyday cooks.