Cheesy Sweet Potato Gratin

Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight bubbling from the oven, served in a white dish.  Save
Golden-brown Cheesy Sweet Potato Gratin with Caramelized Onions Delight bubbling from the oven, served in a white dish. | freshplatejournal.com

This gratin features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and cheddar cheeses. The layers are baked with a seasoned cream mixture until golden and tender, delivering a rich and comforting dish. A touch of thyme and nutmeg enhances the flavors, while optional chives add freshness. Perfect as a hearty side or main, it pairs well with crisp white or light red wines.

The smell of caramelizing onions always pulls me into the kitchen, no matter what else I'm doing. I first made this gratin on a rainy Sunday when I needed something warm and comforting to fill the house with delicious aromas. My roommate wandered in halfway through, asking what smelled so incredible, and ended up staying for dinner.

I served this at my first proper dinner party last fall, nervously checking the oven every five minutes. When I finally pulled it out, bubbling and golden with that incredible cheese crust forming, I knew it was going to be okay. My friend Sarah actually asked for the recipe before she even finished her first serving.

Ingredients

  • 2 lbs sweet potatoes, peeled and thinly sliced: I've learned that using a mandoline gives you those perfectly even slices that cook uniformly, but a sharp knife and steady hand works just fine too
  • 2 large yellow onions, thinly sliced: Take your time caramelizing these properly—those deep golden brown layers are where all the complex flavor develops
  • 2 cloves garlic, minced: Add this in the last minute of caramelizing so it doesn't burn and turn bitter
  • 2 cups shredded Gruyère and 1 cup sharp cheddar: The Gruyère brings that nutty sophistication while cheddar adds the familiar sharpness we all crave
  • 1 1/2 cups heavy cream and 1/2 cup whole milk: This ratio creates the perfect velvety consistency without being overwhelmingly rich
  • 3 tbsp unsalted butter: Reserve one tablespoon for the cream mixture and use the rest for caramelizing those onions
  • 1/2 tsp dried thyme, 1/4 tsp nutmeg, 1/2 tsp black pepper, and 1/2 tsp salt: The thyme and nutmeg are subtle but essential—don't skip them
  • 1 tbsp gluten-free flour: This optional thickener helps the sauce cling to every single layer
  • 2 tbsp chopped fresh chives: These add a fresh pop of color and mild onion flavor that brightens the whole dish

Instructions

Get your oven and dish ready:
Preheat to 375°F and butter a 9x13-inch baking dish thoroughly—I learned the hard way that cheese sticks to everything
Caramelize the onions:
Melt 2 tablespoons butter in a large skillet over medium heat, add onions with a pinch of salt, and cook patiently for 20-25 minutes until they turn deep golden brown
Add the aromatic finish:
Stir in the minced garlic during that final minute of cooking, then remove everything from the heat
Warm the cream mixture:
Heat cream, milk, thyme, nutmeg, pepper, remaining butter, and flour if using in a small saucepan until steaming but not boiling
Build the first layer:
Arrange half the sweet potato slices in the prepared dish, season lightly, then spread half the caramelized onions over top
Add the cheese:
Sprinkle half of both cheeses over the onion layer, making sure to distribute it evenly
Repeat and complete:
Layer remaining potatoes, onions, and cheese, then pour that warm cream mixture slowly and evenly over everything
Cover and bake:
Cover tightly with foil and bake for 40 minutes—the steam helps cook those sweet potatoes through
Create the golden crust:
Remove foil and bake another 20 minutes until the top is bubbly and beautifully browned
Let it rest:
Wait 10 minutes before serving—this seems impossible but helps the layers set so you get neat slices instead of a delicious mess
Baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight with melted cheese and fresh chives, ready to serve.  Save
Baked Cheesy Sweet Potato Gratin with Caramelized Onions Delight with melted cheese and fresh chives, ready to serve. | freshplatejournal.com

This recipe became my go-to for bringing to friends' houses after I made it for Thanksgiving three years running. My aunt finally asked for the recipe last year, admitting she'd been trying to recreate it based on memory ever since that first Thanksgiving.

Make It Ahead

I've discovered you can assemble everything up to 24 hours in advance, cover tightly, and refrigerate. Just add 10-15 minutes to the covered baking time if you're starting from cold.

Perfect Wine Pairings

A crisp Sauvignon Blanc cuts through the richness beautifully, or if you prefer red, a light Pinot Noir won't overpower the delicate flavors.

Serving Suggestions

This gratin works wonderfully alongside roasted chicken or pork tenderloin. It's substantial enough to stand alone as a main dish with a simple green salad.

  • Let guests add their own fresh chives at the table for a fun interactive element
  • A small dollop of sour cream on top adds a tangy contrast
  • Leftovers reheat surprisingly well in the oven at 350°F for about 15 minutes
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight revealing creamy layers and caramelized onion ribbons. Save
Close-up of Cheesy Sweet Potato Gratin with Caramelized Onions Delight revealing creamy layers and caramelized onion ribbons. | freshplatejournal.com

There's something deeply satisfying about serving a dish that looks this impressive but comes from such humble ingredients. Enjoy every bubbling, cheesy bite.

Recipe FAQs

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

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

A combination of Gruyère and sharp cheddar provides a rich, nutty flavor and creamy melt that complement the sweet potatoes.

It is gluten-free if you use gluten-free flour for thickening and ensure the cheeses do not contain additives with gluten.

Crisp white wines like Sauvignon Blanc or light reds such as Pinot Noir balance the richness of the gratin nicely.

Cheesy Sweet Potato Gratin

Sweet potatoes and caramelized onions baked with melted cheese in a rich, creamy gratin.

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 Additions

  • 1 tbsp gluten-free or all-purpose 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 with butter or cooking spray.
2
Caramelize the 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 minced garlic and cook for 1 minute more. Remove from heat.
3
Prepare the Cream Mixture: In a small saucepan, combine heavy cream, whole milk, dried thyme, ground nutmeg, black pepper, and remaining 1 tbsp butter. Heat over medium-low heat until steaming, do not boil. If using flour, whisk in until smooth to slightly thicken the mixture.
4
First Layer Assembly: Arrange half of the sweet potato slices in the prepared baking dish, overlapping slightly. Season lightly with salt.
5
Add Onions and Cheese: Spread half of the caramelized onions over the potatoes. Sprinkle with half of the Gruyère and half of the cheddar cheese.
6
Second Layer Assembly: Repeat with remaining sweet potato slices, caramelized onions, and cheeses.
7
Pour Cream Mixture: Pour the warm cream mixture evenly over the layered ingredients, ensuring it distributes throughout the dish.
8
Covered Baking: Cover the baking dish tightly with aluminum foil. Bake for 40 minutes.
9
Uncovered Baking: Remove the foil and bake uncovered for an additional 20 minutes, or until the top is golden brown and the potatoes are fork-tender.
10
Rest and Serve: Let the gratin rest for 10 minutes before serving to allow the layers to set. Garnish with fresh chopped 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, butter)
  • Gluten-free if using gluten-free flour; check cheese labels for additives
  • Individuals with dairy sensitivity should avoid this recipe
Clara Hensley

Passionate home cook sharing easy, family-friendly recipes and practical cooking tips.