Sweet Potato and Apple Gratin Recipe: Caramelized Top, Spiced Cheese Swirl Magic

Side Dishes

Sweet Potato and Apple Gratin Recipe: Caramelized Top, Spiced Cheese Swirl Magic

This sweet potato and apple gratin transforms humble ingredients into a restaurant-worthy side dish with layers of caramelized sweetness and creamy texture. The secret lies in thinly sliced sweet potatoes and crisp apples baked until golden, topped with a spiced cheese swirl that creates irresistible pockets of melted goodness.

I developed this recipe after years of perfecting the balance between tender vegetables and rich, aromatic cheese—now you can achieve the same results at home.

The magic happens in the layering: thinly sliced sweet potatoes and apples alternate in a baking dish, creating a visually stunning presentation that bakes into tender, caramelized perfection. A simple buttermilk and egg wash on top ensures a crispy crust, while the cheese swirl adds depth and richness.

This dish is foolproof—no fancy techniques required, just precise slicing and patient baking at 375°F for about 45 minutes.

What you'll end up with is a dish that's equally stunning and delicious—sweet potatoes tender yet holding their shape, apples caramelized to perfection, and cheese melted into golden swirls.

The aroma alone will have everyone gathering around the table, and the texture contrast between the crispy top and creamy filling makes every bite satisfying. This gratin pairs beautifully with roasted meats or as a vegetarian main course.

For extra indulgence, consider adding a sprinkle of cinnamon or nutmeg to the cheese mixture, or a drizzle of honey before baking for enhanced sweetness. The possibilities are endless, but the foundation remains the same: simple ingredients, precise technique, and irresistible results.

Let's create this showstopper for your next meal.

👨‍🍳
Difficulty
Medium
🌿
Diet
Vegetarian
🔥
Calories
Med Cal

Ingredients for sweet potato and apple gratin

Six ingredients for the star, plus a few pantry staples for the magic swirl.

Ingredient Amount Notes
Sweet Potatoes 🍠 3 lb Thinly sliced, 1/4-inch thick
Apples 🍎 4 medium Honeycrisp or Fuji, peeled and sliced
Vegetable Oil 🫒 2 tbsp For greasing baking dish
Buttermilk 🥛 ½ cup Full-fat for creaminess
Large Eggs 🥚 2 whole Beaten for wash
Sharp Cheddar Cheese 🧀 2 cups Shredded, sharp variety
Gruyère Cheese 🧀 1 ½ cups Shredded, nutty flavor
Heavy Cream 🥛 ½ cup Full-fat for richness
All-Purpose Flour 🌾 2 tbsp For cheese mixture
Ground Nutmeg 🌿 ½ tsp Freshly grated preferred
Ground Cinnamon 🌶️ 1 tsp For cheese swirl
Salt 🧂 1 tsp Diamond Crystal preferred
Black Pepper 🌶️ ½ tsp Freshly ground
Honey 🍯 1 tbsp Optional drizzle

The sweet potatoes and apples are non-negotiable for that perfect caramelized texture. Honeycrisp apples stay crisp while baking, but Fuji works too—just avoid anything mealy like Granny Smith. For the potatoes, orange-fleshed varieties like Garnet or Jewel are ideal. I always grab mine from Whole Foods when they're on sale, but the regular grocery store stuff works fine. Peeled and sliced uniformly, they'll cook evenly. The cheese? Sharp cheddar and Gruyère are my go-tos—Gruyère adds that nutty depth, while cheddar keeps it approachable. If you can only find mild cheddar, add an extra pinch of salt to compensate.

No buttermilk? Mix 1/2 cup milk with 1 tbsp vinegar or lemon juice—let it sit 5 minutes. Running short on apples? Pear slices work beautifully, though they caramelize faster. The honey drizzle is optional but worth it—local raw honey adds floral notes that pair perfectly. For the cheese swirl, don't skip the flour—it helps bind everything together. If you're feeling fancy, add a pinch of cardamom to the cheese mix for an unexpected twist. And trust me on the full-fat cream—it makes the swirl luxurious.

This gratin reheats beautifully—just cover with foil and warm at 350°F for 15 minutes. Leftovers keep for 4 days in the fridge, though I rarely have any. The cheese swirl hardens when cold, so I like to reheat portions to restore that gooey perfection. For make-ahead prep, assemble the dish the night before and bake straight from the fridge—just add 10-15 minutes to the baking time. The aroma alone will have everyone rushing to the table.

❤️

Why You'll Love This Recipe

  • One-Pan Magic: I swear by this for nights when I’d rather not wash dishes. Just slice the sweet potatoes and apples, toss them in the buttermilk-egg mix, and bake—no chopping boards, no extra pans. The oil keeps everything tender without drying out, and the apples caramelize right on top.
  • Sweet-Savory Balance: That buttermilk and egg combo transforms the dish—creamy, tangy, with just enough richness to make it feel special. The apples add a bright crunch that cuts through the sweet potatoes’ natural sweetness, like a hug for your taste buds.
  • Weeknight to Holiday: Honestly, I’ve served this for lazy Tuesdays and Thanksgiving leftovers. The same recipe works for a quick dinner or a side that feels festive. Even my picky-eater husband grabs seconds, and he’s not easily impressed.
  • Budget-Friendly Luxury: Sweet potatoes and apples stretch further than you’d think, especially when you’re not drowning them in cream or cheese. The eggs and buttermilk add depth without breaking the bank, and leftovers reheat like a dream—no soggy edges in sight.

Step-by-step instructions for sweet potato and apple gratin

This gratin delivers caramelized sweet potatoes and apples with a creamy, spiced cheese swirl that's pure comfort food magic.

1

Prep and Layer the Sweet Potatoes and Apples

Preheat your oven to 375°F while you prepare the vegetables. Peel and slice the 3 lb sweet potatoes into ¼-inch thick rounds using a mandoline or sharp knife. For the 4 medium apples, peel and slice them into ⅛-inch thick rounds - I like to use Honeycrisp or Fuji for their natural sweetness and texture.

Lightly grease a 9x13-inch baking dish with the 2 tbsp vegetable oil. Arrange the sweet potato slices in a single layer on the bottom, slightly overlapping them. Brush each layer lightly with a mixture of ½ cup buttermilk and 1 tbsp honey (save the remaining buttermilk for later). Top with the apple slices, then repeat the layering process until all vegetables are used, finishing with a layer of sweet potatoes on top.

2

Create the Spiced Cheese Swirl

In a medium bowl, combine the 2 cups sharp cheddar cheese, 1.5 cups gruyère cheese, ½ cup heavy cream, 2 tbsp all-purpose flour, 1 tsp salt, ½ tsp black pepper, 1 tsp ground cinnamon, and ½ tsp ground nutmeg. Mix until you have a smooth, thick paste that will hold its shape when swirled.

Spread this cheese mixture evenly over the top of the layered vegetables. Using the back of a spoon or a piping bag, create a decorative swirl pattern - this not only looks beautiful but also ensures even distribution of the spiced cheese. The swirl should be about ¼-inch thick in places to create that perfect golden crust.

3

Add the Egg Wash and Bake

In a small bowl, beat the 2 whole large eggs with the remaining ¼ cup buttermilk until fully combined. This egg wash will create that gorgeous golden caramelized top we're after. Pour this mixture evenly over the cheese swirl, letting it soak in for about 1 minute.

Bake uncovered in the preheated oven for 45-50 minutes until the top is deep golden brown and the edges are bubbling. You'll know it's ready when you see the cheese has turned a beautiful caramel color and the vegetables are tender when pierced with a knife. The center should still have a slight give - it will continue cooking slightly after removal from the oven.

4

Rest and Serve Warm

Remove the gratin from the oven and let it rest for 10-15 minutes before serving. This resting period allows the layers to set slightly and makes it easier to slice. The internal temperature should reach 185°F at this point.

Use a sharp knife to cut through the swirl pattern for clean, beautiful slices. Serve warm with a dollop of extra spiced cream or a simple green salad. The contrast of the caramelized top with the creamy, spiced interior and tender vegetables makes this gratin truly special. Each bite delivers perfect texture and flavor harmony.

👨‍🍳

Pro Tips For Making Sweet Potato And Apple Gratin

  • Preheat Pan to 375°F: I learned this the hard way—cold pans make soggy bottoms. Slide your baking dish straight into the oven (no preheating the dish first) at 375°F so the oil gets hot enough to crisp the edges before the apples release moisture.
  • Slice Apples Paper-Thin: A mandoline makes this easy, but if you’re doing it freehand, go for ⅛-inch slices. Thicker ones stay mealy; thinner ones caramelize evenly and soak up the buttermilk custard like a dream.
  • Whisk Eggs Until Ribbon Stage: This isn’t the time to eyeball it—stretch the beaten eggs between your fingers until they form a slow-moving ribbon. Underwhisked eggs curdle in the oven, and overwhisked ones make the gratin gummy.
  • Layer Oil First, Then Apples: Skip the dry layering—brush the bottom of the dish with 1–2 tablespoons of vegetable oil before adding the first apple slice. It creates a nonstick barrier so the gratin doesn’t stick like glue when you flip it out.

Troubleshooting great sweet potato and apple gratin

Soggy Vegetables

If your sweet potatoes or apples turn out mushy instead of tender, you likely overcooked them. The key is thin, even slicing—no thicker than ¼-inch for sweet potatoes and ⅛-inch for apples. I’ve found that Honeycrisp apples hold up best, while Fuji caramelizes beautifully.

Also, don’t skip the buttermilk wash—it creates a barrier that prevents excessive moisture release. If you notice steam pooling in the dish during baking, tent it loosely with foil for the last 10-15 minutes to let the top crisp while keeping the veggies tender. 🥔

Cheese Not Melting

Unevenly melted cheese often means the oven temperature wasn’t stable or the cheese mixture was too dry. First, always use full-fat dairy—Gruyère and cheddar need that richness to melt properly.

If your cheese swirl looks dry, whisk in 1 extra tablespoon of heavy cream or 1 teaspoon of water to bind it. Also, preheat your oven thoroughly—a cold oven can cause the cheese to set instead of melt.

For extra insurance, bake the gratin on the middle rack where heat circulates evenly. 🧀

Browning Too Fast

If the top browns too quickly but the center stays undercooked, your oven runs hot or the egg wash is too thin. Reduce the oven temperature to 350°F for the last 15 minutes of baking to finish gently.

For the egg wash, whisk the eggs until frothy—this creates a thicker, more stable layer that browns evenly without burning. If your dish still browns too fast, cover it loosely with foil halfway through baking.

Pro tip: Use dark brown sugar (instead of white) in your cheese swirl for deeper color without over-browning. 🍯

Swirl Collapsing

A collapsed cheese swirl usually means the mixture wasn’t thick enough or the gratin was disturbed while baking. To fix this, chill the cheese mixture for 15 minutes before spreading—this helps it hold its shape.

For extra stability, fold in 1 extra tablespoon of flour or 1 teaspoon of cornstarch to thicken it. Avoid moving the dish while baking, and let it rest for 15 minutes after removing from the oven before cutting.

If the swirl still collapses, try piping it on top instead of spreading it with a spoon for better control. 🎨

Dish Too Dry

Dry gratin often happens when too much moisture evaporates or the cheese mixture is too thick. To prevent this, brush each vegetable layer with a light buttermilk wash (as in the recipe) to keep them moist.

If your dish turns out dry, add a splash of heavy cream (about 2 tablespoons) to the cheese mixture before baking. For extra richness, drizzle 1 tablespoon of honey over the top before baking—this adds moisture and enhances caramelization.

Serve with a side of warm apple compote to restore balance. 🍏

Nutrition facts

Servings 6
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 28g36%
Saturated Fat 16g80%
Cholesterol 120mg40%
Sodium 620mg27%
Total Carbohydrate 52g18%
Dietary Fiber 7g25%
Sugars 22g
Protein 18g36%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make this gratin ahead of time?

Assemble the dish the night before and refrigerate uncovered. When ready to bake, add 10-15 extra minutes to the 45-50 minute baking time since it'll be cold. The flavors actually deepen overnight, and the texture remains perfect. Just let it sit at room temperature for 30 minutes before baking to ensure even cooking.

2

What if I don't have buttermilk?

No problem! Mix ½ cup milk with 1 tablespoon vinegar or lemon juice, let it sit for 5 minutes until thickened, then use as directed. For extra richness, use whole milk instead of reduced-fat. This substitution works perfectly for both the vegetable wash and egg wash components.

3

Can I use regular potatoes instead of sweet potatoes?

While you can substitute regular potatoes, you'll lose the signature sweetness and vibrant color. If you must, use Yukon Gold potatoes and add 1 extra tablespoon of honey to the cheese swirl to compensate. The texture will be slightly less tender, but it'll still be delicious. For best results, stick with sweet potatoes for that perfect caramelized flavor.

4

How do I make this vegetarian-friendly?

This recipe is already vegetarian! The cheese swirl contains no animal products, and the vegetable layers are pure plant-based. For a vegan version, replace the cheddar and Gruyère with nutritional yeast and vegan cheese, and use plant-based butter in the buttermilk wash. The flavor will be slightly different but still delicious.

5

What's the best way to reheat leftovers?

Cover the gratin with foil and warm in a 350°F oven for 15-20 minutes until heated through. For extra crispiness, uncover for the last 5 minutes of reheating. Microwaving works in a pinch (use 30-second intervals on medium power), but oven reheating preserves the texture best. Leftovers keep well for 4-5 days in the fridge.

★★★★★4.7(7 reviews)
Categories Side Dishes