This post contains affiliate links.

My dirty martini spaghetti is briny, lemony, and deeply savory, with baked feta and Castelvetrano olives melted into a flavorful sauce that coats every strand. It’s a dump and bake pasta that comes together in about 40 minutes and tastes like something you’d order at a restaurant.

A plate of spaghetti topped with white beans, crumbled cheese, green olives, and herbs. A fork and spoon rest on the side. A bowl of green olives is in the background.
Most baked feta pastas stop at the feta and tomatoes. This one goes somewhere more interesting.
save this recipe!
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

The dirty martini concept isn’t just a clever name. Castelvetrano olives are buttery and mild rather than sharp and salty, which means they blend into the baked feta sauce in the same way olive brine softens and rounds out a cocktail.

The lemon goes in halved, roasting alongside everything else until it’s caramelized and concentrated, then gets squeezed directly into the sauce at the end. That step is the one that makes people ask what’s in it!

A plate of spaghetti topped with white beans and crumbled cheese, with black pepper, olives, and herbs visible nearby. Two forks are placed on the plate.

Key ingredients

  • Feta cheese: The block form is essential here, not crumbled. A block holds its shape during baking and then breaks down into a creamy, spreadable base when mashed. Pre-crumbled feta has added anti-caking agents that prevent it from melting smoothly.
  • Castelvetrano olives: The variety matters. Their buttery, mild flavor is what makes this sauce work. Pitted Castelvetrano olives are available at most grocery stores, often in the olive bar or jarred in the condiment aisle.
  • Lemon: The roasted juice has a depth and sweetness that raw lemon juice doesn’t.
  • Fresh rosemary: Dried rosemary works but is noticeably less aromatic in a dish where the herb does real work.
  • White beans: Drained and stirred in at the end, they add creaminess, protein, and a neutral base that stretches the dish without diluting the sauce. Navy, cannellini, or butter beans all work.

Best Pasta

Long pasta is your best bet. Linguine and bucatini both work almost identically to spaghetti, with the sauce wrapping around each strand evenly. Short tubes like penne and rigatoni work too but the sauce pools inside rather than coating evenly. Avoid anything very small or delicate — orzo gets lost in the chunky sauce and angel hair turns mushy when stirred in.

Top-down view of ingredients for Dirty Martini Spaghetti on a surface—feta, rosemary, garlic, olives, olive oil, lemon, spaghetti, and white beans—all labeled with text. Perfect for a Dump and Bake Martini Pasta night!.

Pair it with…

This pasta is rich and briny enough to carry a meal on its own, but it pairs well with something fresh and simple alongside. A vegetarian Caesar salad or tomato burrata salad both work well as a starter. For a full spread, add a side of Mediterranean roasted vegetables!

Dirty Martini Spaghetti (Dump & Bake)

Prep: 15 minutes
Cook: 30 minutes
Total: 45 minutes
Servings: 6 servings
This dirty martini spaghetti is briny, lemony and deeply savory with baked feta and Castelvetrano olives melted into a sauce that coats every strand. Dump and bake in 40 minutes!

Ingredients 

  • 1 8-oz block feta cheese
  • 12 pitted Castelvetrano olives
  • 1 lemon, halved
  • 1 Tbsp fresh rosemary, finely chopped
  • 3 cloves garlic, skins removed*
  • 4 Tbsp olive oil
  • 8 oz spaghetti
  • ½ cup pasta water, reserved from cooking the spaghetti
  • 1 15-oz can white beans, such as navy, cannellini, or butter beans, drained
  • To serve: fresh cracked black pepper
Save this recipe!
Enter your email & we’ll send it straight to your inbox. Plus you’ll get great new recipes from us every week!

Instructions 

  • Preheat oven to 400° (204°C).
  • Dump: To a large casserole dish, add 1 8-oz block feta cheese, 12 pitted Castelvetrano olives (pitted and halved), 1 lemon (halved), 1 Tbsp fresh rosemary (finely chopped), and 3 cloves garlic (skins removed). Drizzle 4 Tbsp olive oil evenly over everything.
    A baking dish with feta cheese, olive oil, green olives, garlic cloves, chopped herbs, and halved lemons arranged inside.
  • Bake: Cover the dish tightly with aluminum foil. Bake for 30 minutes, or until feta is soft.
    A baking dish with feta cheese, green olives, lemon halves, garlic cloves, herbs, and olive oil, with a fork resting in the dish.
  • Spaghetti: While everything bakes, cook 8 oz spaghetti according to package instructions until al dente (it should be mostly tender with a little firmness when you bite into it).
    When finished cooking spaghetti, reserve ½ cup pasta water that the spaghetti cooked in.
    Cooked spaghetti draining in a metal strainer over a glass bowl on a gray textured surface.
  • Stir: Remove casserole dish from the oven and use a fork to mash the garlic until smooth and mash feta and olives into chunks. Remove the lemon halves and juice one of the halves into the dish.
    Stir in reserved pasta water to create a loose sauce, then stir in cooked spaghetti and 1 15-oz can white beans (drained).
    A baking dish with crumbled tofu or cheese mixed with herbs and oil, a metal citrus juicer, and a fork resting inside.
  • Serve warm, topped with fresh cracked black pepper and drizzled with remaining lemon juice (from remaining lemon half) if desired.
    Baked spaghetti mixed with white beans, crumbled feta cheese, and herbs in a white ceramic dish with a serving fork.

Notes

*For the garlic lovers, I sometimes like to roast a whole bulb. Just trim off the top so the inside of each clove is exposed, drizzle olive oil into the cloves, then wrap in foil. Roast with everything else (but it may need a little longer!) until the cloves are caramelized and golden brown. Squeeze 4 to 5 cloves into the pasta sauce.
Store in an airtight container in the fridge for up to four days. The sauce thickens as it sits and absorbs into the pasta overnight. Reheat gently on the stovetop over low heat with a splash of water or olive oil to loosen, or in the microwave in 60-second intervals stirring in between. Not ideal for freezing, as the feta-based sauce can separate and the pasta texture suffers after thawing.
did you make this?Leave a comment below and tag @liveeatlearn on social media! I love seeing what you’ve made!
Eat vegetarian cookbook.

Let's eat more plants!

Packed with over 100 reader-favorite vegetarian recipes, my cookbook is your go-to guide for easy, healthy meals that make plant-based eating a breeze.

You May Also Like

Leave a comment

Question? Ask your question here! Sarah personally answers comments every weekday.

Rate this Recipe: