Ingredient Guides

How to Cook Pasta Perfectly

By Samira Kazan

published July 15, 2025

If you’ve ever wondered how to cook pasta perfectly so it’s not sticky, soggy, or bland — you’re not alone. I’ve tested every “rule” over the years, and this is the method I rely on for pasta that’s perfectly cooked, whether it’s going into sauce, salad, or storage.

Top view of cooked spaghetti being drained in a black pot, with sauce on one side and a plated serving on the other. - 1

Whether you’re making spaghetti for dinner, mixing up a pasta salad, or prepping ahead for the week, this guide will walk you through exactly what works. If you need ideas for what to serve it with, try one of my favorite sauces: a quick marinara sauce , a creamy avocado pasta sauce , or a fresh homemade pesto . With just a few simple tips, you’ll be able to cook pasta that’s tender, springy, and holds onto sauce just right, without clumping or soggy bits.

  • What you’ll need
  • How to cook pasta
  • FAQs
  • Pasta recipes you’ll love
  • How to Cook Pasta Perfectly Recipe

What you’ll need

A photo of spaghetti, salt and water. - 2
  • Spaghetti – I usually use good-quality dried spaghetti. Bronze-cut if possible — it holds sauce better.
  • Water – Enough to give the pasta room to move. A deep pot helps here.
  • Salt – This is key for flavor. I always salt the water generously.
  • Large pot – Something big enough for the pasta to cook evenly without sticking.
  • Colander – A sturdy one for draining. I prefer metal over plastic.
  • Measuring cup or mug – To scoop out a bit of the pasta water before draining. It’s great for helping sauces cling.

See printable recipe card below for the full ingredients list and quantities.

How to cook pasta

Side view of pouring water from a glass jar into a black pot. - 3 Side view of spaghetti boiling in a black pot on the stove. - 4 Side view of holding cooked spaghetti in a metal colander over the sink. - 5 Side view of me adding salt to a black pot filled with water. - 6 Side view of a ladle pouring reserved pasta water into a clear cup. - 7 Close-up side view of pouring meat sauce over cooked spaghetti on a white plate. - 8 Side view of me placing dry spaghetti into a pot of boiling water. - 9 Side view of me draining cooked spaghetti in a colander with a glass underneath to catch pasta water. - 10 Side view of a white plate of spaghetti with sauce, held in one hand with a fork twirling pasta. - 11
  1. Cooking pasta for sauce
  • Fill a large pot with 4 to 6 quarts of water per pound of pasta.
  • Bring the water to a full rolling boil before adding salt.
  • Add your dried pasta (spaghetti or other) and stir immediately to prevent sticking.
  • Reduce heat slightly and cook uncovered, stirring occasionally. Start tasting after a few minutes. The goal? A springy, slightly firm bite — that’s your al dente.
  • Just before draining, scoop out a cup of the starchy cooking water. It’s liquid gold for sauce.
  • Drain the pasta (but don’t rinse it!) and enjoy it with warm sauce.
  1. Cooking pasta for salad
  • Follow the same steps as above but cook your pasta fully (not al dente).
  • After draining (no rinsing), drizzle lightly with olive oil and toss to coat.
  • Spread on a tray to cool, stirring occasionally to prevent clumping.
  • Once cooled, transfer to a container and refrigerate until ready to mix with dressing and veggies.

Looking for a quick, crowd-pleasing way to use your cooked pasta? Try my easy pasta salad for a colorful, flavorful, and make-ahead side that’s perfect for picnics, potlucks, or weeknight dinners.

Side view of colorful pasta salad in a clear glass bowl filled. - 12
  1. Cooking pasta for storage
  • Cook until just shy of al dente (1-2 minutes less than usual).
  • Drain and toss with a little olive oil to prevent sticking.
  • Let cool completely, then store in an airtight container in the fridge for up to 5 days. You can also freeze it in a freezer-safe bag or container for up to 2 months. Let it thaw in the fridge before reheating or adding it to a sauce.

The biggest culprit is not enough water or not stirring early on. Pasta needs space to move, especially in the first few minutes. Stir well and use a large pot.

No — rinsing washes away the starch that helps sauce cling to the pasta. Only rinse if you’re making cold pasta salad and even then, a quick olive oil toss is usually better.

A good rule of thumb is 1 tablespoon of kosher salt per quart of water. It should taste pleasantly seasoned, not seawater-salty.

It’s likely overcooked. Start tasting 2 minutes before the box says it’s done, and drain as soon as it hits that al dente texture.

Pasta that sits too long in sauce can become soggy. Combine them just before serving and always reserve some cooking water to adjust the consistency.

Pasta recipes you’ll love

If you’re ready to put these pasta-cooking tips to use, here are a few of my favorite ways to enjoy a bowl (or plate) of pasta:

A serving of lemon pasta topped with chili flakes - 13 A serving of lemon pasta topped with chili flakes - 14 Avocado pasta in a bowl topped with parmesan and basil leaves - 15 Avocado pasta in a bowl topped with parmesan and basil leaves - 16 A serving of bowtie pasta salad - 17 A serving of bowtie pasta salad - 18

If you found this pasta cooking guide helpful, don’t forget to rate the recipe and leave me a comment below — I’d love to hear how it worked for you!

Ingredients1x2x3x

  • ▢ 1 pound spaghetti dried
  • ▢ 4 quarts water
  • ▢ 2 tablespoon salt*

Instructions

  • Bring a large pot of water to a full rolling boil.
  • Add the salt and stir to dissolve.
  • Drop in the pasta and stir immediately to prevent sticking.
  • Cook uncovered, stirring occasionally, until just al dente. Start tasting after 5–6 minutes.
  • Before draining, reserve about 1 cup of pasta water.
  • Drain the pasta — do not rinse.
  • Use immediately with sauce, or cool and store depending on your recipe.

Notes

Nutrition

Nutrition information is automatically calculated, so should only be used as an approximation.

Square photo of pouring cooked spaghetti into a colander over a glass jar - 19

How to Cook Pasta Perfectly

Ingredients

  • 1 pound spaghetti dried
  • 4 quarts water
  • 2 tablespoon salt*

Instructions

  • Bring a large pot of water to a full rolling boil.
  • Add the salt and stir to dissolve.
  • Drop in the pasta and stir immediately to prevent sticking.
  • Cook uncovered, stirring occasionally, until just al dente. Start tasting after 5–6 minutes.
  • Before draining, reserve about 1 cup of pasta water.
  • Drain the pasta — do not rinse.
  • Use immediately with sauce, or cool and store depending on your recipe.

Notes

Nutrition

Recipe on Alphafoodie: https://www.alphafoodie.com/how-to-cook-pasta/