Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
This Savory Roasted Sweet Potato, Caramelized Onion, and Feta Casserole is a sophisticated alternative to traditional sweet potato side dishes. Moving away from overly sweet marshmallows and brown sugar glazes, this recipe balances earthy roasted sweet potato cubes with slow-cooked, deeply sweet balsamic caramelized onions, salty crumbles of sheep’s milk feta, velvety whole milk ricotta, and fresh aromatic herbs.
Bound together by a delicate, custard-style egg and cream mixture and topped with shredded Gruyère and Parmesan that melts into a deep golden crust, each bite delivers contrasting textures and complex flavors. It serves effortlessly as a centerpiece vegetarian entrée or as a standout holiday side dish alongside roast chicken, turkey, or lamb.
Recipe Overview
Prep Time: 30 minutes
Cook Time: 1 hour 15 minutes
Total Time: 1 hour 45 minutes
Servings: 8 generous portions
Cuisine: Modern Mediterranean / American Rustic
Category: Dinner, Side Dish, Main Course
Ingredients for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
For the Roasted Sweet Potatoes
3 large sweet potatoes (about 2.5 lbs / 1.1 kg), peeled and cut into uniform 1/2-inch cubes
2 tablespoons extra virgin olive oil
1 teaspoon kosher salt
1/2 teaspoon freshly cracked black pepper
1/2 teaspoon smoked paprika
1/2 teaspoon garlic powder
For the Caramelized Onions
2 large yellow onions, peeled and thinly sliced
2 tablespoons unsalted butter
1 tablespoon extra virgin olive oil
1/2 teaspoon kosher salt
1 tablespoon aged balsamic vinegar
1 teaspoon fresh thyme leaves
For the Cheese and Custard Layer
1 1/2 cups whole milk ricotta cheese, drained of excess liquid
1 cup crumbled sheep’s milk feta cheese (about 6 oz)
1/2 cup finely grated Parmigiano-Reggiano cheese
1/2 cup grated Gruyère or sharp white Cheddar cheese
4 large eggs, room temperature
3/4 cup heavy cream (or half-and-half)
2 cloves garlic, finely minced
1 tablespoon fresh rosemary, finely minced
1 tablespoon fresh thyme leaves, finely minced
1/4 teaspoon ground nutmeg
1/2 teaspoon salt
1/4 teaspoon freshly ground black pepper
For Garnish
1 tablespoon fresh flat-leaf parsley or fresh thyme leaves, finely chopped
Equipment Needed for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
9×13-inch ceramic or glass baking dish
Large rimmed baking sheet
Parchment paper
Large skillet (preferably cast iron or heavy-bottomed stainless steel)
Mixing bowls
Whisk
Step-by-Step Instructions for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
Step 1: Roast the Sweet Potatoes
Preheat your oven to 400°F (200°C). Line a large rimmed baking sheet with parchment paper.
In a large bowl, toss the diced sweet potatoes with 2 tablespoons of olive oil, kosher salt, black pepper, smoked paprika, and garlic powder until evenly coated.
Spread the sweet potatoes across the prepared baking sheet in a single, uncrowded layer.
Roast for 25 to 30 minutes, tossing halfway through, until the cubes are fork-tender and lightly browned along the edges. Remove from the oven and reduce oven temperature to 375°F (190°C).
Step 2: Caramelize the Onions
Place a large skillet over medium-low heat and melt together the butter and olive oil.
Add the sliced onions along with 1/2 teaspoon of salt. Stir well to coat the onions in the fat.
Cook slowly for 25 to 30 minutes, stirring every few minutes. If the onions begin to stick or brown too quickly, lower the heat slightly and add a splash of water.
Once the onions have transformed into a deep caramel-brown color and become very soft, stir in the balsamic vinegar and fresh thyme leaves. Cook for another 2 minutes until the liquid reduces completely. Remove from heat and set aside to cool slightly.
Step 3: Prepare the Savory Custard & Cheese Blend
In a medium mixing bowl, whisk together the 4 whole eggs, heavy cream, minced garlic, finely minced rosemary, fresh thyme, ground nutmeg, salt, and black pepper until completely smooth.
In a separate smaller bowl, gently fold together the ricotta and 3/4 cup of the crumbled feta, leaving some pockets of feta visible for distinct salty bites throughout the casserole.
Step 4: Assemble the Casserole
Lightly grease a 9×13-inch baking dish with butter or olive oil.
Spread half of the roasted sweet potato cubes evenly across the bottom of the dish.
Scatter half of the caramelized onions over the sweet potato layer.
Dollop half of the ricotta and feta mixture across the vegetables using a spoon, gently spreading it out without flattening it completely.
Repeat the layers with the remaining sweet potatoes, remaining caramelized onions, and remaining ricotta mixture.
Slowly and evenly pour the seasoned egg and cream custard across the entire casserole, allowing it to seep into all the nooks and crannies.
Top the assembled casserole evenly with the grated Parmigiano-Reggiano, grated Gruyère, and the remaining 1/4 cup of crumbled feta cheese.
Step 5: Bake to Golden Perfection
Transfer the casserole to the middle rack of the oven preheated to 375°F (190°C).
Bake uncovered for 35 to 40 minutes, until the custard is set in the center and the cheese on top is bubbly, deeply browned, and aromatic.
If the top requires more browning, turn on the broiler for 1 to 2 minutes while monitoring closely to prevent scorching.
Remove the casserole from the oven and let it rest on a wire rack for at least 15 minutes before slicing. This resting period allows the savory custard to firm up, ensuring clean, intact squares when plated.
Garnish with chopped fresh parsley or thyme leaves before serving.
Chef’s Tips for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
Cut Uniform Cubes: Keep sweet potato pieces cut to roughly 1/2 inch so they roast evenly and layer neatly inside the baking dish without creating empty voids.
Patience with Caramelization: True caramelization requires patience on low to medium-low heat. Do not rush this step over high heat, as burnt onions introduce an acrid, bitter profile rather than deep sweetness.
Drain the Ricotta: If your ricotta contains excess whey, drain it through a fine-mesh strainer or cheesecloth for 15 minutes before mixing. Excessive moisture will dilute the custard and yield a soggy casserole.
The Rest Period is Crucial: Slicing into the casserole directly out of the oven can cause the custard to separate. Letting it rest allows the starches and eggs to settle into cohesive layers.
Recipe Notes for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
Variations & Add-Ins: Crispy chopped thick-cut bacon, cooked pancetta, or crumbled spicy Italian sausage can be layered with the sweet potatoes for meat lovers. For additional greens, fold sautéed baby spinach or baby kale into the warm caramelized onions.
Cheese Substitutes: If Gruyère is unavailable, Fontina, aged white Cheddar, or Swiss cheese provide a comparable melting texture and nutty depth. Goat cheese (chèvre) can also be used in place of feta for a creamier, tarter profile.
Storage: Store leftovers in an airtight container in the refrigerator for up to 4 days. Reheat covered slices in an oven or toaster oven at 325°F (165°C) until warmed through to maintain crust texture.
Nutritional Information for
Values are estimates calculated per serving (1 portion out of 8):
Calories: 345 kcal
Total Carbohydrates: 28 g
Dietary Fiber: 4.5 g
Sugars: 8 g
Protein: 13 g
Total Fat: 21 g
Saturated Fat: 11 g
Trans Fat: 0 g
Cholesterol: 145 mg
Sodium: 520 mg
Potassium: 510 mg
Vitamin A: 280% Daily Value
Vitamin C: 18% Daily Value
Calcium: 260 mg
Iron: 1.8 mg
Make Everyday Cooking Easier
Discover 60+ high-protein, low-carb recipes with simple instructions and everyday ingredients. Explore breakfasts, lunches, dinners, salads, and snacks—plus a 30-day meal plan to help you plan ahead.
Health & Nutritional Benefits for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
Beta-Carotene Rich: Sweet potatoes are one of nature’s highest sources of beta-carotene, an antioxidant precursor that converts into Vitamin A, promoting healthy vision, skin vitality, and immune function.
Dietary Fiber: The natural fiber in sweet potatoes and onions supports healthy gut digestion, fosters beneficial microbiome flora, and moderates blood sugar surges.
Wholesome Protein & Calcium: Incorporating whole eggs along with high-protein cheeses like ricotta, feta, and Parmigiano-Reggiano yields 13 grams of complete protein per portion along with bioavailable calcium to support bone and muscle maintenance.
Antioxidants & Flavonoids: Slow-caramelized onions release quercetin, a powerful anti-inflammatory plant flavonoid shown to support cardiovascular function and cellular health.
Frequently Asked Questions (Q&A) for Roasted Sweet Potato, Caramelized Onion, and Feta Casserole
Can I make this casserole ahead of time?
Yes. You can roast the sweet potatoes and caramelize the onions up to 2 days in advance, storing them refrigerated in airtight containers. Assemble the dish with the cheese, custard, and toppings just before baking, adding 5 to 8 extra minutes to the baking time if the ingredients are chilled from the fridge.
Can this dish be frozen?
Freezing is not recommended for this particular recipe. Egg custards and fresh cheeses such as ricotta tend to split, weep moisture, and turn grainy when thawed and reheated.
How do I prevent the casserole from turning watery?
Roasting the sweet potatoes ahead rather than boiling them drives off surface water and concentrates flavor. Furthermore, using whole milk ricotta (drained of excess whey) and cooking down the onions thoroughly prevents unwanted liquid build-up in the pan.
Can I make this dairy-free or vegan?
To prepare a dairy-free version, replace the ricotta and feta with firm dairy-free almond or cashew-based soft cheeses, substitute olive oil for the butter, and use unsweetened full-fat oat milk whisked with a commercial plant-based egg replacement.
Is this recipe gluten-free?
Yes. Naturally free of flour, breadcrumbs, or wheat-based thickeners, this dish is completely gluten-free when using certified gluten-free cheeses and seasonings.https://ketosl.com/pizza-grilled-cheese-sandwich/






