Cheesy Sweet Potato Gratin

A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showcasing golden, bubbly cheese atop tender sweet potato layers. Save
A close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, showcasing golden, bubbly cheese atop tender sweet potato layers. | homesteadspoon.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 sauce seasoned with thyme, nutmeg, and black pepper gently envelops the ingredients before baking. The gratin is baked covered, then uncovered until golden and tender. It makes a rich, hearty side or main dish perfect for cozy meals.

The first time I made this gratin, I was attempting to impress my new in-laws at Thanksgiving. I had this moment of pure panic when I realized I'd forgotten the regular potatoes and only had sweet potatoes in the pantry. Sometimes the kitchen disasters turn into the best discoveries.

My father-in-law took three servings that night and quietly asked for the recipe before he left. Now it's the one dish my family requests for every holiday gathering, birthday celebration, or random Tuesday when we need something deeply comforting.

Ingredients

  • Sweet potatoes: Peel them and slice as thinly as possible for even cooking
  • Yellow onions: Take your time caramelizing them properly because that deep flavor is the backbone
  • Garlic: Add it near the end so it does not burn and turn bitter
  • Gruyère and sharp cheddar: This combination gives you both nutty complexity and sharp tang
  • Heavy cream and whole milk: The fat content is essential for that luxurious texture
  • Butter: Use it for caramelizing the onions and in the cream mixture
  • Thyme: Fresh or dried works to add earthy notes
  • Nutmeg: Just a quarter teaspoon enhances the cream without making it taste like dessert
  • Salt and black pepper: Season each layer as you build the gratin
  • Optional flour: Helps thicken the cream slightly if you prefer a more sauce-like consistency

Instructions

Preheat your oven:
Set it to 375°F and generously butter a 9x13 baking dish so nothing sticks
Caramelize the onions:
Melt 2 tablespoons butter in a large skillet and cook the sliced onions with a pinch of salt over medium heat for 20 to 25 minutes until they are deep golden and fragrant
Add the garlic:
Stir in the minced garlic for just one minute then remove the pan from heat
Warm the cream mixture:
In a small saucepan combine the cream milk thyme nutmeg pepper and remaining butter and heat until steaming but not boiling whisking in flour if using
Build the first layer:
Arrange half the sweet potato slices in the prepared dish and season them lightly with salt
Add flavor:
Spread half the caramelized onions over the potatoes then sprinkle with half of both cheeses
Repeat the layers:
Add the remaining potatoes onions and cheeses creating beautiful layers that will melt together
Pour over the cream:
Distribute the warm cream mixture evenly over everything so it seeps into all the layers
Cover and bake:
Tent the dish tightly with foil and bake for 40 minutes so the potatoes cook through
Uncover and finish:
Remove the foil and bake for 20 more minutes until the top is golden brown and bubbly
Rest before serving:
Let the gratin sit for 10 minutes to set slightly so each serving holds its shape beautifully
Serving suggestion for Cheesy Sweet Potato Gratin with Caramelized Onions Delight, presented in a rustic baking dish garnished with fresh chives. Save
Serving suggestion for Cheesy Sweet Potato Gratin with Caramelized Onions Delight, presented in a rustic baking dish garnished with fresh chives. | homesteadspoon.com

Last Christmas my sister finally confessed she had been buying pre-made gratins from the store for years until she tasted this version. Now she calls me every time she makes it just to confirm she is caramelizing the onions long enough.

Make It Ahead

You can assemble the entire gratin up to a day before baking and keep it covered in the refrigerator. Just add 10 minutes to the covered baking time since it will be cold going into the oven.

Cheese Substitutions

I have used fontina and Monterey Jack when I could not find Gruyère at my regular grocery store. The flavor profile shifts slightly but it is still absolutely delicious.

Serving Suggestions

This gratin pairs beautifully with roasted chicken or pork loin. It is rich enough to stand alone as a vegetarian main with a simple green salad on the side.

  • A crisp white wine like Sauvignon Blanc cuts through the richness perfectly
  • Leftovers reheat surprisingly well in the microwave or oven
  • The top layer gets even better the next day
Overhead view of baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, highlighting the creamy texture and deep caramelized onion swirls. Save
Overhead view of baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight, highlighting the creamy texture and deep caramelized onion swirls. | homesteadspoon.com

There is something deeply satisfying about watching people take that first bite and go completely quiet. This is the kind of side dish that can turn an ordinary Tuesday dinner into something special.

Recipe FAQs

Sauté sliced onions in butter over medium heat, stirring frequently, until they turn deep golden and sweetly fragrant, about 20-25 minutes.

This version relies on cheeses and cream for creaminess; substitutions like plant-based cheeses and milks can be tried but may alter texture and flavor.

Use a sharp knife or mandoline to slice sweet potatoes thinly and evenly to ensure uniform cooking throughout the gratin.

Lightly seasoning the potato layers with salt and using a gently thickened cream mixture helps control excess moisture.

Yes, assemble the layers and refrigerate before baking. Bake when ready, then reheat gently for best results.

Cheesy Sweet Potato Gratin

Layers of sweet potatoes, caramelized onions, and melted cheese baked to golden perfection.

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½ cups heavy cream
  • ½ cup whole milk
  • 3 tbsp unsalted butter

Seasonings

  • ½ tsp dried thyme
  • ½ tsp ground black pepper
  • ½ tsp salt, plus more to taste
  • ¼ tsp ground nutmeg

Optional Additions

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

Instructions

1
Prepare Oven and Baking Dish: Preheat oven to 375°F. Generously 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 pinch of salt. Cook, stirring frequently, until deeply golden and caramelized, 20-25 minutes. Add minced garlic during final minute. Remove from heat.
3
Prepare Cream Mixture: Combine heavy cream, whole milk, thyme, nutmeg, black pepper, and remaining 1 tbsp butter in a small saucepan. Heat over medium-low until steaming, avoiding boiling. If using flour, whisk until smooth and slightly thickened.
4
First Potato Layer: Arrange half the sweet potato slices in overlapping rows in the prepared dish. Season lightly with salt.
5
First Cheese and Onion Layer: Spread half the caramelized onions over potatoes. Sprinkle with half the Gruyère and half the cheddar cheese.
6
Repeat Layering: Layer remaining sweet potatoes, followed by remaining onions and cheeses.
7
Add Cream Mixture: Pour warm cream mixture evenly over the layered ingredients, ensuring coverage across the dish.
8
Covered Baking: Cover tightly with aluminum foil. Bake for 40 minutes until potatoes begin to soften.
9
Uncovered Finishing: Remove foil and continue baking 20 minutes until top is golden brown and potatoes are fork-tender.
10
Rest and Serve: Let gratin rest 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, and butter
  • Gluten-free only when using gluten-free flour; verify cheese labels for additives
Laura Whitmore

Sharing easy, comforting recipes and real-life cooking tips from my kitchen to yours.