Baked Feta Pasta Recipe (TikTok Viral)

Updated November 25, 2026

Total time
45 min
prep 10 min · cook 35 min
Serves
4
portions as written

Jump to recipe

Baked feta pasta is the dish that broke the internet in 2021, and for good reason: a block of feta cheese is baked until golden and creamy, then tossed with blistered tomatoes, garlic, and pasta to create a luscious, tangy sauce with almost no effort. It’s a one-pan wonder that works because the feta melts into a silky emulsion with the tomato juices, coating every noodle in rich, savory flavor. This recipe is simple, forgiving, and perfect for busy weeknights.

Ingredients

  • 2 pints (600 g) cherry or grape tomatoes
  • 1 block (8 oz / 225 g) feta cheese (in brine, not crumbled)
  • 4 cloves garlic, smashed or thinly sliced
  • 1/4 cup (60 ml) olive oil, plus more for serving
  • 1/2 teaspoon red pepper flakes (optional)
  • 1/2 teaspoon dried oregano (optional)
  • 1/4 teaspoon salt, plus more for pasta water
  • 1/2 teaspoon black pepper
  • 12 oz (340 g) pasta (penne, rigatoni, or spaghetti)
  • 1/4 cup (10 g) fresh basil leaves, roughly chopped

Instructions

  1. Preheat your oven to 400°F (200°C).
  2. In a 9×13-inch (or similar) baking dish, combine the cherry tomatoes, garlic, olive oil, red pepper flakes (if using), oregano (if using), salt, and black pepper. Toss to coat everything evenly.
  3. Place the block of feta in the center of the dish, nestling it among the tomatoes. Drizzle a little extra olive oil over the top of the feta.
  4. Bake for 30–35 minutes, until the tomatoes have burst and released their juices, and the feta is soft and lightly golden on top. The feta won’t be fully melted yet—that’s fine.
  5. While the feta bakes, bring a large pot of salted water to a boil. Cook the pasta according to package directions until al dente (usually 8–10 minutes). Reserve 1 cup (240 ml) of pasta water before draining.
  6. Once the feta and tomatoes are done, remove the dish from the oven. Add the hot, drained pasta directly to the baking dish. Use a fork or spoon to mash the feta and tomatoes together, mixing everything into a creamy sauce. If it seems too thick, add splashes of the reserved pasta water until you reach your desired consistency.
  7. Stir in the fresh basil, then taste and adjust seasoning with salt or pepper if needed.
  8. Serve immediately, with an extra drizzle of olive oil and more basil if you like.

Tips

  • Use feta in brine, not pre-crumbled. The block feta melts smoothly and creates a creamier sauce. Pre-crumbled feta contains anti-caking agents that prevent it from melting properly.
  • Don’t skip the pasta water. The starchy water helps bind the sauce and gives it that glossy, restaurant-quality texture. Add it gradually, a few tablespoons at a time.
  • Adjust the spice level. If you’re sensitive to heat, skip the red pepper flakes or use just a pinch. For extra kick, add a teaspoon of chili crisp or a chopped fresh chili with the tomatoes.
  • Make it ahead. You can prep the tomatoes, garlic, and seasonings in the baking dish up to a day in advance (keep the feta on top, covered, in the fridge). Then just bake when ready.

Serving Suggestions

This baked feta pasta is a complete meal on its own, but it pairs beautifully with a simple green salad dressed in lemon vinaigrette or a side of garlic bread for soaking up any extra sauce. For extra protein, top with grilled chicken, shrimp, or crispy chickpeas. It’s also great with a sprinkle of toasted pine nuts or walnuts for crunch.

Variations

  • Add spinach or kale. Stir in a few handfuls of fresh spinach or chopped kale along with the pasta at the end—the heat will wilt it perfectly.
  • Use different cheeses. Try a block of cream cheese (for extra creaminess) or a dairy-free feta alternative to make it plant-based. Goat cheese also works, though it has a tangier flavor.
  • Swap the tomatoes. If cherry tomatoes are out of season, use one 28-oz (800 g) can of whole peeled tomatoes, drained and roughly chopped. Reduce the bake time by 5 minutes since canned tomatoes are softer.
  • Add herbs and aromatics. Fresh thyme, rosemary, or a pinch of smoked paprika can be added to the tomatoes before baking for a different flavor profile.

Storage and Reheating

Leftovers can be stored in an airtight container in the refrigerator for up to 4 days. To reheat, place a portion in a skillet over medium-low heat with a splash of water or olive oil, stirring until warmed through (about 5 minutes). You can also microwave individual portions for 1–2 minutes, but the sauce may become slightly oily. The pasta will absorb some sauce as it sits, so add a little liquid when reheating to revive the creaminess.

Frequently Asked Questions

Can I use a different type of pasta? Absolutely. This sauce works with any shape—short tubes, long strands, even gnocchi or orzo. Just adjust the cooking time to the package instructions.

Is it okay to use reduced-fat feta? Yes, but the sauce will be less creamy and may not melt as smoothly. Full-fat feta gives the best texture.

Can I make this without an oven? You can make a stovetop version: sauté the tomatoes and garlic in a large skillet over medium heat for 10 minutes, then add the feta and cook until melted, stirring constantly. It won’t have the blistered, concentrated flavor, but it’s still delicious.

What if I don’t like spicy food? Simply omit the red pepper flakes entirely. The dish will still be full of flavor from the tomatoes, garlic, and feta.

Can I freeze baked feta pasta? The sauce freezes well, but the pasta will become mushy when thawed. If you want to freeze, make the sauce (without pasta), cool, and freeze for up to 3 months. Thaw overnight in the fridge, then reheat and toss with freshly cooked pasta.

Why did my sauce turn out grainy? This can happen if the feta is overheated or if you use a low-quality feta. Bake at 400°F (200°C) as directed, and don’t leave it in the oven longer than 35 minutes. Also, make sure to use feta in brine, not the crumbled kind.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).