Cheesy Sweet Potato Gratin

Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight emerges from the oven, bubbling with melted cheese and sweet potato layers. Pin It
Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight emerges from the oven, bubbling with melted cheese and sweet potato layers. | oopsdelicious.com

This gratin features thinly sliced sweet potatoes layered with deeply caramelized onions and a blend of Gruyère and sharp cheddar. A creamy mixture infused with thyme, nutmeg, and butter is poured over before baking until golden and tender. The dish offers a comforting, hearty addition to any meal, perfect as a side or standalone dish. A sprinkle of fresh chives adds a bright, herby finish.

The first time I made this gratin was for a rainy Sunday dinner when my kitchen smelled like butter and onions for hours. My roommate kept wandering in asking when it would be ready, that caramelized onion scent is impossible to resist. We ended up eating it straight from the dish while standing at the counter because waiting for plates seemed ridiculous.

I brought this to a Friendsgiving potluck and watched it disappear before the turkey was even carved. Someone asked for the recipe with their mouth still full, which I took as the highest compliment possible. Now it is my go to whenever I need to feed a crowd and actually want to enjoy the party too.

Ingredients

  • 2 lbs sweet potatoes: Thin slices are key here, a mandoline changed my life but a sharp knife and patience work too
  • 2 large yellow onions: Take the time to caramelize them properly, that depth is what separates good from unforgettable
  • 2 cloves garlic: Add it in the last minute so it does not burn and turn bitter
  • 2 cups shredded Gruyère: The nutty flavor is worth the extra expense, trust me on this one
  • 1 cup shredded sharp cheddar: Brings the familiar comfort note we all crave sometimes
  • 1 1/2 cups heavy cream: Do not substitute, the richness is what makes this a gratin not just scalloped potatoes
  • 1/2 cup whole milk: Lightens things up just enough without sacrificing texture
  • 3 tbsp unsalted butter: Use good butter since the flavor really shines through
  • 1/2 tsp dried thyme: Fresh is lovely but dried works perfectly here
  • 1/2 tsp ground black pepper: Freshly cracked makes all the difference
  • 1/2 tsp salt: You will probably want to add more to taste as you layer
  • 1/4 tsp ground nutmeg: The secret warmth that makes people ask what is in this
  • 1 tbsp flour: Optional but helps thicken the cream sauce if you prefer it less loose
  • 2 tbsp fresh chives: That pop of green and mild onion flavor on top makes it look professional

Instructions

Get your oven ready:
Preheat to 375°F and grease your baking dish with butter, getting into all the corners so nothing sticks.
Caramelize the onions:
Melt 2 tbsp butter in a large skillet over medium heat, add onions with a pinch of salt, and let them cook down slowly until they turn deep golden brown.
Add the garlic:
Stir in minced garlic for just one minute until fragrant, then remove the pan from heat completely.
Warm the cream mixture:
Heat cream, milk, thyme, nutmeg, pepper, and remaining butter in a saucepan until steaming but not boiling.
Optional thickening step:
If using flour, whisk it into the warm cream now until completely smooth and slightly thickened.
First layer down:
Arrange half the sweet potato slices in the dish, overlapping slightly, and sprinkle with a tiny pinch of salt.
Add the good stuff:
Spread half the caramelized onions over the potatoes, then sprinkle with half of both cheeses evenly.
Repeat the layers:
Do it all again with remaining potatoes, onions, and cheeses, building your beautiful little mountain.
Pour the cream:
Slowly pour that warm, fragrant 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 cook through gently.
Uncover and golden:
Remove foil and bake another 20 minutes until the top is bubbling and gorgeous brown.
Patience pays off:
Let it rest 10 minutes before serving, this step hurts but helps the layers set.
Finish if you want:
Sprinkle fresh chives on top right before serving for that restaurant style touch.
Serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight rests beside fresh chives and a white wine glass. Pin It
Serving of Cheesy Sweet Potato Gratin with Caramelized Onions Delight rests beside fresh chives and a white wine glass. | oopsdelicious.com

My aunt tasted this once and immediately asked if she could take the leftovers home for breakfast the next morning. She sent me a text at 8am saying it was even better cold with a fried egg on top, which honestly changed how I think about gratins forever.

Make It Ahead

I have assembled this the night before and stored it in the refrigerator, covered tightly. Just add an extra 10 minutes to the covered baking time since everything will be cold going into the oven. Let it sit at room temperature for 30 minutes while the oven preheats for even better results.

Cheese Swaps That Work

Once I used Comté instead of Gruyère and it was equally magnificent, just slightly sweeter. Fontina creates an incredible gooey factor if you want maximum cheese pull in every bite. Avoid pre shredded cheese though, the anti caking coating prevents that smooth melting we are after.

Serving Ideas

This gratin holds its own as a vegetarian main with a simple green salad dressed in something acidic. A crisp white wine like Sauvignon Blanc cuts through all that rich creaminess beautifully. I have also served it alongside roasted chicken and watched people fill their plates with more gratin than meat.

  • Try adding sautéed mushrooms between layers for earthy depth
  • A pinch of smoked paprika in the cream adds subtle complexity
  • Reheat leftovers gently covered so they do not dry out
Close-up view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight shows a crispy, golden cheese crust and tender vegetable slices. Pin It
Close-up view of Cheesy Sweet Potato Gratin with Caramelized Onions Delight shows a crispy, golden cheese crust and tender vegetable slices. | oopsdelicious.com

Every time I make this now I think about that rainy Sunday and how some recipes become part of your story, not just your dinner rotation.

Recipe FAQs

Sauté thinly sliced onions in butter over medium heat with a pinch of salt. Stir frequently for 20-25 minutes until onions turn deep golden brown and sweet.

Yes, assemble the layers and store covered in the refrigerator. Bake just before serving, adding extra time if baking from cold.

A combination of Gruyère and sharp cheddar melts smoothly providing rich flavor and nicely browned tops.

Use gluten-free flour or omit thickener altogether if desired. Confirm all cheeses and ingredients are gluten-free.

Dried thyme is used in the cream sauce, but fresh chives can be added as garnish for a fresh, mild onion note.

The gratin complements crisp white wines like Sauvignon Blanc and light reds such as Pinot Noir. It pairs well with fresh green salads or roasted vegetables.

Cheesy Sweet Potato Gratin

Layers of sweet potatoes and caramelized onions topped with melted cheeses and creamy sauce.

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 and Prepare: 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 and cook 1 minute more.
3
Prepare Cream Mixture: In a small saucepan, combine heavy cream, whole milk, dried thyme, nutmeg, black pepper, and remaining 1 tbsp butter. Heat over medium-low until steaming but not boiling. If using flour, whisk in until smooth and slightly thickened.
4
First Layer: Arrange half the sweet potato slices in the prepared baking dish. Season lightly with salt.
5
Add Cheese and Onions: Spread half the caramelized onions over the potatoes. Sprinkle with half the Gruyère and half the cheddar cheese.
6
Second Layer: Repeat with remaining sweet potatoes, caramelized onions, and cheeses.
7
Add Cream Mixture: Pour the warm cream mixture evenly over the entire dish, ensuring it penetrates the layers.
8
Covered Baking: Cover tightly with aluminum foil. Bake for 40 minutes.
9
Uncovered Baking: Remove foil and continue baking uncovered for 20 minutes until top is golden brown and potatoes are fork-tender.
10
Rest and Serve: Let gratin 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 products including milk, cheese, and butter.
  • Gluten-free when using gluten-free flour; verify cheese labels for additives.
Tara Livingston

Home cook sharing easy, flavorful recipes and real-life kitchen tips for busy, food-loving families.