Cheesy Sweet Potato Gratin

Golden baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight in a ceramic dish, topped with bubbly cheese and fresh chives.  Save to Pinterest
Golden baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight in a ceramic dish, topped with bubbly cheese and fresh chives. | savourysprint.com

This gratin combines tender sweet potatoes layered with deeply caramelized onions and a rich blend of Gruyère and sharp cheddar cheeses. A creamy mixture of heavy cream, milk, and seasonings binds the ingredients, creating a luscious texture. Baked until golden and bubbling, this dish delivers a comforting and flavorful addition to any meal. Garnished with fresh chives, it offers a balance of savory and sweet notes, perfect for side or main servings.

The first time I made this gratin was for a rainy Sunday dinner that turned into an unexpected celebration. My kitchen smelled like caramelized onions and comfort, and somehow the simple act of slicing sweet potatoes became meditative. When it emerged from the oven bubbling and golden, even my usually skeptical cousin went back for thirds.

I once brought this to a potluck where three separate people asked for the recipe before even taking their first bite. The way the cheeses melt into the cream while the sweet potatoes soften into something almost custardlike is pure magic. Now it is my go to whenever I need to feed a crowd and want them to feel taken care of.

Ingredients

  • 2 lbs sweet potatoes peeled and thinly sliced: A mandoline saves time here but hand slicing works perfectly fine, just aim for even thickness so everything cooks at the same rate
  • 2 large yellow onions thinly sliced: Take your time caramelizing these slowly, they are the flavor backbone that makes people ask what is your secret
  • 2 cloves garlic minced: Add this only in the last minute of caramelizing so it does not turn bitter
  • 2 cups shredded Gruyère cheese: The nutty flavor pairs beautifully with sweet potatoes, worth the extra cost
  • 1 cup shredded sharp cheddar cheese: Adds the salty punch and helps create that gorgeous golden crust
  • 1 1/2 cups heavy cream: Do not skip this, it creates the velvety texture that transforms potatoes into something luxurious
  • 1/2 cup whole milk: Lightens the cream slightly while still keeping everything rich and creamy
  • 3 tbsp unsalted butter: Use it for caramelizing onions and whisking into the cream mixture
  • 1/2 tsp dried thyme: Earthy and warm, it bridges the gap between sweet and savory
  • 1/2 tsp ground black pepper: Freshly cracked makes a noticeable difference
  • 1/2 tsp salt plus more to taste: Sweet potatoes need more salt than you think, do not be afraid to season each layer
  • 1/4 tsp ground nutmeg: Just a pinch adds warmth without making it taste like dessert
  • 1 tbsp gluten-free flour or all-purpose flour: Optional but helps the cream hold together better when slicing
  • 2 tbsp chopped fresh chives: The bright pop of color and mild onion flavor makes it look restaurant pretty

Instructions

Get your oven ready and find your favorite baking dish:
Preheat to 375°F and butter a 9x13 inch dish, making sure to get into the corners so nothing sticks later
Turn those onions into golden perfection:
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 they turn deep amber and smell incredible
Build the flavor foundation:
Stir in garlic for just one minute, then remove from heat while you make the cream mixture
Warm up the creamy base:
In a small saucepan over medium low heat, combine cream, milk, thyme, nutmeg, pepper, and remaining tablespoon of butter until steaming but not boiling
Optional thickening step:
If using flour, whisk it in now until completely smooth and let it simmer for 2 minutes to cook out the raw taste
Start layering like you mean it:
Arrange half the sweet potato slices in the bottom of your prepared dish, overlapping slightly like fallen dominoes
Season that first layer:
Sprinkle with a little salt, even if it seems excessive, because sweet potatoes really need it
Add the good stuff:
Spread half those gorgeous caramelized onions over the potatoes, then scatter half of both cheeses on top
Do it all again:
Repeat with remaining potatoes, onions, and cheeses, creating beautiful layers that will bake together
Pour the love over everything:
Slowly pour the warm cream mixture evenly over the entire dish, letting it seep down through all the layers
Cover and bake slowly:
Tightly cover with foil and bake for 40 minutes so the potatoes can steam and soften in their own creamy bath
Uncover for the grand finale:
Remove foil and bake another 20 minutes until the top is bubbly and golden brown with crispy cheese edges
The hardest part patience:
Let it rest for 10 minutes before serving, this is crucial for the cream to set up slightly so you get nice clean slices
Finish it off:
Sprinkle fresh chives over the top right before serving and watch people is faces light up
Comforting Cheesy Sweet Potato Gratin with Caramelized Onions Delight served as a hearty vegetarian side on a rustic wooden table.  Save to Pinterest
Comforting Cheesy Sweet Potato Gratin with Caramelized Onions Delight served as a hearty vegetarian side on a rustic wooden table. | savourysprint.com

This recipe became my signature dish during a particularly cold winter when my roommate was going through a breakup. Something about the warmth and the layers of comfort felt like a hug on a plate. Now whenever I make it, I think of how food can be exactly what someone needs even when they do not know they need it.

Make Ahead Magic

You can assemble the entire gratin up to 24 hours ahead, cover it tightly, and keep it in the refrigerator. Just add 5 to 10 minutes to the covered baking time since it will be starting from cold. I actually prefer making it this way because the flavors have time to become better friends.

Cheese Swaps That Work

While Gruyère and cheddar create the perfect sweet and salty balance, I have had great results swapping in Fontina for extra meltiness or adding a handful of Parmesan for a salty kick. Just keep the total cheese amount the same and avoid pre shredded cheese, which does not melt as smoothly.

Serving Suggestions

This gratin is rich enough to stand alone as a vegetarian main with a simple green salad dressed with something acidic to cut through the cream. It also pairs beautifully with roast chicken, pork tenderloin, or even as part of a holiday spread alongside ham and green beans.

  • Let it rest longer than you think, the texture improves as it cools slightly
  • Reheat leftovers in a 325°F oven covered with foil until warm throughout
  • The top stays crispy for hours, making it perfect for buffet style serving
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight revealing creamy layers and caramelized onion strands for a gluten-free dinner. Save to Pinterest
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight revealing creamy layers and caramelized onion strands for a gluten-free dinner. | savourysprint.com

There is something deeply satisfying about serving a dish that looks like it came from a fancy restaurant but was made with such humble ingredients. I hope this recipe finds its way into your regular rotation and brings as much comfort to your table as it has to mine.

Recipe FAQs

Sauté sliced onions slowly over medium heat with butter and a pinch of salt, stirring regularly until they become deeply golden and sweet, about 20-25 minutes.

Yes, cheeses like mozzarella, fontina, or a mild gouda can be used for a different flavor and texture while maintaining creaminess.

Use a sharp knife or mandoline to cut sweet potatoes into thin, even slices, approximately 1/8 inch thick, ensuring even cooking layers.

Use gluten-free flour for thickening the cream sauce and verify all other ingredients to avoid gluten contamination.

Allow it to rest about 10 minutes after baking to let the layers set and make serving easier.

Cheesy Sweet Potato Gratin

Comforting gratin of sweet potatoes and caramelized onions layered with melted cheese and 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
Preheat Oven and Prepare Dish: Preheat your oven to 375°F. Grease a 9x13-inch baking dish with butter or cooking spray.
2
Caramelize the Onions: In a large skillet over medium heat, melt 2 tbsp butter. 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 and cook for 1 minute more. Remove from heat.
3
Prepare Cream Mixture: In a small saucepan, heat heavy cream, whole milk, dried thyme, ground nutmeg, black pepper, and remaining 1 tbsp butter over medium-low heat until steaming (do not boil). If using flour, whisk it in until smooth to slightly thicken the mixture.
4
First Layer Assembly: Layer half of the sweet potato slices in the prepared baking dish. Season lightly with salt. 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 potato slices, caramelized onions, and cheeses.
6
Add Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients, ensuring it penetrates throughout the dish.
7
Initial Baking: Cover the baking dish tightly with aluminum foil and bake for 40 minutes.
8
Final Browning: Remove foil and continue baking uncovered for an additional 20 minutes, or until the top is golden brown and the potatoes are fork-tender.
9
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 (milk, cheese, butter)
  • Gluten-free if using gluten-free flour; check cheese labels for additives
Natalie Brooks

Natalie shares approachable recipes and real cooking wisdom for anyone who loves homemade food.