Baked Feta and Tomato Pasta Recipe

Updated November 25, 2026

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

Jump to recipe

This baked feta and tomato pasta is a one-pan wonder where a block of feta cheese roasts with cherry tomatoes until creamy and jammy, then gets tossed with hot pasta for a rich, tangy sauce. It became a viral sensation for good reason: the oven does most of the work, and the result tastes far more complex than the short ingredient list suggests. The key is using a good-quality feta that melts into a luscious sauce, and letting the tomatoes burst to create a naturally sweet, savory coating for every noodle.

Ingredients

  • 1 (8 oz / 225 g) block feta cheese (see Tips)
  • 2 pints (about 4 cups / 600 g) cherry or grape tomatoes
  • 1/2 cup (120 ml) extra-virgin olive oil, divided
  • 1/4 teaspoon red pepper flakes (optional, for heat)
  • 3 cloves garlic, thinly sliced
  • 12 oz (340 g) pasta (penne, fusilli, or spaghetti all work)
  • 1/2 cup (20 g) fresh basil leaves, roughly torn
  • 1/4 teaspoon black pepper
  • 1/2 teaspoon salt, plus more for pasta water

Instructions

  1. Preheat your oven to 400°F (200°C).
  2. In a 9×13-inch baking dish, combine the cherry tomatoes, half of the olive oil (about 1/4 cup / 60 ml), the sliced garlic, red pepper flakes (if using), salt, and black pepper. Toss to coat everything evenly.
  3. Place the block of feta in the center of the tomato mixture. Drizzle the remaining olive oil over the feta, turning it to coat both sides.
  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. While the feta bakes, bring a large pot of salted water to a boil.
  5. When the feta is nearly done, cook the pasta according to package instructions until al dente. Reserve about 1 cup (240 ml) of pasta water before draining.
  6. Remove the baking dish from the oven. Add the hot drained pasta directly to the dish with the feta and tomatoes. Use a wooden spoon or tongs to toss everything together, mashing the feta and tomatoes into a creamy sauce. Add splashes of reserved pasta water as needed to loosen the sauce to your liking.
  7. Stir in the fresh basil and serve immediately.

Tips

  • Choose the right feta: Use a block of feta sold in brine, not pre-crumbled (which often contains anti-caking agents and won’t melt as smoothly). For a creamier sauce, try a sheep’s milk feta; for a firmer, saltier result, use cow’s milk feta.
  • Don’t skip the pasta water: The starchy water is what turns the melted feta and tomato juices into a silky, clinging sauce. Add it a little at a time until the sauce reaches the consistency you like.
  • Make it a one-dish meal: Add a protein like cooked chicken, shrimp, or white beans in step 6 along with the pasta to make it heartier.
  • Watch the salt: Feta is naturally salty, and tomatoes can vary in sweetness. Taste before adding extra salt, and remember that the pasta water is also salted.

Serving Suggestions

Serve this pasta as a main dish with a crisp green salad dressed in lemon vinaigrette, or alongside garlic bread to soak up any extra sauce. For a more substantial meal, top with grilled chicken or sautéed shrimp. A sprinkle of extra feta or a drizzle of balsamic glaze before serving adds a nice finishing touch.

Variations

  • Add vegetables: Toss in zucchini, bell peppers, or mushrooms with the tomatoes in step 2. They’ll roast alongside and add extra texture.
  • Swap the cheese: Use a block of cream cheese or goat cheese instead of feta for a milder, creamier sauce. Adjust salt accordingly.
  • Go herbaceous: Swap basil for fresh oregano, thyme, or a mix of your favorite herbs.
  • Make it spicy: Increase the red pepper flakes or add a chopped fresh chili in step 2.
  • Use different pasta: This sauce works with any shape—try rigatoni, farfalle, or even orzo for a more stew-like consistency.

Storage and Reheating

Store leftovers in an airtight container in the refrigerator for up to 3–4 days. To reheat, place in a saucepan over medium-low heat with a splash of water or olive oil, stirring occasionally, until warmed through. You can also microwave individual portions in 30-second bursts, stirring in between. The sauce will thicken as it sits; add a little water or milk when reheating to restore the creamy texture.

Frequently Asked Questions

Can I use crumbled feta instead of a block?
Pre-crumbled feta often contains anti-caking agents that prevent it from melting into a smooth sauce. For best results, use a block of feta in brine. If you only have crumbled, reduce the baking time and stir it into the tomatoes after they’ve roasted.

What if I don’t have cherry tomatoes?
You can substitute larger tomatoes, such as Roma or vine-ripened, cut into chunks. They’ll take slightly longer to break down, so add 5–10 minutes to the baking time.

Can I make this ahead of time?
You can roast the feta and tomatoes up to 2 days ahead and refrigerate. When ready to serve, reheat the mixture in a skillet or microwave, then toss with freshly cooked pasta and basil.

Is this recipe gluten-free?
Yes, if you use a gluten-free pasta. The rest of the ingredients are naturally gluten-free.

Why is my sauce grainy?
This can happen if the feta doesn’t melt fully or if the pasta water is added too quickly. Make sure the feta is fully softened before tossing, and add the pasta water gradually while stirring vigorously.

Can I use a different type of cheese?
Yes, you can substitute a block of cream cheese, goat cheese, or even a dairy-free feta alternative. Adjust the salt in the recipe, as these cheeses vary in saltiness.

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).