Lemon Ricotta Pasta with Zucchini and Basil
Whole wheat spaghetti tossed with browned zucchini, soft ricotta loosened with starchy pasta water, and a great deal of lemon, garlic, and torn basil.
Why You'll Love This Recipe
The pot of water is already on and nobody in the house has decided what they want. That is the moment this is for. It is on the table in about twenty five minutes, most of that spent waiting for pasta, and it uses the two zucchini that have been sitting in the drawer since the weekend. Late summer is when I make it most, when zucchini is cheap and basil is going to flower if I do not use it, but it works in February with a lemon that came a long way. What makes it worth writing down is that the sauce is not cooked at all. It happens in the bowl.
The zucchini is the part people get wrong. Cut into half-moons and dropped into a crowded pan, it steams and goes gray and watery, and then the whole dish tastes washed out. Give it a wide skillet, a real film of oil, and four minutes without touching it, and the cut faces brown and the middles stay firm. Meanwhile the ricotta sits in the serving bowl with the lemon zest, the pepper, and a couple of ladles of the cloudy pasta water beaten into it, which loosens the curd into something pourable. Hot spaghetti goes in on top and finishes the sauce with its own heat.
What you get is creamy without being heavy, and sharp enough at the edges that you keep going back for another forkful. The lemon does most of that work, and the last of the basil torn over the top at the table does the rest. It reheats better than a cream sauce has any right to, which makes it a good Sunday-night cook for a Monday lunch. I serve it in shallow bowls with a little more pepper, and it feeds four people who came to the table hungry.
Ingredients
- 8 oz dry whole wheat spaghetti (about 4 cups cooked)
- 2 medium zucchini (about 1 lb), halved lengthwise and sliced into 1/4-inch half-moons
- 1 cup part-skim ricotta, at room temperature
- 4 cloves garlic, thinly sliced
- 2 tbsp olive oil
- 2 tbsp lemon juice, plus the grated zest of 1 lemon
- 1 packed cup fresh basil leaves, torn
- 3/4 tsp coarsely ground black pepper
- 1/4 tsp fine sea salt
Instructions
- Get the water going and prep while it heats: Bring a large pot of water to a rolling boil. While it comes up, halve the zucchini lengthwise and slice it into quarter-inch half-moons, slice the garlic thin, zest and juice the lemon, and tear the basil. Everything in this recipe moves fast once the pasta is in, so have it all on the board.
- Loosen the ricotta: In the wide serving bowl you plan to toss in, stir together the ricotta, the lemon zest, the black pepper, and the salt. It will look thick and grainy at this stage, which is correct. Set the bowl near the stove where you can reach it.
- Boil the pasta: Add the spaghetti to the boiling water and cook it two minutes short of the package time, until it still has a firm core. Before you drain it, dip a mug into the pot and save at least a cup and a half of the cloudy water. That starch is what turns ricotta into sauce.
- Brown the zucchini: While the pasta cooks, heat the olive oil in a 12-inch skillet over medium-high until it shimmers. Add the zucchini in one layer and leave it alone for four minutes, until the undersides are deep gold. Toss once, cook two minutes more, then add the garlic and cook 30 seconds, just until it smells sweet and has not colored.
- Build the sauce in the bowl: Beat half a cup of the hot pasta water into the ricotta a splash at a time until it pours off the spoon like heavy cream. Drain the spaghetti and add it straight to the bowl, still dripping, then toss hard with tongs for a full minute. Add more pasta water a few tablespoons at a time until every strand is coated and glossy.
- Finish with zucchini, lemon, and basil: Tip the zucchini and all the garlicky oil from the skillet into the bowl, add the lemon juice, and toss twice. Fold through most of the basil, taste, and add more lemon if it is not singing. Scatter the rest of the basil over the top and serve right away, while the sauce is still loose.
Variations
- Charred lemon: Halve a lemon and press the cut faces into the dry skillet for two minutes before you add the oil, then squeeze that in at the end for a rounder, slightly smoky acidity.
- Green peas: Throw a cup of green peas into the pasta water for the last minute of boiling and drain them with the spaghetti.
- Mint instead of basil: Swap in torn fresh mint, which pushes the bowl cooler and sharper and suits a hot evening.
- Chile and garlic oil: Warm a pinch of cayenne with the garlic for the last thirty seconds so the oil goes red before it hits the bowl.
- Toasted sesame crunch: Toast two tablespoons of sesame seeds in the dry skillet before the oil goes in and scatter them over each bowl for a nutty, crunchy finish.
Storage & Leftovers
Leftovers keep three days in a sealed container in the refrigerator. The sauce tightens up overnight as the pasta drinks it, so it will look drier and stiffer in the morning than it did in the bowl. That is normal and it comes back with a splash of water.
Reheat it in a skillet over medium with two or three tablespoons of water, tossing constantly for two minutes until the ricotta loosens and coats the strands again. A microwave works if you cover the bowl and stir it halfway, but the sauce breaks more easily and the zucchini goes soft.
I would not freeze this one. Ricotta separates when it thaws and the zucchini turns to water, so you end up with a grainy sauce and limp vegetables. It is a dish that rewards being made in the twenty five minutes it takes, and the leftovers are good enough that freezing is not worth it.
Notes & Tips
- Save more pasta water than you think: A cup and a half looks absurd and you will use most of it. The sauce keeps drinking as it sits, and water is the only thing that brings it back without dulling the lemon.
- Let the ricotta come to room temperature: Cold curd meets hot pasta and tightens instead of melting. Ten minutes on the counter while the water heats is enough.
- Do not crowd the zucchini: A pound of half-moons needs a 12-inch skillet. In a smaller pan they stack, steam, and go gray, and no amount of lemon fixes waterlogged zucchini.
- Pull the pasta early: Two minutes short of the package time. It finishes cooking in the bowl while you toss, and pasta that was already soft turns to mush in the sauce.
- Zest before you juice: A juiced lemon half is nearly impossible to zest. Take the zest off first, then cut and squeeze.
- Toss longer than feels necessary: A full minute of hard tossing is what emulsifies the starch, the fat, and the cheese into one glossy coating. Thirty seconds gives you pasta with cheese sitting on it.
Nutrition & Mindful Eating
- The ricotta, the zucchini, and the whole wheat spaghetti each carry a different part of this bowl. The cheese makes the sauce and brings the calcium, the zucchini keeps everything fresh and green, and the strands underneath give the dish its chew and most of its fiber.
- Ricotta is the soft curd left from cheesemaking, which is why it melts into a coating rather than pulling into strings, and why it carries calcium and protein in a form that spreads through a whole bowl instead of sitting in one corner of the plate.
- Zucchini is mostly water, and browning is how you concentrate what is left. Four still minutes in a hot pan turns the cut faces sweet and nutty and keeps the vitamin C and potassium inside the vegetable rather than in the pan.
- Whole wheat pasta keeps the bran and the germ, so the strands stay toothy through the tossing and bring fiber that a bowl this creamy would otherwise be short on. Pulling it early is what keeps that texture.
- Lemon zest, torn basil, and coarse black pepper are the three things you taste last. The zest carries the oils that the juice alone cannot, the basil goes soft and perfumed against the heat, and the pepper keeps a creamy bowl on the savory side.
- As you eat, notice how the lemon lands a half second after the cream does, and let the first few forkfuls be slow ones so you can tell when the bowl has been enough.
Frequently Asked Questions
Can I use another cheese?
Cottage cheese blended smooth is the closest match and behaves the same way with pasta water. Whole milk ricotta makes a richer, softer sauce. What will not work is a hard grating cheese on its own, since it seizes into strings rather than loosening into a coating.
My sauce went grainy. What happened?
Two usual causes. Cold ricotta straight from the refrigerator seizes when it meets hot pasta, so let it sit out while the water heats. Or the pasta water went in all at once instead of a splash at a time, which never emulsifies. Beat it in gradually and it comes together.
Can I prep any of this ahead?
Yes, and it helps on a weeknight. Slice the zucchini, slice the garlic, and mix the ricotta with the zest and pepper up to a day ahead, all kept covered in the refrigerator. Take the ricotta out when you put the water on so it is not fridge-cold when the pasta arrives.
What else can go in the pan?
Anything that browns fast and does not release much water. Halved cherry tomatoes, thin asparagus cut into batons, or quartered mushrooms all work in the same skillet on the same timing. Add them with the zucchini rather than after, so everything gets the same four still minutes to color.

