Skip to main content

Baked Feta Mac and Cheese with Spinach and Tomatoes

| ~6 min read | Mac and Cheese

Sections
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

Baked feta mac and cheese with spinach and cherry tomatoes takes the viral baked feta pasta idea and turns it into a creamy, cheesy casserole. Blocks of feta roast with cherry tomatoes and garlic until the tomatoes burst and the cheese softens, then everything gets mashed into a tangy sauce and folded through al dente pasta with wilted spinach and a sharp cheddar. It works because feta brings salt and acidity that cuts through the richness of the cheddar, while the roasted tomatoes add sweetness and moisture so you need less heavy cream. The result is a baked mac and cheese that tastes bright rather than heavy, with a crisp breadcrumb top and pockets of soft tomato throughout.

Ingredients

  • 12 oz (340 g) short pasta such as rigatoni, penne, or cavatappi
  • 2 blocks (8 oz / 225 g each) feta cheese in brine, drained and left whole
  • 12 oz (340 g) cherry or grape tomatoes
  • 4 garlic cloves, peeled and smashed
  • 3 tbsp olive oil
  • 1/2 tsp red pepper flakes (optional)
  • 1/2 tsp freshly ground black pepper
  • 5 oz (140 g) baby spinach, roughly chopped if leaves are large
  • 6 oz (170 g) sharp cheddar, grated (about 1 1/2 cups)
  • 2 oz (55 g) Parmesan, finely grated (about 1/2 cup), divided
  • 1/2 cup (120 ml) whole milk, warmed
  • 2 tbsp unsalted butter
  • 1/2 cup (30 g) panko breadcrumbs
  • 1 tbsp chopped fresh basil or parsley, to finish
  • Salt for the pasta water

Instructions

  1. Heat the oven to 400°F (200°C). Bring a large pot of water to a boil and salt it generously, about 1 tablespoon per 4 quarts (4 L) of water.
  2. In a 9x13-inch (23x33 cm) baking dish, place the two feta blocks in the center. Scatter the cherry tomatoes and smashed garlic around them. Drizzle with the olive oil, then sprinkle with the red pepper flakes and black pepper. Toss the tomatoes gently to coat.
  3. Roast for 30 to 35 minutes, until the tomatoes have burst and released their juices and the feta is soft and lightly golden at the edges. Remove from the oven and leave it on.
  4. While the feta roasts, cook the pasta in the salted water until 1 minute short of the package's al dente time. Before draining, scoop out and reserve 1 cup (240 ml) of the starchy pasta water. Drain the pasta and set aside.
  5. Mash the roasted feta, tomatoes, and garlic together in the baking dish with a fork until you have a rough, creamy sauce. Stir in the warm milk and butter until smooth. If it looks thick, add reserved pasta water a splash at a time.
  6. Add the drained pasta, grated cheddar, half the Parmesan, and the spinach. Toss well so the spinach wilts into the hot sauce. If the mixture seems dry, add pasta water 2 tablespoons at a time; it should be saucy, not stiff.
  7. In a small bowl, toss the panko with the remaining Parmesan and a drizzle of olive oil. Scatter evenly over the top of the pasta.
  8. Return the dish to the oven and bake for 15 to 20 minutes, until the topping is golden and the sauce bubbles at the edges. If the top needs more color, broil for 1 to 2 minutes, watching closely.
  9. Let the dish rest for 5 to 10 minutes before serving, then scatter with basil or parsley. The internal temperature of a baked pasta casserole should reach 165°F (74°C) when reheated or checked for doneness.

Tips

  • Do not oversalt the sauce. Feta is already salty, so taste the mashed feta mixture before adding any salt. The pasta water is the main source of seasoning here.
  • Undercook the pasta slightly. Pulling it 1 minute before al dente keeps it from turning mushy during the bake, especially if you plan to reheat leftovers.
  • Grate your own cheddar. Pre-shredded cheese is coated with anti-caking starch that can make the sauce grainy. A block grated on the large holes of a box grater melts far better.
  • Watch the broiler. Panko goes from golden to burnt in under a minute. Stay at the oven door if you switch to broil.

Serving Suggestions

This dish is rich enough to stand alone, but a simple green salad with a lemony vinaigrette balances the cheese nicely. A side of garlic bread or a crusty loaf is good for mopping up the tomato-flecked sauce. If you want to add protein, serve it alongside grilled chicken or a piece of roasted salmon rather than stirring meat into the casserole, which can make the bake heavier. A crisp dry white wine or sparkling water with lemon works well for adults; the recipe itself contains no alcohol.

Variations

  • Different greens: Swap the spinach for chopped kale. Massage it with a little olive oil and add it to the pasta a minute earlier so it softens.
  • Other cheeses: Replace half the cheddar with Gruyère or fontina for a nuttier melt. Keep the Parmesan for the topping.
  • Spicier version: Increase the red pepper flakes to 1 teaspoon and add a pinch of smoked paprika to the breadcrumbs.
  • Tomato swap: Halved grape tomatoes work the same as cherry tomatoes. Avoid large diced tomatoes, which release too much liquid.
  • Make it meaty: Brown 8 oz (225 g) of Italian sausage or ground beef (cooked to 160°F / 71°C) and fold it in with the pasta.

Storage and Reheating

Cool leftovers within 2 hours of baking (1 hour if the room is above 90°F / 32°C) and refrigerate in an airtight container at 40°F (4°C) or below. It keeps for 3 to 4 days. To reheat, cover with foil and bake at 350°F (175°C) for 20 to 25 minutes, or microwave single portions for 2 to 3 minutes, stirring halfway. Add a splash of milk or water before reheating to loosen the sauce. Reheated leftovers, like all casseroles, should reach 165°F (74°C). To freeze, portion into freezer-safe containers and freeze at 0°F (-18°C) for up to 3 months; thaw overnight in the fridge, never on the counter, then reheat as above. The breadcrumb topping will soften after freezing, so add fresh crumbs when reheating if you want crunch.

Frequently Asked Questions

Can I use crumbled feta instead of blocks?

Yes, but blocks in brine roast better because they hold their shape and stay creamy. Crumbled feta dries out faster, so reduce the roasting time to about 20 minutes and check that the tomatoes have burst before mashing.

Why is my baked mac and cheese dry?

The usual culprits are too little sauce, overbaking, or skipping the reserved pasta water. The mixture should look slightly wet before it goes into the oven, because the pasta absorbs liquid as it bakes. Add pasta water or a little extra milk when combining.

Can I assemble it ahead of time?

You can assemble the casserole up to 24 hours ahead, cover, and refrigerate. Add 5 to 10 minutes to the baking time since it starts cold, and keep the breadcrumb topping separate until just before baking so it stays crisp.

Is the feta safe to eat after roasting?

Yes. Feta is a brined cheese, and roasting it at 400°F (200°C) for 30 minutes heats it thoroughly. As with any baked casserole, check that the finished dish reaches 165°F (74°C) if you want to be certain.

Can I make this gluten-free?

Use a gluten-free short pasta and gluten-free panko. Cook the pasta to the package's al dente time, since gluten-free pasta can fall apart if undercooked and then baked.

Do I have to use spinach?

No. Any tender green works, but avoid very wet vegetables like zucchini without salting and draining them first, as they will water down the sauce.

Similar articles