CIA-Trained Chef | Head Culinary Director at MidRecipes | 12+ Years Professional Experience
CIA-Trained Chef | Head Culinary Director at MidRecipes | 12+ Years Professional Experience
Baked feta pasta took the internet by storm in 2021 when Finnish food blogger Jenni Hayrinen shared her original uunifetapasta recipe — and within weeks, it had been recreated millions of times on TikTok. The reason it went viral is simple: it is shockingly easy, uses only a handful of ingredients, and delivers a flavor that is far greater than the sum of its parts. A block of feta cheese roasts alongside cherry tomatoes until everything becomes soft, jammy, and irresistible. Toss it with pasta and you have a creamy, tangy, restaurant-quality dish in under 40 minutes.
What makes this recipe truly brilliant is the technique. The feta melts in the oven and combines with the burst tomato juices to create a sauce that is naturally creamy — no heavy cream, no butter, no roux needed. The garlic softens and mellows, the olive oil brings richness, and fresh basil ties everything together. It is vegetarian, endlessly customizable, and works as a weeknight dinner or a dinner party showpiece.
Why You Will Love This Recipe
- Only 6 main ingredients — feta, tomatoes, olive oil, garlic, basil, pasta
- Viral for a reason — millions of people cannot be wrong
- Naturally creamy — no heavy cream or butter needed
- Vegetarian — satisfying enough to be a main course
- One pan + one pot — minimal cleanup
- Customizable — add chicken, shrimp, spinach, or sausage
Ingredients
- 1 block (8 oz) feta cheese (not crumbled — you need the whole block)
- 2 pints cherry or grape tomatoes (about 4 cups)
- 5 cloves garlic, smashed and peeled
- 1/3 cup extra-virgin olive oil
- 1 teaspoon dried oregano
- 1/2 teaspoon red pepper flakes
- Salt and black pepper to taste
- 10 oz pasta (rigatoni, penne, or orecchiette work best)
- Fresh basil leaves, torn
- Extra olive oil for finishing
Step-by-Step Instructions
- Preheat oven to 400°F (200°C). Use a large oven-safe baking dish or a 9×13 pan.
- Arrange the tomatoes: Scatter the cherry tomatoes across the baking dish. Nestle the garlic cloves among them. Drizzle the olive oil over everything and sprinkle with dried oregano, red pepper flakes, salt, and pepper. Toss gently to coat.
- Place the feta block in the center: Clear a small space in the middle of the tomatoes and place the entire block of feta there. Drizzle a little extra olive oil over the feta and sprinkle with a pinch of black pepper.
- Bake for 35-40 minutes: The tomatoes should be blistered, slightly charred, and bursting with juice. The feta will be soft, golden on top, and ready to crumble. If the top is not golden enough, switch to broil for the last 2-3 minutes — watch it carefully.
- Cook the pasta: While the feta and tomatoes bake, cook your pasta in salted water according to package directions until al dente. Reserve 1 cup of pasta water before draining.
- Combine everything: Remove the baking dish from the oven. Use a fork to smash the softened feta and stir it into the burst tomatoes, creating a creamy, chunky sauce. Add the drained pasta directly to the baking dish and toss to coat. Add pasta water a splash at a time if the sauce needs loosening.
- Finish and serve: Tear fresh basil leaves over the top, drizzle with extra olive oil, and serve immediately. Taste and adjust salt and pepper.
Pro Tips for the Best Baked Feta Pasta
- Use a full block of feta, not crumbled — the block melts into a cohesive sauce. Crumbled feta dries out and gets grainy in the oven.
- Get good quality feta — look for sheep’s milk feta (Greek or French) for the creamiest result. Cheaper cow’s milk feta can be rubbery.
- Save the pasta water — this starchy liquid is your secret weapon for making the sauce silky. Add a splash at a time.
- Do not overcook the pasta — cook it 1 minute less than the package says. It finishes cooking when tossed with the hot sauce.
- Rigatoni or orecchiette are ideal — the sauce pools inside the tubes and cups. Spaghetti works but the sauce does not cling as well.
- The broil trick — 2-3 minutes under the broiler at the end gives the feta beautiful golden spots and the tomatoes a slight char.
Variations and Substitutions
Add protein: Toss in grilled chicken, sauteed shrimp, or crumbled Italian sausage after baking.
Add greens: Fold in baby spinach, kale, or arugula when you toss the hot pasta — the greens wilt perfectly.
Mediterranean version: Add Kalamata olives, sun-dried tomatoes, and artichoke hearts to the baking dish.
Spicy version: Double the red pepper flakes and add a drizzle of hot honey on top when serving.
Goat cheese swap: Replace the feta with a log of soft goat cheese for a milder, tangier flavor.
Nutrition Information
Per serving (serves 4):
| Calories | 520 |
| Protein | 18g |
| Fat | 24g |
| Carbohydrates | 58g |
| Fiber | 4g |
| Sodium | 680mg |
Use our Recipe Converter to scale this recipe for more or fewer servings, or our Nutrition Calculator for exact macro counts.
Frequently Asked Questions
Can I use a different type of cheese?
Feta is really what makes this dish special — its tangy, salty flavor creates the perfect sauce when melted. Goat cheese is the closest substitute and works well. Halloumi will not melt enough. Ricotta works but gives a very different, milder result. Cream cheese is too heavy. Stick with feta for the best experience.
Why did my feta not melt properly?
Two common reasons: (1) You used pre-crumbled feta, which has anti-caking agents that prevent smooth melting. Always use a solid block. (2) You did not bake long enough — the feta needs a full 35-40 minutes at 400°F to become soft and spreadable throughout.
Can I make this ahead of time?
You can bake the feta and tomatoes ahead and refrigerate the sauce for up to 3 days. When ready to serve, cook fresh pasta and reheat the sauce gently on the stove. Do not pre-combine the sauce and pasta — the pasta absorbs all the moisture as it sits.
What can I serve with baked feta pasta?
A simple green salad with lemon vinaigrette is perfect alongside. Garlic bread or crusty Italian bread for soaking up the sauce is also excellent. For a lighter meal, serve a smaller portion with roasted vegetables.
Is this recipe gluten-free?
The sauce itself is naturally gluten-free. Simply use your favorite gluten-free pasta (chickpea pasta or brown rice pasta work well) and the dish is completely gluten-free.
References & Sources
This recipe’s nutrition information is calculated using data from the USDA FoodData Central database. Food safety guidelines follow FDA Safe Food Handling recommendations. According to USDA FoodData Central, a 1 oz (28g) serving of feta cheese provides approximately 6g protein, 4g fat, and is a notable source of calcium (14% DV) — making it a nutrient-dense ingredient for this dish.
- USDA FoodData Central — Feta Cheese — Nutritional profile: protein, fat, calcium, and micronutrients
- USDA FoodData Central — Nutritional composition data for all ingredients
- FDA Food Safety Guidelines — Safe cooking temperatures and food handling
- CDC Food Safety — Safe minimum internal temperatures for proteins
Free Kitchen Tools on MidRecipes
Save This Recipe in the MidRecipes App
Access 12,000+ recipes, build meal plans, create shopping lists, and track nutrition — all in one place.
Found a recipe you love? Save it to your personal collection in the MidRecipes app, add ingredients to your shopping list with one tap, and plan your meals for the entire week.
Download Free on App Store