Spinach and Garlic Spaghetti with Pecorino
There’s something comforting about a simple pasta dish that leans on a handful of great ingredients and straightforward technique. This Spinach and Garlic Spaghetti with Pecorino is exactly that: an easy weeknight pasta that’s all about bright garlic, peppery greens, and the salty, nutty finish of Pecorino. It’s the kind of recipe you’ll make when you want big flavor without a lot of fuss, and it comes together in the time it takes to boil the pasta.
This recipe uses pantry staples—spaghetti, olive oil, garlic, and a few seasonings—and a small amount of fresh baby spinach to add color, texture, and a gentle vegetal note. The red pepper flakes bring a subtle heat, while the grated Pecorino finishes the dish with a savory, tangy bite. Follow the step-by-step method below to ensure the garlic gets soft and fragrant but not burned, the spinach wilts perfectly, and the pasta is glossy and well-coated with the garlicky oil.
Why this version works

Simple pasta dishes succeed when each component is treated with care. The key moments here are: infusing the oil with garlic and red pepper flakes, seasoning the spinach as it wilts, and finishing the spaghetti with grated Pecorino so the starch in the pasta binds the oil into a silky sauce. The proportions are intentionally lean, letting the Pecorino and garlic play leading roles without masking the tender baby spinach.
Ingredients
- 1 pound spaghetti
- 1/4 cup extra virgin olive oil
- 4 garlic cloves, minced
- 3/4 teaspoon red pepper flakes
- 1/2 teaspoon Italian herb seasoning
- 6 ounces fresh baby spinach
- 1/2 teaspoon salt
- 1/2 teaspoon freshly ground black pepper
- 2 ounces Pecorino or Parmesan cheese, grated
Equipment
- Large pot for boiling pasta
- Large skillet or sauté pan
- Colander
- Tongs or pasta fork
- Microplane or fine grater for the cheese
Step-by-step instructions

1. Bring the pasta water to a rolling boil. Fill a large pot with water and bring it to a vigorous boil over high heat. Add a large pinch of salt to the water—this seasons the pasta from the inside out.
2. Cook the spaghetti. Add 1 pound spaghetti to the boiling water and cook according to the package instructions until it reaches al dente—tender but with a slight bite. Stir occasionally to prevent the strands from clumping. Reserve about 1 cup of the starchy pasta cooking water before draining.
3. Drain the pasta. Use a colander to drain the spaghetti, shaking gently to remove excess water, but do not rinse. Keep the reserved pasta water nearby for finishing the sauce.
4. Warm the olive oil and infuse it with garlic and red pepper flakes. While the pasta is cooking, place a large skillet over medium-low heat. Pour in 1/4 cup extra virgin olive oil and let it warm for about 30 seconds so it’s hot but not smoking. Add 4 minced garlic cloves and 3/4 teaspoon red pepper flakes. Sauté gently, stirring frequently, for about 1 to 2 minutes until the garlic becomes fragrant and just begins to turn golden at the edges. Watch carefully to avoid browning the garlic, which will make it bitter.
5. Add Italian herb seasoning. Sprinkle 1/2 teaspoon Italian herb seasoning into the oil and stir for a few seconds to wake up the dried herbs and marry their flavor with the garlic-infused oil.
6. Wilt the baby spinach. Add 6 ounces fresh baby spinach to the skillet in batches if necessary so the leaves have room to collapse. Use tongs or a large spoon to toss and fold the spinach into the garlicky oil. Cook for 1 to 2 minutes, until the spinach is fully wilted and glossy.
7. Season the greens. Sprinkle 1/2 teaspoon salt and 1/2 teaspoon freshly ground black pepper over the wilted spinach and give everything a quick toss so the seasonings distribute evenly.
8. Combine pasta and greens. Add the drained spaghetti directly to the skillet with the spinach and garlic oil. Toss gently to combine, using tongs to lift and turn the noodles so they’re evenly coated. If the pasta seems dry, add a splash of the reserved pasta cooking water—start with 1/4 cup and add more as needed—to create a silky sauce that clings to the spaghetti.
9. Finish with Pecorino. Remove the skillet from heat. Immediately sprinkle 2 ounces of grated Pecorino or Parmesan cheese over the pasta and toss briskly. The residual heat and a touch of the reserved pasta water will help the cheese melt and form a creamy coating. Taste and adjust seasoning if necessary—add a pinch more salt or pepper to your preference.
10. Serve right away. Divide the Spinach and Garlic Spaghetti with Pecorino among warmed bowls. For a final flourish, grate a little extra Pecorino over each serving and, if you like, a small drizzle of extra virgin olive oil. Serve immediately so the pasta retains its silkiness.
Troubleshooting and tips

- If the garlic browns too quickly, lower the heat. Burnt garlic tastes bitter and can overpower the dish.
- Reserved pasta water is gold: its starch helps emulsify the oil and cheese into a cohesive sauce. Add it gradually until the texture feels glossy and coat-y.
- For a creamier finish without adding cream, grate the Pecorino finely and toss it into the hot pasta off the heat so it melts gently into the starchy water and oil.
- Want more bite? Add another pinch of red pepper flakes when serving, or stir in a squeeze of lemon for brightness.
- If you prefer a nuttier flavor, use a mixture of Pecorino and Parmesan—2 ounces total is the amount called for in the ingredient list.
Make-ahead and storage
You can prepare the garlic-infused oil and wilted spinach ahead of time and refrigerate in an airtight container for up to 24 hours. When ready to serve, reheat gently in a skillet and toss with freshly cooked spaghetti. Store leftovers in an airtight container in the refrigerator for up to 3 days. Reheat on the stovetop with a splash of water to revive the texture; avoid microwaving without adding liquid, which can dry the pasta out.
Variations and serving ideas
This recipe is a lovely blank canvas for small changes depending on what you have on hand:
- Add toasted pine nuts or walnuts for crunch—stir them in at the end so they stay crisp.
- Fold in roasted cherry tomatoes or sautéed mushrooms for extra depth and color.
- For a heartier plate, toss in cooked white beans or leftover shredded cooked poultry.
- Finish with chopped fresh herbs—parsley or basil brightens the dish without masking the core flavors.
Nutritional notes
This pasta balances carbohydrates from the spaghetti with healthy fats from extra virgin olive oil and micronutrients from the spinach. Pecorino brings protein and calcium along with a punchy savory flavor, so a little goes a long way. By keeping the ingredient list short and focused, you get a satisfying bowl that doesn’t rely on heavy cream or butter to feel indulgent.
Final thoughts
Spinach and Garlic Spaghetti with Pecorino is a reminder that elegant weeknight dinners don’t need to be complicated. With simple technique and quality ingredients—good olive oil, fresh spinach, and well-aged cheese—you’ll have a dish that tastes like you spent hours in the kitchen even though it’s ready in under 30 minutes. Keep this recipe in your rotation for busy nights, casual suppers with friends, or anytime you crave something comforting and bright.
Ready to make it? Gather the ingredients, heat the pot of water, and enjoy a bowl of garlicky, cheesy, spinach-studded spaghetti that’s reliably delicious every time.

Spinach and Garlic Spaghetti with Pecorino
Ingredients
Equipment
Method
- Bring a large pot of salted water to a boil and cook the spaghetti according to package directions until al dente; reserve 1 cup of the cooking water and drain the pasta.
- While the pasta cooks, heat the olive oil in a large sauté pan over medium heat.
- Add the minced garlic, red pepper flakes, and Italian herb seasoning to the pan and cook, stirring, until fragrant, about 1 to 2 minutes—do not let the garlic brown.
- Add the baby spinach and toss until just wilted, about 2 to 3 minutes, then season with the salt and freshly ground black pepper.
- Add the drained spaghetti to the pan and toss to combine, adding the reserved pasta cooking water 1/4 cup at a time as needed to loosen and create a light sauce.
- Divide the pasta among plates and top generously with the grated Pecorino or Parmesan cheese, then serve immediately.
Notes
- Reserve pasta water to adjust sauce consistency.
- Do not overcook the garlic to avoid bitterness.
- Use Pecorino for a sharper flavor or Parmesan for milder taste.
