Cheesy Sweet Potato Gratin

A close-up of golden, bubbly Cheesy Sweet Potato Gratin with Caramelized Onions Delight served in a rustic dish. Save
A close-up of golden, bubbly Cheesy Sweet Potato Gratin with Caramelized Onions Delight served in a rustic dish. | flavorquestblog.com

This dish features thinly sliced 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 cascades over the layers before baking until golden and tender. The gratin offers a warm, comforting flavor profile with hints of thyme and nutmeg, perfect for a hearty side or main. Topped with fresh chives for a mild herbaceous touch, it suits vegetarian and gluten-free diets when adapted. Ideal for gatherings or cozy dinners, it pairs wonderfully with crisp white or light red wines.

The first time I made this gratin, I was supposed to be bringing a simple side to a friend's potluck dinner. But I caramelized the onions a little too long, got distracted talking on the phone, and nearly burned them. Somehow, that deep, almost-too-dark sweetness ended up being exactly what made everyone ask for the recipe. Now I deliberately push those onions to their limit.

I served this at Thanksgiving last year instead of the usual marshmallow-topped sweet potato casserole, and my actually-traditional father admitted he liked it better. The way the Gruyère bubbles up and forms those gorgeous golden pockets of salty goodness against the creamy sweet potatoes is absolutely worth the extra layering effort.

Ingredients

  • Sweet potatoes: Thin, even slices are crucial here so they cook at the same rate. A mandoline saves your sanity, but careful knife work works too.
  • Yellow onions: These need time and low heat to properly caramelize. Don't rush this step, it's where all the deep sweetness lives.
  • Gruyère and sharp cheddar: The Gruyère brings nutty sophistication while sharp cheddar cuts through the sweetness with bold flavor.
  • Heavy cream and whole milk: This combination creates the perfect luxurious consistency without being overwhelmingly heavy.
  • Nutmeg and thyme: Just enough warmth and earthiness to bridge the gap between sweet and savory.

Instructions

Get your oven ready:
Preheat to 375°F (190°C) and butter a 9x13-inch baking dish thoroughly. Those cheesy edges will thank you later.
Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add sliced onions with a pinch of salt, and cook slowly for 20-25 minutes until deeply golden and sweet. Add minced garlic for just 1 minute at the end.
Warm the cream mixture:
Heat cream, milk, thyme, nutmeg, pepper, and remaining butter in a small saucepan until steaming. Whisk in flour if you want slightly thicker sauce.
Build the layers:
Start with half the sweet potatoes, lightly seasoned. Add half the onions and half the cheese blend. Repeat everything, then pour that warm cream mixture evenly over the top.
Bake covered first:
Cover tightly with foil and bake for 40 minutes so the potatoes steam and cook through completely.
Finish uncovered:
Remove foil and bake another 20 minutes until golden, bubbling, and irresistibly fragrant. Let it rest 10 minutes before serving.
Creamy Cheesy Sweet Potato Gratin with Caramelized Onions Delight with a rustic serving dish beside fresh thyme. Save
Creamy Cheesy Sweet Potato Gratin with Caramelized Onions Delight with a rustic serving dish beside fresh thyme. | flavorquestblog.com

This dish became my go-to for bringing comfort to friends who need it. Something about that combination of sweet and savory, creamy and cheesy, just feels like a hug in baking dish form.

Make It Ahead

You can assemble this entire gratin up to a day before baking, just cover tightly and refrigerate. Add about 10 minutes to the covered baking time if baking straight from the fridge.

Cheese Choices

I've experimented with all sorts of combinations. Fontina works beautifully if you want extra meltiness, and a bit of Parmesan mixed in adds a salty punch that cuts the sweetness. But that Gruyère and sharp cheddar blend remains my favorite balance.

Serving Ideas

This gratin is substantial enough to stand as a vegetarian main with a simple green salad on the side. For wine, something acidic enough to cut through the cream works beautifully.

  • A crisp Sauvignon Blanc brings brightness to balance the richness
  • Light-bodied Pinot Noir complements without overpowering
  • Leftovers reheat surprisingly well for lunch the next day
Freshly baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight with a golden crust and fresh herbs garnish. Save
Freshly baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight with a golden crust and fresh herbs garnish. | flavorquestblog.com

Somehow this dish manages to feel elegant enough for a dinner party while still being the kind of comfort food everyone actually wants to eat.

Recipe FAQs

Sauté thinly sliced onions over medium heat in butter, stirring frequently, until they turn a deep golden brown, which takes about 20-25 minutes. This slow cooking draws out their natural sweetness.

Gruyère and sharp cheddar provide balanced flavors, but you can swap with similar melting cheeses like fontina or provolone for variation.

Use a sharp knife or mandoline to create thin, even slices about 1/8 inch thick, ensuring uniform cooking and layering.

Use gluten-free flour if thickening is needed and verify cheese labels to avoid additives containing gluten to keep the dish gluten-free.

Bake covered at 375°F (190°C) for 40 minutes, then uncovered for 20 minutes to achieve a golden crust and tender potatoes.

Add smoked paprika or a sautéed mushroom layer to deepen smoky and earthy notes, enhancing the overall richness.

Cheesy Sweet Potato Gratin

Layers of sweet potatoes and caramelized onions baked with melted cheese to a golden finish.

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
  • 1/4 tsp ground nutmeg

Optional

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

Instructions

1
Preheat Oven and Prepare Dish: Preheat oven to 375°F. Grease a 9x13-inch baking dish thoroughly.
2
Caramelize Onions: Melt 2 tbsp butter in a large skillet over medium heat. Add sliced onions and a pinch of salt. Cook, stirring frequently, until deeply golden and caramelized, about 20-25 minutes. Add garlic and cook 1 minute more.
3
Prepare Cream Mixture: Heat cream, milk, thyme, nutmeg, black pepper, and remaining 1 tbsp butter in a small saucepan over medium-low heat until steaming. If using flour, whisk in until smooth.
4
First Layer Assembly: Arrange half the sweet potato slices in the prepared dish. Season lightly with salt. Spread half the caramelized onions over potatoes. Sprinkle with half the Gruyère and cheddar.
5
Second Layer Assembly: Repeat with remaining sweet potatoes, caramelized onions, and cheese blends.
6
Add Cream Mixture: Pour warm cream mixture evenly over layered ingredients.
7
Covered Baking Phase: Cover tightly with foil. Bake for 40 minutes.
8
Uncovered Finishing: Remove foil. Bake uncovered for 20 minutes until top is golden and potatoes are fork-tender.
9
Rest and Serve: Let gratin rest 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
  • Mixing bowls
  • Whisk
  • Aluminum foil

Nutrition (Per Serving)

Calories 420
Protein 13g
Carbs 37g
Fat 26g

Allergy Information

  • Contains dairy including milk, cheese, and butter. Gluten-free if using gluten-free flour.
Natalie Vaughn

Sharing simple, flavorful recipes and kitchen tips for busy home cooks and food lovers.