Cheesy Sweet Potato Gratin

Cheesy Sweet Potato Gratin with Caramelized Onions Delight baked golden, bubbling with melted Gruyère and cheddar, served as a warm side dish. Save
Cheesy Sweet Potato Gratin with Caramelized Onions Delight baked golden, bubbling with melted Gruyère and cheddar, served as a warm side dish. | pinreadyrecipes.com

This gratin combines thinly sliced sweet potatoes with deeply caramelized onions and a rich cheese blend. A creamy mixture of heavy cream, milk, and seasoning is poured over layers before baking to golden perfection. The dish offers a comforting texture and rich flavors, perfect as a vegetarian centerpiece or hearty side. Garnish with chives to enhance the fresh note.

The first time I made this gratin, I was trying to impress some dinner guests who claimed to hate sweet potatoes. Something magical happens when you pair the natural sweetness with deeply caramelized onions and nutty Gruyère. By the time we reached seconds, the skeptic was already asking for the recipe. Now it is the one dish I make when I need to convert anyone who thinks sweet potatoes belong only in marshmallow-topped casseroles.

Last Thanksgiving I forgot to start the onions early enough, so I did them the day before and honestly, it was a blessing in disguise. The flavors had even more time to deepen. My aunt actually cornered me in the kitchen to demand how I got the onions so perfect. Now whenever I make this, I think about her sneaking spoonfuls straight from the pan before dinner was even served.

Ingredients

  • 2 lbs sweet potatoes: Peel and slice them as thin as you possibly can, about 1/8 inch, because thinner layers mean faster cooking and more delicate texture in every bite
  • 2 large yellow onions: Slice these thinly too, and do not rush the caramelization process because that sweetness is what balances the rich cheese
  • 2 cloves garlic: Add these at the very end with the onions so they do not burn and turn bitter
  • 2 cups Gruyère cheese: This cheese melts beautifully and adds that wonderful nutty flavor that makes gratins taste like something from a French bistro
  • 1 cup sharp cheddar cheese: The sharpness cuts through all the cream and sweetness, keeping each bite interesting
  • 1 1/2 cups heavy cream: Do not be tempted to use milk here because the cream is what creates that velvety, luxurious sauce
  • 1/2 cup whole milk: This lightens the cream just enough so the dish is not overwhelmingly heavy
  • 3 tbsp unsalted butter: Use two tablespoons for the onions and save one for the cream mixture
  • 1/2 tsp dried thyme: Fresh is nice too, but dried works perfectly here and adds an earthy note
  • 1/2 tsp ground black pepper: Freshly cracked makes a real difference in brightness
  • 1/2 tsp salt: Season lightly throughout because the cheese will add salt as well
  • 1/4 tsp ground nutmeg: Just a pinch adds warmth that people notice but cannot quite identify
  • 1 tbsp gluten-free flour: This helps the cream thicken slightly so you get those nice cohesive layers instead of soup
  • 2 tbsp fresh chives: These add a fresh pop of color and mild onion flavor right at the end

Instructions

Get your oven ready:
Preheat to 375°F and butter a 9x13-inch baking dish thoroughly, getting into all the corners so nothing sticks.
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 slowly for 20 to 25 minutes until they are deep golden and sticky, stirring often so they do not burn.
Add the garlic:
Stir in the minced garlic and cook for just one minute more until fragrant, then remove from heat.
Warm the cream mixture:
Heat the cream, milk, thyme, nutmeg, pepper, and remaining butter in a small saucepan until steaming but not boiling, whisking in the flour if using.
Start layering:
Arrange half the sweet potato slices in the baking dish, season with a tiny pinch of salt, then spread half the caramelized onions on top and sprinkle with half the cheeses.
Repeat the layers:
Add the remaining potatoes, then the rest of the onions, and finish with all the remaining cheese.
Pour over the cream:
Carefully pour the warm cream mixture evenly over everything, using a spoon to help distribute it if needed.
Cover and bake:
Cover tightly with foil and bake for 40 minutes so the potatoes can cook through in all that steam.
Uncover and brown:
Remove the foil and bake for another 20 minutes until the top is bubbling and golden with those irresistible crispy edges.
Let it rest:
Wait 10 minutes before serving so the cream can set slightly and the layers hold together when you scoop.
Golden layers of sweet potatoes and caramelized onions in Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives. Save
Golden layers of sweet potatoes and caramelized onions in Cheesy Sweet Potato Gratin with Caramelized Onions Delight, garnished with fresh chives. | pinreadyrecipes.com

This recipe became my go-to comfort food after a particularly rough winter when I needed something that felt like a warm hug. There is something about the way the house smells while the onions are slowly cooking down. My roommate would come home and immediately ask what we were having, because even from the hallway, it smelled like something special.

Making It Ahead

You can absolutely caramelize the onions a day or two before and keep them in the refrigerator. The day of, just assemble everything and bake. I have found that the flavors actually meld better this way, like the onions have had time to really get to know the cream.

Cheese Substitutions

Gruyère is traditional for a reason, but I have used Fontina when I could not find it and the result was still incredible. The key is choosing a cheese that melts well and has some personality. Mild cheeses get lost in all those strong flavors.

Serving Suggestions

This gratin is rich enough to stand alone as a main for a lighter dinner, perhaps with a simple green salad dressed in something acidic. It also pairs beautifully with roasted chicken or pork chops. The wine suggestion in the notes is spot on, something crisp and bright will cut right through all that cream.

  • Use the sharpest knife you have for clean slices that cook evenly
  • Check the potatoes at 40 minutes to make sure they are tender before removing the foil
  • Leftovers reheat surprisingly well, covered so the top does not dry out
A close view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, creamy sauce soaked into tender slices, ideal for a comforting dinner. Save
A close view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, creamy sauce soaked into tender slices, ideal for a comforting dinner. | pinreadyrecipes.com

Somehow this dish manages to feel fancy enough for holiday dinner but simple enough for a Tuesday night. The way the sweet potatoes almost melt into the cream while still holding their shape is exactly what comfort food should be.

Recipe FAQs

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

Yes, use gluten-free flour if thickening is needed and confirm cheese labels to avoid additives containing gluten.

Gruyère and sharp cheddar combine well, offering a creamy melt and a sharp flavor contrast.

The top should be golden and bubbly, and the sweet potatoes tender when pierced with a fork.

Yes, the dish can be assembled and refrigerated before baking; reheat gently to maintain texture and flavor.

Cheesy Sweet Potato Gratin

Layered sweet potatoes with caramelized onions and a blend of melted 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 Enhancements

  • 1 tbsp all-purpose flour for thickening
  • 2 tbsp chopped fresh chives for garnish

Instructions

1
Preheat and Prepare 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 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 Cream Mixture: In a small saucepan over medium-low heat, combine heavy cream, whole milk, dried thyme, ground nutmeg, black pepper, and remaining 1 tbsp butter. Heat until steaming but not boiling. If using flour, whisk it in until smooth and slightly thickened.
4
Create First Layer: Arrange half of the sweet potato slices in the prepared baking dish, overlapping slightly. Season lightly with salt.
5
Add Filling: Spread half of the caramelized onions evenly over the potatoes. Sprinkle with half of the Gruyère and half of the cheddar cheese.
6
Build Second Layer: Repeat with remaining sweet potato slices, caramelized onions, and cheeses.
7
Pour Cream Mixture: Carefully pour the warm cream mixture evenly over the layered ingredients, ensuring coverage across the entire dish.
8
Cover and Bake: Cover baking dish tightly with aluminum foil. Bake for 40 minutes until potatoes begin to soften.
9
Uncover and Brown: 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 gratin rest for 10 minutes before serving to allow layers to set. Garnish with chopped 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, cream, butter, and cheese
  • Contains gluten if using all-purpose flour; use gluten-free flour alternative for GF version
  • Verify cheese labels for potential gluten-containing additives or modified food starch
Madison Cole

Passionate home cook sharing simple, family-friendly recipes and kitchen tips.