Baked Feta Pasta
Baked feta pasta went viral for a reason: it’s one of the most effortless dinners ever photographed, and it actually tastes as good as it looks. A block of feta and two pints of cherry tomatoes go into a baking dish with olive oil and 40 minutes later you have the base for a pasta sauce — the tomatoes have burst and caramelized, the feta has softened into something creamy and salty, and everything stirs together into a sauce that clings to pasta like it was designed to. It was, technically, by a Finnish food blogger in 2018. The world caught up in 2021 and grocery stores ran out of feta.
The recipe is simple enough that the quality of the ingredients matters more than it usually does. Good olive oil, ripe cherry tomatoes, and most importantly: a block of feta, not crumbled. That part is non-negotiable and it’s where a lot of versions fall short.
Block Feta Only — Here’s Why
Crumbled feta has anti-caking agents added to prevent the pieces from sticking together. Those agents — usually potato starch or cellulose — prevent the feta from melting smoothly into a sauce. Bake a cup of crumbled feta with cherry tomatoes and you get dry crumbles in a tomato sauce. Bake an 8-ounce block and it softens into something genuinely creamy — golden on top, meltingly soft underneath — that folds into the roasted tomatoes when you stir it.
Greek feta and French feta both work. Greek is tangier and more assertive. French is creamier and milder. Both are better than domestic crumbled feta from a bag.
The Shallot and Garlic Are Not Optional
The original viral recipe is tomatoes, feta, olive oil, done. That version is fine. Adding sliced shallots and smashed whole garlic cloves to the dish before it goes in the oven takes the same amount of time and produces a noticeably more complex sauce. The shallots caramelize alongside the tomatoes and add a sweet depth. The garlic cloves — smashed whole, not minced — roast gently over the full 40 minutes until they’re completely soft and sweet and fold into the sauce when you stir everything together.
Smashed whole cloves, specifically. Minced garlic at 400°F for 40 minutes burns and goes bitter. Whole cloves roast. Keep the pieces big.
Save the Pasta Water
The pasta water is the other thing that separates a properly made baked feta pasta from a mediocre one. The starchy water emulsifies with the olive oil in the tomato and feta sauce and creates a consistency that clings to the pasta properly. Without it, the sauce can be too thick and clumpy or too oily. Start with ¼ cup of pasta water stirred into the baking dish after the feta and tomatoes are combined, then add more until the sauce moves the way you want. You’re looking for it to coat the pasta without pooling at the bottom of the bowl.
Cook the pasta in heavily salted water. The pasta water only works if it’s properly salted — the salt is what gives the sauce its seasoning backbone when you use it to loosen the sauce.
What to Serve With It
This is a complete vegetarian dinner. Crusty bread for sauce scooping is the obvious addition. A simple green salad with lemon and olive oil fits the Mediterranean flavor profile. If you want to add protein, rotisserie chicken stirred in at the end is the easiest option. For other pasta dinners to rotate through the week, the Marry Me Pasta with Italian Sausage and Cowboy Butter Shrimp Pasta both run in completely different directions from this one.
Leftovers and Storage
Keeps for 3 days in the fridge. The pasta absorbs more sauce as it sits — add a splash of water or chicken broth when reheating. Reheat in a skillet over low heat or microwave in 90-second intervals, stirring between each. The sauce won’t be quite as vibrant on day 2 but it’s still very good.

Baked Feta Pasta
Ingredients
Produce
- 2 pints cherry tomatoes about 20 oz total
- 2 shallots halved and thinly sliced
- 5 garlic cloves smashed and peeled — not minced
- ¼ cup fresh basil roughly torn, for finishing
Dairy
- 8 oz block feta cheese one whole block — do not use crumbled
Pantry & Canned Goods
- 12 oz rigatoni pasta or penne, rotini, or any short pasta
- ⅓ cup olive oil good quality extra virgin
Seasonings & Spices
- ½ tsp kosher salt for the baking dish — plus pasta water salt
- ½ tsp black pepper
- ½ tsp crushed red pepper flakes optional but recommended
Instructions
- Preheat the oven to 400°F. Add the cherry tomatoes, sliced shallots, and smashed garlic cloves to a 9×13-inch baking dish. Drizzle with half the olive oil, season with the kosher salt, black pepper, and red pepper flakes if using. Toss to coat.
- Nestle the block of feta in the center of the tomato mixture. Drizzle the remaining olive oil over the feta block. Do not season the feta — it is already salty enough and additional salt will make the finished dish too salty once it melts into the sauce.
- Bake uncovered for 35 to 40 minutes, until the tomatoes have burst and are jammy, the shallots are soft and caramelized at the edges, and the feta is deeply golden on top and soft enough to easily crush with a fork. Do not underbake — the tomatoes need to fully collapse to form the sauce.
- While the feta bakes, cook the pasta in heavily salted boiling water according to package directions until al dente. Reserve 1 cup of pasta water before draining — this is important. Drain and set aside.
- Remove the baking dish from the oven. Use a fork to crush the feta block and burst any remaining whole tomatoes, stirring everything together into a rough, chunky sauce. The garlic cloves will be completely soft — smash them into the sauce as you stir.
- Add the drained pasta to the baking dish and toss to coat. Add pasta water a splash at a time — start with ¼ cup — and stir until the sauce reaches a consistency that clings to the pasta without being soupy. You may not need the full cup.
- Tear the fresh basil over the top and fold it in gently. Taste and adjust salt. Serve immediately directly from the baking dish.
