Mediterranean Beet & Sweet Potato Gratin with Feta & Walnuts

By: Emily

May 27, 2026

Everyday Culinary Delights👩‍🍳

Mediterranean Beet & Sweet Potato Gratin with Feta & Walnuts

Mediterranean Layered Beet, Sweet Potato & Feta Gratin with Walnuts – A Root Vegetable Gratin with a Moroccan Twist

⚖️
Difficulty
Medium
⏲️
Prep Time
25 mins
🕒
Cook Time
45 mins
⏱️
Total Time
70 mins
🍽️
Servings
8

I remember the first time I made this beet and sweet potato gratin – it was a chilly autumn evening in my tiny NYC kitchen, and I was missing the warm, earthy flavors of my mother’s tagine back in Morocco. I roasted beets and sweet potatoes until they were sweet and caramelized, then layered them with tangy feta, a sprinkle of cinnamon, and a crunchy walnut topping. That night, my husband said, “This is the best gratin I’ve ever had.” That’s when I knew I had something special. This Mediterranean beet gratin is not just a side dish; it’s a celebration of root vegetables done right – a unique angle that blends Moroccan spices with French technique, all wrapped in a cozy, golden-brown gratin.

Imagine slicing into a dish where each layer reveals a beautiful mosaic of deep red beets and orange sweet potatoes, all clinging to a creamy, salty feta sauce that’s been infused with garlic and a touch of cumin. The walnuts on top toast to a perfect crunch, and every bite offers a balance of sweet, savory, and tangy. The aroma that fills your kitchen – roasted vegetables, warm spices, and melting cheese – is pure comfort. This beet sweet potato gratin is a show-stopper at any holiday table or Sunday dinner, and it’s surprisingly simple to assemble.

I’ve spent years perfecting this recipe, drawing on my culinary training in Paris and my Moroccan roots. The secret? Parboiling the sweet potatoes just slightly so they cook evenly with the beets, and using a food processor to slice everything uniformly. I’ll share my pro tip for avoiding a watery gratin (a common mistake that can dilute the flavors) and how to get that perfect, nutty crust. Whether you’re a seasoned cook or a newbie, this root vegetable gratin will make you look like a chef. Let’s dive in!

Why This Mediterranean Beet Gratin Recipe Is the Best

The flavor secret lies in the unexpected combination of cumin and cinnamon – a classic Moroccan pairing that elevates the natural sweetness of the beets and sweet potatoes. While many gratins rely solely on cream, I use a lighter base of milk and feta, which adds a tangy, salty kick without weighing down the vegetables. My time at Le Cordon Bleu taught me the power of balance: the walnuts bring crunch, the herbs bring freshness, and each layer is seasoned just right.

Texture is everything in a gratin, and this one nails it. The sweet potatoes are parboiled to tender perfection, while the beets stay slightly firm, creating a wonderful contrast. I also toss the walnut topping with a bit of olive oil and rosemary before baking, so it becomes gorgeously crispy, not soggy. No one wants a sad, mushy gratin – this one stays beautifully intact when you slice it.

Foolproof & Fast: Even though it looks fancy, this vegetarian gratin with feta comes together in about 70 minutes. Most of that is hands-off oven time. I’ve streamlined the steps so you can prep everything in under half an hour. And because it’s so forgiving, you can swap in different root vegetables or cheeses without worry – perfect for using what’s in your fridge.

Mediterranean Beet Gratin Ingredients

When I’m at the Union Square Greenmarket, I always grab the most vibrant beets and sweet potatoes I can find. The quality of your root vegetables really shines here – that earthy sweetness can’t be faked. I remember in Morocco we used to pick beets straight from the garden; the flavor was so intense, we’d eat them raw. For this walnut gratin recipe, good produce is half the magic.

Ingredients List

  • 2 lbs (about 4 medium) red beets, peeled and sliced into 1/8-inch rounds
  • 2 lbs (about 3 medium) sweet potatoes, peeled and sliced into 1/8-inch rounds
  • 1 large yellow onion, thinly sliced
  • 3 cloves garlic, minced
  • 1 cup (4 oz) crumbled feta cheese
  • 1/2 cup (2 oz) grated Parmesan cheese
  • 1 cup whole milk (or heavy cream for extra richness)
  • 2 large eggs, lightly beaten
  • 1/2 cup (2 oz) chopped walnuts
  • 2 tbsp fresh rosemary, finely chopped (or 1 tsp dried)
  • 1 tsp ground cumin
  • 1/2 tsp ground cinnamon
  • 1 tsp salt
  • 1/2 tsp black pepper
  • 2 tbsp olive oil, plus more for the dish

Ingredient Spotlight

Beets: Look for firm, unblemished beets with their stems attached if possible – they’ll be sweeter. I don’t recommend canned beets here; they’re too soft and watery. If you’re short on time, you can use pre-cooked vacuum-packed beets, but slice them thickly (1/4 inch) and pat them very dry. They’ll hold up better.

Sweet potatoes: Choose ones that are heavy for their size and have orange flesh (like Beauregard or Jewel). Parboiling them for 5 minutes ensures they cook at the same rate as the beets. If you skip parboiling, the beets may be undercooked or the sweet potatoes mushy.

Feta cheese: Use a block of feta in brine, not pre-crumbled – it’s creamier and less dry. For a dairy-free version, try a vegan feta made from almonds or just omit the feta and double the Parmesan (still not dairy-free). I’ll give more swaps in the variations section.

Walnuts: Fresh walnuts taste best. Toast them lightly before chopping to bring out their oils. If you’re out of walnuts, pecans or even almonds work nicely.

Original Ingredient Best Substitution Flavor / Texture Impact
Feta cheese Goat cheese or dairy-free feta Goat cheese is tangier and creamier; DF feta is less salty and may brown less.
Whole milk Unsweetened almond milk (only if using) Lighter, slightly thinner sauce; bake 5 min longer.
Walnuts Pecans or slivered almonds Pecans are sweeter; almonds are crunchier. Both work great.
Fresh rosemary Dried thyme or 1 tsp herbes de Provence Slightly different aromatic profile; still Mediterranean and delicious.

How to Make Mediterranean Beet and Sweet Potato Gratin — Step-by-Step

Don’t be intimidated by the layers – this gratin is deceptively simple. Just take it one step at a time, and you’ll have a gorgeous dish that tastes like you fussed for hours.

Step 1: Prep the Vegetables

Peel the beets and sweet potatoes, then use a mandoline or sharp knife to slice them into uniform 1/8-inch rounds. Bring a large pot of salted water to a boil and add the sweet potato slices. Parboil for 5 minutes, then drain and rinse with cold water. Pat dry with a clean towel. The beets do not need boiling.

💡 Sara’s Pro Tip: Wear kitchen gloves when handling beets to avoid staining your hands for days! And if your mandoline has a hand guard, use it – safety first.

Step 2: Make the Sauce

In a medium bowl, whisk together the milk, beaten eggs, cumin, cinnamon, salt, and pepper. Stir in the minced garlic, half of the feta, and half of the Parmesan. This creamy, spiced mixture will bind the layers together and keep every bite flavorful.

⚠️ Common Mistake to Avoid: Don’t over-beat the eggs – just whisk until combined. Foamy eggs can create air bubbles that make the gratin puff up and then collapse.

Step 3: Layer the Gratin

Preheat oven to 375°F. Grease a 9×13-inch baking dish with olive oil. Layer half of the sweet potatoes in the bottom, overlapping slightly. Top with half of the beets, spreading them evenly. Pour half of the sauce mixture over the vegetables. Sprinkle with half of the remaining feta and Parmesan. Repeat with the remaining sweet potatoes, beets, and sauce, then finish with the last of the feta and Parmesan.

💡 Sara’s Pro Tip: Press down gently on the layers with a spatula as you go – this ensures the sauce seeps into every crevice and the gratin holds together when sliced.

Step 4: Top with Walnuts and Bake

In a small bowl, toss the chopped walnuts with the rosemary and a drizzle of olive oil (about 1 tsp). Sprinkle the walnut mixture evenly over the top of the gratin. Bake uncovered for 40–45 minutes, until the vegetables are tender (a knife should pierce through easily) and the top is golden brown and bubbling.

⚠️ Common Mistake to Avoid: If the top browns too quickly (after 30 minutes), tent loosely with foil for the remaining time. But don’t cover too early – you want that crispy walnut crust.

Step 5: Rest and Serve

Let the gratin rest for at least 10 minutes before slicing. This allows the layers to set and the flavors to meld. Serve warm, garnished with a few extra rosemary sprigs or a drizzle of balsamic glaze if you’re feeling fancy.

💡 Sara’s Pro Tip: Run a knife along the edges of the dish after resting – the corners are the best part for someone who loves crispy edges!

Step Action Duration Key Visual Cue
1 Prep vegetables 15 minutes Uniform thin rounds
2 Make sauce 5 minutes Smooth, pale orange liquid
3 Layer gratin 10 minutes Neat overlapping rows of vegetables
4 Top and bake 45 minutes Golden crust, bubbling edges
5 Rest and serve 10 minutes Gratin firms up and stops steaming

Serving & Presentation

This vegetarian gratin with feta is stunning enough for a holiday centerpiece, but cozy enough for a weeknight dinner. I love to serve it alongside a simple green salad with lemon vinaigrette to cut the richness. For a Moroccan-inspired meal, pair it with harissa chicken or lamb kofta. And don’t forget a dollop of labneh or Greek yogurt on the side – it’s how my mother used to serve roasted vegetables.

When plating, use a wide spatula to lift out a nice square, making sure to include some of the crispy top. Garnish with fresh mint or parsley and a sprinkle of pomegranate seeds if you’re feeling festive – the pop of red against the golden gratin is gorgeous. For a Parisian touch, a light drizzle of balsamic reduction adds both acidity and elegance.

In my NYC apartment, I often make this ahead for Sunday meal prep. It reheats beautifully and the flavors deepen overnight. See the storage tips below.

Pairing Type Suggestions Why It Works
Side Dish Mixed greens with lemon vinaigrette, roasted chicken, kefta meatballs The tartness and acid cut the creamy richness; protein completes the meal.
Sauce / Dip Labneh, Greek yogurt, harissa yogurt sauce Cool, tangy contrast to warm, spiced gratin.
Beverage Crisp white wine (Sauvignon Blanc), pomegranate spritzer, mint tea Light acidity and herbal notes complement the earthy beets and cumin.
Garnish Fresh mint, parsley, pomegranate arils, balsamic glaze Adds color, freshness, and a pop of acidity or sweetness.

Make-Ahead, Storage & Reheating

Trust me, this gratin is even better the next day. I often assemble it on a Sunday, keep it covered in the fridge, and bake it on Monday. The flavors meld together like a dream. For my busy NYC life, make-ahead meals are a lifesaver – and this one is practically built for it.

Method Container Duration Reheating Tip
Refrigerator Airtight container or covered with foil 4–5 days Reheat in 350°F oven for 15–20 min (covered for first 10 min to prevent drying).
Freezer Wrap tightly in plastic wrap then foil 3 months Thaw overnight in fridge, then reheat covered at 350°F for 25–30 min.
Make-Ahead Assembled but unbaked, covered Up to 2 days in fridge Add 5–10 min to baking time since starting cold.

If reheating individual portions, the microwave works in a pinch, but the oven gives you that crispness back. I like to place a ramekin of water in the oven to add moisture – my pastry chef trick from Paris. And never freeze a fully baked gratin if you can avoid it; the texture of the feta and walnuts changes. Better to freeze it unbaked and then bake fresh.

Variations & Easy Swaps

One of the things I love about this root vegetable gratin is how flexible it is. You can dress it up or down depending on the season, your diet, or what’s in your pantry. Here are three of my favorite variations – each one tested in my kitchen (and by my NYC friends, who are brutally honest, I promise).

Variation Key Change Best For Difficulty Impact
Moroccan Spiced Add 1 tsp ras el hanout, swap rosemary for cilantro Adventurous palates; holiday feasts Easy (same process)
Dairy-Free / Vegan Use vegan feta, replace milk with oat milk, omit eggs, use nutritional yeast Vegan guests; lactose intolerance Medium (need to adjust liquid ratios)
Summer Harvest Sub half sweet potatoes with zucchini; add fresh basil Summer garden surplus; lighter dish Easy (reduce parboil to 2 min for zucchini)

Moroccan Spiced Gratin

This takes the base recipe in a more aromatic direction. I swap the cumin and cinnamon for 1 teaspoon of ras el hanout – a fragrant Moroccan spice blend I buy from a spice shop in the East Village. Replace the rosemary with fresh cilantro, and finish with a handful of golden raisins scattered in the layers. The combination of sweet raisins, warm spices, and feta is pure North African comfort. It’s the version I make when I need a taste of my childhood in Marrakech.

Dairy-Free / Vegan Gratin

For my friends who avoid dairy, I’ve developed a vegan version that still delivers on creaminess. Use a high-quality vegan feta (I like the one from Violife or a homemade almond feta). For the sauce, replace milk with unsweetened oat milk, and omit the eggs – instead, whisk in 2 tablespoons of cornstarch dissolved in 3 tablespoons of cold water to help thicken. Add 3 tablespoons of nutritional yeast for a cheesy flavor. The gratin will be slightly less firm but still delicious. Bake for the same time, and don’t skip the resting step – the cornstarch needs a few minutes to set.

Summer Harvest Gratin

When the farmers market is overflowing with zucchini and summer squash, I like to swap half of the sweet potatoes for those lighter vegetables. Slice them the same thickness, but only parboil the sweet potatoes; add zucchini raw directly to the layers. The zucchini releases some moisture, so I add 2 tablespoons of panko breadcrumbs to the sauce mixture to absorb it. Fresh basil leaves tucked between layers give a garden-fresh flavor. This version is perfect for a lighter main course alongside a simple tomato salad.

Can I use pre-cooked beets or canned beets for this gratin instead of fresh?

Yes, you can, but you’ll need to adjust the texture. Pre-cooked beets (the vacuum-packed ones sold in grocery stores) are softer than raw, so slice them a bit thicker – about 1/4 inch – and pat them very dry with paper towels to remove excess moisture. Canned beets are even more delicate and tend to break apart, so I only recommend them if you’re in a true pinch. If using canned, drain them thoroughly, slice into rounds, and layer them gently. The gratin may be slightly less firm, but the flavor will still be lovely. For best results, I always stick with fresh beets – they have a superior earthy sweetness that really shines.

Should I peel the sweet potatoes and beets before layering them in the gratin?

Yes, I recommend peeling both vegetables for this gratin. The skins of sweet potatoes and beets can be a bit tough and fibrous, especially after roasting, and they also hold onto soil. Peeling gives a smooth, uniform texture that blends beautifully with the creamy sauce. That said, if you have young, tender sweet potatoes and you scrub them very well, you can leave the skin on for extra nutrients and rustic appeal – just note that the texture will be slightly chewier. For beets, I always peel because the skin is unpleasant to eat. So, for the most elegant and consistent result, take the extra few minutes to peel.

How long does this Mediterranean beet and sweet potato gratin need to bake in the oven?

At 375°F, the gratin bakes for about 40–45 minutes. The exact time depends on how thick you sliced the vegetables and whether you parboiled the sweet potatoes. You’ll know it’s done when a knife slides easily through the center of the dish, the top is golden brown, and the edges are bubbling. If you’re making an unbaked gratin from the fridge, add 10–15 minutes to the baking time. And always rest the gratin for 10 minutes after baking – that final step is crucial for clean slices.

What can I substitute for feta cheese to keep the dish dairy-free or vegan?

For a dairy-free version, you can use vegan feta made from almonds or tofu – I’ve had great results with Violife’s vegan feta, which crumbles and melts decently. You can also replace the feta with extra grated Parmesan or a plant-based Parmesan substitute, but note that Parmesan is not dairy-free. To maintain the tangy, salty note of feta, add a squeeze of lemon juice and an extra pinch of salt to the sauce. Another option is to use a cashew cream: soak 1/2 cup cashews, blend with 1/2 cup water, 2 tablespoons lemon juice, and 1/2 teaspoon salt – this replaces both feta and the milk base. The dish will be rich and creamy, though less firm.

Can I make this gratin ahead of time and refrigerate before baking?

Absolutely – this is my favorite way to prep it. Assemble the entire gratin in the baking dish (without adding the walnut topping; add that just before baking), cover tightly with plastic wrap or foil, and refrigerate for up to 2 days. When ready to bake, let it sit at room temperature for 30 minutes while the oven preheats, then add the walnut mixture and bake as directed, adding 5–10 minutes to the baking time since the dish starts cold. The flavors will be even more melded and delicious.

Can I freeze a fully cooked gratin?

You can freeze a fully baked gratin, but the texture of the feta and walnuts may suffer – they can become a bit rubbery or soggy upon thawing. If you must freeze, cool the gratin completely, wrap it tightly in plastic wrap and then foil, and freeze for up to 3 months. To reheat, thaw overnight in the fridge, then bake covered at 350°F for 25–30 minutes, uncovering for the last 10 minutes to crisp the top. For best quality, I recommend freezing the gratin unbaked instead – then bake directly from frozen, adding about 15–20 minutes to the bake time.

Can I add meat to this gratin to make it a main dish?

Sure! This gratin is already hearty enough to be a main course (especially with a salad), but you can bulk it up. Add crumbled cooked sausage (like Italian or merguez) between the layers – about 1/2 pound should do. For a chicken version, shred leftover rotisserie chicken and layer it with the vegetables. If you want to keep it vegetarian but more filling, add a can of drained chickpeas or lentils. Adjust seasoning slightly if adding salty meat, and keep the baking time the same.

Why did my gratin turn out watery?

A watery gratin usually happens for two reasons: (1) You didn’t pat the sliced beets and sweet potatoes dry enough. Raw beets, especially, release moisture as they cook. After slicing, lay them on a towel and press gently. (2) You skipped the parboiling step for sweet potatoes – parboiling removes excess starch and moisture. Also, make sure you let the gratin rest after baking; that resting time allows the sauce to reabsorb. If it’s still watery, next time add 1 tablespoon of flour or cornstarch to the sauce mixture before pouring.

Is this gratin gluten-free?

Yes, as written, this recipe is naturally gluten-free. None of the ingredients contain wheat or gluten. Just be sure to check your feta cheese and any spice blends you buy, as some may have anti-caking agents that contain gluten (though it’s rare). For a gluten-free binder, no modification is needed – the eggs and milk hold everything together. If you’re making the vegan version with cornstarch, that’s also gluten-free. So you can serve it to gluten-sensitive guests with confidence.

What can I use instead of walnuts if I have a nut allergy?

If you need a nut-free crunch, try pumpkin seeds (pepitas) or sunflower seeds – toast them before adding for extra flavor. For another option, use crushed cornflakes or gluten-free panko breadcrumbs tossed with a little olive oil and rosemary. The texture will be different but still delightful. If seeds aren’t an option either, simply omit the topping and add an extra sprinkle of Parmesan on top during the last 10 minutes of baking. The gratin will still have a lovely browned crust.

Share Your Version!

I’d love to see how your Mediterranean Layered Beet, Sweet Potato & Feta Gratin with Walnuts turns out! Snap a photo, leave a star rating below, and tell me what you think. Did you try the Moroccan spiced version? Or a vegan swap? Tag me on Instagram @cheerychop or pin your creation on Pinterest – I reply to every comment and I read them all. One question I always love: what’s your favorite way to elevate a simple gratin – a secret spice, a special cheese, or a crunchy topping? Share in the comments!

From my NYC kitchen to yours — I hope this recipe brings as much warmth to your table as it does to mine. — Sara 🧡

📌

Love This Recipe? Save It to Pinterest!

If you enjoyed this Mediterranean Layered Beet, Sweet Potato & Feta Gratin with Walnuts recipe, don’t let it get lost in your browser tabs! 😄 Pin it now so you can find it again anytime — and explore hundreds more tried-and-tested recipes waiting for you on my Pinterest boards.

👉 Follow Sara on Pinterest @chefrecipes2

📌 Pin this recipe · 🔁 Re-pin your favorites · 💬 Tag me when you make it — I love seeing your creations!

Print

Mediterranean Layered Beet, Sweet Potato & Feta Gratin with Walnuts

  • Author: Chef Emily

Instructions

    Did you make this recipe?

    Share a photo and tag us — we can't wait to see what you've made!



    Mediterranean Layered Beet, Sweet Potato & Feta Gratin with Walnuts

    Leave a Comment

    Recipe rating