Craving a delightful and effortless meal that bursts with fresh, vibrant flavors? Look no further than this incredible Ricotta Pesto Pasta with Zucchini. This isn’t just another pasta dish; it’s a culinary experience that combines the richness of creamy ricotta, the aromatic zest of basil pesto, and the subtle sweetness of fresh zucchini. In a world where time is a precious commodity, this recipe stands out as a true weeknight hero, promising a satisfying and healthy dinner ready in an astonishing 30 minutes or less!
For many, the bounty of a summer garden or a generous neighbor often means an abundance of fresh zucchini. When those verdant squash appear, our kitchen transforms into a haven for creative zucchini dishes. Beyond classic favorites like Chocolate Chip Zucchini Bread, this pasta recipe offers a savory and equally delicious way to utilize that plentiful harvest. And if you happen to have any leftover basil pesto, don’t let it go to waste! It’s fantastic in my popular Pesto Pasta with Tomatoes or the refreshing Pesto Tortellini Pasta Salad. For those who enjoy a twist, my Red Pesto Pasta recipe is also a must-try!

Why This Ricotta Pesto Pasta Recipe is a Must-Try
This Zucchini Ricotta Pesto Pasta isn’t just simple to prepare; it’s a thoughtfully crafted dish designed for maximum flavor and convenience. Here’s why this recipe will quickly become a staple in your culinary repertoire:
- Explosion of Fresh Flavors: Every bite of this pasta with ricotta and pesto is a testament to the power of fresh ingredients. We combine tender, slightly sweet zucchini with the vibrant, herbaceous notes of basil pesto and a bright finish from lemon zest. This harmonious blend creates a truly refreshing taste experience that is especially delightful during warmer months but satisfying year-round. The natural sweetness of the zucchini perfectly balances the savory pesto, while the lemon zest adds an uplifting counterpoint that awakens the palate.
- Effortless 30-Minute Weeknight Dinner: Life gets busy, and finding time for a wholesome, homemade meal can be a challenge. This recipe understands that. Designed for ultimate efficiency, this easy pasta recipe comes together in just half an hour. From prep to plate, you’ll be amazed at how quickly you can create such a sophisticated and delicious dish. It’s the perfect solution for those hectic evenings when you’re short on time but refuse to compromise on taste or nutrition. Plus, it’s a fantastic way to sneak in a generous serving of vegetables for picky eaters, making it a win-win for parents! For another equally delicious and quick meal, consider trying my Boursin Pasta.
- Uniquely Creamy Ricotta Pesto Pasta: The addition of creamy ricotta cheese is truly a game-changer in this pesto pasta recipe. Unlike typical pesto sauces that can sometimes feel oily or too robust, ricotta cheese transforms the basil pesto into a luxuriously smooth, rich, and velvety sauce. It adds a beautiful creamy texture and body, creating a more cohesive and indulgent coating for the pasta and zucchini. This subtle creaminess mellows the pesto just enough while enhancing its inherent flavors, making every forkful wonderfully satisfying and irresistibly smooth. It’s the ideal complement, elevating a simple pesto dish to gourmet heights.
Essential Ingredients for Your Creamy Zucchini Pesto Pasta
Crafting the perfect Ricotta Pesto Pasta starts with understanding the role each ingredient plays. While seemingly simple, a few key considerations can elevate your dish from good to unforgettable:

- Zucchini: This versatile summer squash is the star vegetable here. While I prefer cutting the zucchini into thin circular pieces for an elegant presentation and even cooking, you have flexibility. Dicing the zucchini into small cubes or cutting it into thin spears (julienne style) also works beautifully. Smaller pieces, whether diced or coins, tend to disperse more evenly throughout the zucchini pesto pasta, ensuring a touch of fresh vegetable in every bite. Choose firm, bright green zucchinis free from blemishes for the best flavor and texture.
- Basil Pesto: The heart of this sauce, basil pesto, brings a burst of herbaceous flavor. You can absolutely opt for a high-quality store-bought traditional pesto for convenience – just read the labels to ensure it uses fresh ingredients and good olive oil. However, for an unparalleled depth of flavor, I highly recommend trying my Homemade Basil Pesto recipe. It’s surprisingly easy to make and tastes infinitely better. If you’re feeling adventurous or want to experiment, Kale Pesto is also a fantastic, slightly earthier alternative that pairs wonderfully with this dish.
- Ricotta Cheese: This creamy, soft Italian cheese is what gives our pasta its luxurious texture. Whether you use fresh, homemade ricotta for an authentic touch or a good quality store-bought brand, the goal is a smooth, delicate creaminess. Ensure your ricotta is fresh and has a fine, granular texture, which will melt seamlessly into the sauce. Avoid overly watery ricotta; draining it slightly if needed can prevent a diluted sauce.
- Crushed Red Pepper Flakes: For those who appreciate a subtle warmth and a gentle kick of heat, crushed red pepper flakes are an excellent addition. The amount specified in the recipe provides just a hint of spice, complementing the other flavors without overwhelming them. If you prefer a spicier dish, feel free to increase the quantity. Conversely, if you are sensitive to heat or serving children, you can easily omit them entirely.
- Lemon Zest: Don’t underestimate the power of fresh lemon zest! It’s a non-negotiable ingredient that provides an essential burst of brightness and acidity, cutting through the richness of the ricotta and pesto and enhancing the overall freshness of the ricotta pesto pasta. If fresh lemons are unavailable, a small amount of dried lemon peel can be used, or a splash of fresh lemon juice can provide a similar, though slightly different, acidic note. Zest offers concentrated citrus oils that juice alone cannot replicate.
- Freshly Grated Parmesan Cheese: This is a crucial detail for an outstanding sauce. While pre-shredded parmesan from the grocery store might seem convenient, it often contains anti-caking agents like cellulose. These agents prevent the cheese from clumping in the package but also hinder its ability to melt smoothly and beautifully into a creamy sauce, often resulting in a grainy or clumpy texture. For superior flavor, a silky smooth sauce, and better integration, always opt for a block of high-quality parmesan and grate it yourself just before adding. The difference in taste and texture is truly remarkable.
- Penne Pasta: The choice of pasta shape is more than just aesthetic; it affects how the sauce adheres and how the dish is enjoyed. Penne, with its ridges and tube-like structure, is excellent for capturing and holding the creamy pesto sauce. However, feel free to use your preferred pasta shape. Other excellent choices include bowtie (farfalle), casarecce, rigatoni, or even spaghetti or linguine for a different mouthfeel. The key is to select a shape that can adequately cradle the rich sauce and tender zucchini pieces.
Crafting Your Creamy Ricotta Pesto Pasta: A Simple Guide
Follow these easy steps to bring this vibrant and creamy Ricotta Pesto Pasta to life in your kitchen. Precision and timing are key to achieving the perfect balance of flavors and textures.
- Sauté the Aromatics and Zucchini: Begin by melting the butter in a large, deep skillet or Dutch oven over medium-high heat. Once the butter is glistening, add the diced onions and cook them gently until they become translucent and fragrant, typically about 8-10 minutes. This slow cooking allows their natural sweetness to develop. Next, introduce the minced garlic and the sliced zucchini to the skillet. Season generously with salt and black pepper to taste. Continue to cook, stirring occasionally, until the zucchini is tender-crisp but still holds its shape – we don’t want it mushy! This usually takes around 8 minutes. Once cooked, remove the skillet from the heat to prevent overcooking the vegetables.

- Cook the Pasta to Perfection: While your zucchini is sautéing, bring a large pot of heavily salted water to a rolling boil. A good rule of thumb is to add about 1 tablespoon of salt per gallon of water – this seasons the pasta from within. Add your penne pasta (or chosen shape) to the boiling water and cook according to package instructions, aiming for just under al dente. This means it should still have a slight bite as it will finish cooking in the sauce. Before draining, *very importantly*, reserve about 1 ½ cups of the starchy pasta cooking water. This liquid is gold for creating a creamy, cohesive sauce!

- Combine Pasta and Vegetables: Once the pasta is drained (and you’ve reserved the water!), add it directly to the skillet with the cooked zucchini and onion mixture. Give it a gentle stir to ensure everything is well combined, forming the delicious base for your creamy sauce.
- Create the Creamy Pesto Sauce: Return the skillet to low heat. Add ¾ cup of the reserved pasta water, the creamy ricotta cheese, crushed red pepper flakes (if using), freshly grated parmesan cheese, basil pesto, and the bright lemon zest. Stir continuously and gently as the ingredients warm through and combine. The reserved pasta water, along with the ricotta and parmesan, will begin to emulsify with the pesto, creating a wonderfully creamy and smooth sauce that clings beautifully to the pasta. Continue stirring for 1-2 minutes until everything is heated through and the sauce reaches your desired creamy consistency. If the sauce appears too thick, add more pasta water, a tablespoon at a time, until it loosens up to your preference. Taste and adjust seasonings as needed, perhaps a little more salt, pepper, or lemon zest. Serve this delightful pasta dish immediately while warm to enjoy its optimal texture and flavor!

Expert Tips for the Best Ricotta Pesto Pasta
Elevate your Ricotta Pesto Pasta with these simple yet effective tips, ensuring a perfect dish every time:
- Adjust the Heat: For a gentle warmth that tantalizes the taste buds, add ¼ to ½ teaspoon of crushed red pepper flakes. If you love a more pronounced kick, don’t hesitate to increase the amount. Remember, you can always add more, but you can’t take it away!
- Garnish for Freshness and Flavor: A beautifully garnished dish is always more appealing. Finish your creamy pasta with a sprinkle of fresh basil leaves, a touch more freshly grated Parmesan cheese, a crack of black pepper, and perhaps a drizzle of high-quality extra virgin olive oil. For an added textural contrast, lightly toasted pine nuts or a few cherry tomato halves can also be wonderful.
- Boost Your Protein: To transform this into an even heartier meal, easily incorporate a protein source. Cooked and shredded rotisserie chicken or freshly grilled chicken breast, sliced into bite-sized pieces, folds in beautifully. For a vegetarian protein boost, consider adding cannellini beans or chickpeas, which will absorb the flavors of the sauce.
- Lemon is Key: The zest of one fresh lemon is paramount for adding a bright, acidic counterpoint to the richness of the ricotta and pesto. If fresh lemons are not available, you can use a small amount of dried lemon peel for a subtle citrus note or a splash of fresh lemon juice, though zest provides a more potent and aromatic citrus oil burst.
- Embrace Homemade Ricotta (or Choose Wisely): While quality store-bought ricotta works well, crafting your own fresh ricotta cheese can bring an extraordinary creaminess and delicate flavor to this dish. If buying, look for whole milk ricotta with minimal stabilizers for the best texture.
- Don’t Skimp on Pasta Water: Reserving at least a cup (or even 1 ½ cups, as specified) of the starchy pasta cooking water is crucial. This magical liquid is essential for emulsifying the sauce, helping the pesto and ricotta mixture cling beautifully to the pasta and creating that wonderfully smooth, glossy, and creamy consistency. It’s your secret weapon against a dry or clumpy sauce.
- Mind Your Cooking Times: Both the zucchini and the pasta should be cooked to just under their desired doneness. The zucchini should be tender-crisp, not mushy, and the pasta should be al dente with a slight bite. This is because they will continue to cook for a few more minutes when combined with the sauce, allowing all the flavors to meld and the sauce to reach its perfect creamy texture.
- Have More Zucchini? If your garden is overflowing or you just love zucchini, try my Zucchetti Pasta Recipe for another quick and delicious way to use it up!
Make Ahead, Storing, and Freezing Your Ricotta Pesto Pasta
This creamy pasta dish is best enjoyed fresh and warm, right after preparation, to savor its optimal texture and vibrant flavors. However, leftovers are incredibly delicious, making this a great option for meal prepping or enjoying throughout the week. Here’s how to handle it:
- Making Ahead: If you plan to make this recipe ahead of time, consider that the pasta will absorb more liquid as it sits. When reheating, the sauce might appear thicker. To counteract this, add a little extra pasta water (or even a splash of vegetable broth or milk) when initially making the dish, ensuring it’s extra saucy. This will help maintain moisture and creaminess when it’s reheated.
- Storing Leftovers: Any remaining Ricotta Pesto Pasta should be transferred to an airtight container and stored promptly in the refrigerator. It will keep beautifully for 3-4 days, making for convenient lunches or quick dinners.
- Reheating: To reheat, you have a couple of options. For smaller portions, the microwave works well; heat in short bursts, stirring occasionally, and add a splash of water, broth, or milk to loosen the sauce and restore its creaminess. For larger quantities, gently reheat the pasta in a large pot or skillet over low heat, adding a tablespoon or two of water or broth to help rehydrate the sauce and prevent it from drying out. Stir frequently until heated through.
- Freezing: I generally do not recommend freezing cooked pasta dishes, especially those with creamy sauces and fresh vegetables like zucchini. Pasta tends to become mushy and lose its desirable al dente texture once thawed, and creamy sauces can sometimes separate or become grainy after freezing and reheating. For meal prep, it’s better to prepare the pesto and cook the zucchini ahead of time, then combine with freshly cooked pasta and ricotta when ready to serve.
Frequently Asked Questions About Ricotta Pesto Pasta
Summer squash (yellow squash) is the best substitute for zucchini, offering a very similar flavor profile and texture that integrates beautifully into the dish. Other mild vegetables like asparagus tips, green beans, or even bell peppers (sautéed until tender) can be used, though they will subtly alter the dish’s overall flavor profile. Consider vegetables that cook relatively quickly and complement the fresh basil and cheese notes.
While cottage cheese and ricotta share some similarities and are often interchanged in baked dishes like lasagna, I strongly recommend sticking with ricotta for this particular recipe. The fine, smooth texture of ricotta cheese is key to achieving that wonderfully creamy and emulsified pesto sauce. Cottage cheese, with its distinct curds, will not blend into the pesto in the same way, resulting in a chunkier, less uniform sauce rather than the silky smooth consistency we aim for here. The subtle flavor difference also plays a role in the overall balance of the dish.
By default, no, this pesto and ricotta pasta is not spicy. The recipe calls for only a pinch of crushed red pepper flakes, which is typically just enough to add a barely perceptible hint of warmth and enhance the other flavors, rather than providing significant heat. If you desire a truly spicy dish, feel free to increase the amount to ½ teaspoon or even more, according to your preference. Conversely, if you are sensitive to heat or serving young children, the red pepper flakes can be omitted entirely without compromising the deliciousness of the dish.
Absolutely! To make this Ricotta Pesto Pasta gluten-free, simply substitute traditional pasta with your favorite gluten-free pasta brand. Most gluten-free pastas, whether made from corn, rice, or legumes, will work wonderfully. Just be sure to cook it according to the package directions, often to a slightly softer al dente, and remember to reserve some of that precious pasta water.
Yes, this recipe is very forgiving and adaptable! Feel free to add other quick-cooking vegetables that complement the pesto and zucchini. Cherry tomatoes (halved and added at the end), spinach (wilted into the sauce), or thinly sliced mushrooms (sautéed with the zucchini) would all be delicious additions, adding more nutrition and color to your pasta dish.

More Delicious Recipes You’ll Love
If you enjoyed this creamy and flavorful pasta, here are more recipes from our collection that feature fresh ingredients and comforting flavors:
- Crockpot Lasagna with Ricotta Cheese: An easy, slow-cooked take on a classic comfort food, featuring that wonderful ricotta cheese.
- Lemon Ricotta Cookies: A delightful sweet treat, these cookies are light, airy, and bursting with citrus and ricotta flavor.
- Grilled Tomato, Mozzarella, and Pesto Sandwich Recipe: Another quick and fresh meal, perfect for a light lunch or dinner, highlighting the magic of pesto.
- Pasta with Zucchini Sauce: Explore another fantastic way to utilize zucchini in a savory pasta dish.
- Chicken Pot Pie Noodles: A comforting, hearty meal that combines classic pot pie flavors with the ease of a noodle dish.
Did you make this recipe? We would absolutely love to hear about your experience! Please leave a rating and review right on the blog post, or simply scroll down to the recipe card below and share your thoughts there. Your feedback helps our community of home cooks!
Stay connected and up-to-date with our latest recipes and culinary adventures by following us on Instagram, TikTok, Facebook, and Pinterest. We love seeing your creations!
Print Recipe
Ricotta Pesto Pasta with Zucchini
By Whitney Wright
This Ricotta Pesto Pasta, featuring fresh zucchini, is a refreshing, flavorful, and incredibly easy meal. A hint of red pepper flakes adds a subtle warmth, while lemon zest provides a perfectly balanced freshness, making it the ideal dinner for any occasion.
Prep Time: 10 mins
Cook Time: 20 mins
Total Time: 30 mins
Servings: 8 servings
Ingredients
- 4 tablespoons butter
- 1 onion, diced (about 1 ¾-2 cups)
- 2 lbs zucchini, sliced into ¼″ inch thick coins
- 3 garlic cloves, minced
- 1 teaspoon salt
- ½ teaspoon pepper
- ⅓ cup basil pesto (homemade or high-quality store-bought)
- 1 ⅓ cup Ricotta cheese (whole milk preferred)
- Pinch crushed red pepper flakes (or more, to taste)
- Zest of 1 lemon
- 1 cup freshly grated Parmesan cheese
- 1 lb penne pasta (or other preferred short pasta shape)
Instructions
- Cook Vegetables: In a large skillet or Dutch oven over medium-high heat, melt the butter. Add the diced onions and cook until softened and translucent, about 8-10 minutes. Stir in the minced garlic and sliced zucchini, seasoning with salt and pepper. Continue cooking until the zucchini is tender-crisp (not overly soft), approximately 8 minutes. Remove from heat.
- Cook Pasta: While vegetables cook, bring a large pot of heavily salted water to a boil. Add the pasta and cook until just under al dente. Drain the pasta, reserving 1 ½ cups of the starchy pasta water.
- Combine: Add the drained pasta directly to the skillet with the cooked zucchini and onion mixture. Stir gently to combine.
- Finish the Sauce: Return the skillet to low heat. Add ¾ cup of the reserved pasta water, ricotta cheese, crushed red pepper flakes, freshly grated Parmesan, basil pesto, and lemon zest. Stir continuously for 1-2 minutes until the sauce becomes wonderfully creamy and coats the pasta beautifully. If needed, add more reserved pasta water, a tablespoon at a time, to reach your desired consistency. Taste and adjust seasonings. Serve immediately and enjoy!
Notes
- If fresh lemons are unavailable, use dried lemon peel or a splash of lemon juice to still get that hint of freshness.
- Always reserve pasta cooking water! It’s essential for achieving a creamy and perfectly emulsified sauce with the pesto and ricotta.
- Recipe Source: Adapted from NY Times Cooking.
Nutrition
(Nutritional values are approximate per serving)
- Calories: 447 kcal (22%)
- Carbohydrates: 50g (17%)
- Protein: 18g (36%)
- Fat: 19g (29%)
- Saturated Fat: 9g (45%)
- Cholesterol: 45mg (15%)
- Sodium: 685mg (29%)
- Potassium: 501mg (14%)
- Fiber: 3g (12%)
- Sugar: 5g (6%)
- Vitamin A: 890 IU (18%)
- Vitamin C: 21.7mg (26%)
- Calcium: 286mg (29%)
- Iron: 1.5mg (8%)
Course: Main Course
Cuisine: American (Italian-inspired)
Did you make this recipe?
Please leave a star rating and review on the blog post letting me know how you liked this recipe! Take a picture and tag @saltandbaker on TikTok, Instagram, and Facebook so I can see what you’re making!