Cheesy Sweet Potato Gratin

Golden, bubbly slices of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, served warm in a baking dish topped with fresh chives. Save
Golden, bubbly slices of Cheesy Sweet Potato Gratin with Caramelized Onions Delight, served warm in a baking dish topped with fresh chives. | cookedcomfort.com

This gratin highlights tender sweet potato slices layered with deeply caramelized onions and a blend of Gruyère and sharp cheddar cheeses. The creamy sauce, infused with thyme and nutmeg, bakes until golden and bubbling, creating a luscious dish perfect as a side or main. Baking in covered then uncovered stages ensures a soft interior with a crisp top. Finished with fresh chives, it offers a balance of sweet, savory, and cheesy flavors.

The first time I made this gratin, I was trying to impress my new in-laws at Thanksgiving. I spent forty minutes standing over the stove, watching onions transform from sharp and pale into something golden and unrecognizable, wondering if all that fuss was worth it. When my father-in-law took his first bite and literally closed his eyes, I knew I had stumbled onto something special. Now it is the one dish people actually ask for by name.

Last winter, my neighbor Sarah came over during a snowstorm with nothing but a bottle of wine and an appetite. We stood in my kitchen while the gratin bubbled away, the smell of melting Gruyère and onions filling every corner of the house. By the time we finally sat down to eat, the snow had piled up against the windows and neither of us cared one bit.

Ingredients

  • 2 lbs sweet potatoes, peeled and thinly sliced: A mandoline creates perfectly even slices, but a sharp knife and steady hand work just fine. Choose potatoes that feel heavy and firm without any soft spots.
  • 2 large yellow onions, thinly sliced: Take your time here. Even slices mean even caramelization, which is the secret to that deep, rich flavor throughout.
  • 2 cups shredded Gruyère cheese: Gruyère melts beautifully and adds that nutty, sophisticated flavor that makes this feel special. Buy a block and shred it yourself for the best texture.
  • 1 cup shredded sharp cheddar cheese: The sharpness cuts through all that richness and adds a familiar, comforting note that everyone recognizes immediately.
  • 1 1/2 cups heavy cream: Do not be tempted to use half-and-half here. The cream creates that luxurious, velvety texture that defines a proper gratin.
  • 1/2 cup whole milk: The milk lightens the cream just enough so the dish does not feel overwhelmingly heavy.
  • 3 tbsp unsalted butter: Use two tablespoons for the onions and one for the cream mixture. Every bit contributes to that golden, buttery finish.
  • 1/2 tsp dried thyme: Fresh thyme is wonderful if you have it, but dried works perfectly here and distributes evenly throughout the layers.
  • 1/4 tsp ground nutmeg: Just enough to add warmth without making the dish taste like dessert. A little goes a long way.

Instructions

Get your oven ready:
Preheat to 375°F and butter a 9x13 baking dish thoroughly. This step matters because those edges will get golden and crispy, and you want every bite to be worth savoring.
Transform the onions:
Melt two tablespoons butter in a large skillet over medium heat, add the onions with a pinch of salt, and cook them slowly for 20 to 25 minutes. Stir often and watch as they turn from white to golden to deep brown. Add the garlic for just one minute at the end.
Warm the cream mixture:
In a small saucepan, combine the cream, milk, thyme, nutmeg, pepper, remaining butter, and a half teaspoon of salt. Heat until steaming but not boiling. Whisk in the flour now if you are using it.
Build the first layer:
Arrange half the sweet potato slices in the baking dish. Sprinkle them lightly with salt, then spread half the caramelized onions on top, followed by half of each cheese.
Repeat and pour:
Layer the remaining potatoes, onions, and cheeses, then pour that warm cream mixture evenly over everything. Take a moment to admire how beautiful it looks before it goes into the oven.
Bake covered:
Cover the dish tightly with foil and bake for 40 minutes. The foil traps all that steam and helps the potatoes cook through evenly without drying out.
Uncover and golden:
Remove the foil and bake for another 20 minutes until the top is bubbling and golden brown. If the cheese is not quite brown enough, give it a quick pass under the broiler.
Rest before serving:
Let the gratin sit for 10 minutes before serving. This feels impossible when everyone is hovering and hungry, but it helps the layers set so you can scoop out perfect portions.
A close-up view of layered sweet potatoes and onions, covered in melted Gruyère and cheddar for this Cheesy Sweet Potato Gratin with Caramelized Onions Delight. Save
A close-up view of layered sweet potatoes and onions, covered in melted Gruyère and cheddar for this Cheesy Sweet Potato Gratin with Caramelized Onions Delight. | cookedcomfort.com

My daughter requested this gratin for her birthday dinner instead of cake. We ate it straight from the baking dish while watching a movie, and she declared it better than any restaurant meal she had ever had. Some traditions are worth starting.

Make It Ahead

Assemble the entire gratin up to two days in advance, cover tightly, and refrigerate. Add ten minutes to the covered baking time if it is cold from the fridge. The flavors actually meld and improve overnight.

Choosing Your Cheese

Gruyère can be pricey, but this is one place where the investment shows. If you need to substitute, try Fontina for excellent melting or Emmental for a milder flavor. Avoid pre-shredded cheese which contains anti-caking agents that prevent smooth melting.

Serving Suggestions

This gratin pairs beautifully with roasted meats or stands alone as a vegetarian main course. A green salad with sharp vinaigrette cuts through the richness. Add these final touches for a memorable meal:

  • Top with fresh chives or parsley right before serving for a pop of color
  • A crisp white wine like Sauvignon Blanc or a light red like Pinot Noir complements the creamy texture
  • Serve with something acidic like roasted tomatoes or a lemon-dressed salad
Freshly baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight rests on a cooling rack, revealing a crisp, golden-brown cheese crust. Save
Freshly baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight rests on a cooling rack, revealing a crisp, golden-brown cheese crust. | cookedcomfort.com

There is something deeply satisfying about a dish that transforms simple ingredients into something extraordinary. This gratin has earned its permanent place in my regular rotation.

Recipe FAQs

Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring occasionally until they turn deep golden brown and develop natural sweetness, usually 20-25 minutes.

Yes, by using gluten-free flour for thickening and verifying cheese labels are free from additives, this gratin can suit gluten-sensitive diets.

Gruyère and sharp cheddar provide a rich, melty texture and balanced flavor that complement the sweetness of the potatoes and onions.

Bake covered for 40 minutes to cook through, then uncovered for 20 minutes to develop a golden, slightly crisp top layer.

Serve it warm as a hearty side dish or main, paired well with crisp white wines like Sauvignon Blanc or light reds such as Pinot Noir.

Yes, it can be assembled in advance and gently reheated before serving without losing its creamy texture.

Cheesy Sweet Potato Gratin

Layers of sweet potatoes and onions baked with melted cheeses for a rich, comforting dish.

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 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 garlic and cook for 1 minute more. Remove from heat.
3
Prepare Cream Mixture: In a small saucepan, heat cream, milk, thyme, 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.
4
First Layer: Layer half of the sweet potato slices in 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 cheddar cheese.
6
Repeat Layers: Repeat with remaining potatoes, onions, and cheeses.
7
Pour Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients.
8
Covered Baking: Cover tightly with foil and bake for 40 minutes.
9
Finish Baking: Remove foil and bake uncovered for an additional 20 minutes, or until the top is golden and the potatoes are fork-tender.
10
Rest and Serve: Let rest 10 minutes before serving. Garnish with fresh chives if desired.
Additional Information

Equipment Needed

  • Large skillet
  • Saucepan
  • 9x13-inch baking dish
  • Sharp knife or mandoline
  • 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
Evelyn Foster

Home cook sharing easy, nourishing recipes and helpful kitchen tips for everyday family meals.