How to Cook Pasta: The Simple Way to Get It Right Every Time

By the Librava editors · Updated 2026-10-26

If your pasta keeps coming out soft, sticky or bland even when the sauce is good, the problem is almost always the pot, not you. To cook pasta properly, boil it in plenty of well salted water (about 4 quarts or 4 liters and 1 tablespoon of salt per pound), stir it in the first 2 minutes, taste it before the package time is up and drain it while it still has a slight bite. Save a cup of the cooking water and toss the pasta straight into the sauce.

That is the whole method, and it takes no extra time once it becomes a habit. Below you will find the step by step routine, a cooking time chart for common shapes, portion sizes, shape and sauce pairings, and the small mistakes that quietly ruin a good dinner.

How to cook pasta in 8 simple steps

  1. Fill a large pot (at least 6 quarts or 6 liters) with about 4 quarts (4 liters) of water for every pound (450 g) of pasta. Cover it and bring it to a full rolling boil.
  2. Add about 1 tablespoon of salt once the water boils. It should taste pleasantly seasoned, like a mild broth (stock).
  3. Tip in the pasta and stir straight away. For spaghetti and other long strands, wait a few seconds for the ends to soften, then push them under gently.
  4. Stir again a couple of times during the first 2 minutes, when the pasta releases the most starch and is most likely to clump.
  5. Set a timer for the package time and start tasting 2 minutes early.
  6. Before draining, scoop out about 1 cup (240 ml) of the cooking water with a mug.
  7. Drain in a colander or lift the pasta out with tongs. Do not rinse it unless you are making a cold salad.
  8. Toss the pasta with your sauce and a splash of the saved water over medium heat for a minute or two, then serve right away.

Notice what is missing: oil in the water. It floats on the surface, does nothing to stop sticking and leaves the pasta slippery, so the sauce slides off later. Stirring early is what prevents clumps.

How much water and salt for pasta

Plenty of water matters for two reasons. It comes back to the boil quickly after the pasta goes in, and it gives the pasta room to move, so it cooks evenly. A small pot of water drops off the boil, turns gluey with starch and leaves you with a sticky mass.

Salt is your only chance to season the pasta itself. A sauce sits on the outside, so unsalted pasta tastes flat however good the sauce is. Add the salt once the water is boiling so it dissolves fast.

Dried pastaWaterSalt
8 oz (225 g)3 quarts (3 liters)2 to 3 teaspoons
12 oz to 1 lb (340 to 450 g)4 quarts (4 liters)1 tablespoon
2 lb (900 g)6 to 7 quarts (6 to 7 liters)1 1/2 to 2 tablespoons

Use a little less salt when the sauce is already salty, such as anything with pecorino, anchovies, capers or bacon. If you are watching your salt intake, you can reduce it further and add flavor with lemon, garlic, herbs and black pepper instead.

Look inside: The Easy Pasta Cookbook

The Easy Pasta Cookbook by Giulia Marsh, preview page 1
The Easy Pasta Cookbook · preview 1
The Easy Pasta Cookbook by Giulia Marsh, preview page 2
The Easy Pasta Cookbook · preview 2
The Easy Pasta Cookbook by Giulia Marsh, preview page 3
The Easy Pasta Cookbook · preview 3
The Easy Pasta Cookbook by Giulia Marsh, preview page 4
The Easy Pasta Cookbook · preview 4

Read the free sample →

How long to cook pasta by shape

Package times vary between brands, so treat this chart as a starting point and always check your package. The second column is for recipes where the pasta finishes cooking in a pan of sauce.

ShapeBoil timeIf finishing in sauce
Angel hair3 to 4 min2 to 3 min
Spaghetti, linguine9 to 11 min8 to 9 min
Bucatini10 to 12 min9 to 10 min
Dried fettuccine, tagliatelle8 to 10 min7 to 8 min
Penne, fusilli, farfalle10 to 12 min9 to 10 min
Rigatoni11 to 13 min10 to 11 min
Orecchiette11 to 14 min10 to 12 min
Macaroni, orzo8 to 10 min7 to 8 min
Fresh egg pasta2 to 4 min1 to 3 min

For a baked dish such as lasagna or a pasta bake, boil the pasta 2 to 3 minutes short of the package time. It keeps softening in the oven as it soaks up the sauce, and you want it tender when it comes out, not mushy.

Fresh pasta is a different animal. It cooks in a few minutes and is ready when it floats, looks slightly puffed and is tender with a little bite, so have the sauce ready before it goes in.

How to tell when pasta is al dente

Al dente means "to the tooth". The pasta is cooked through, with a slight firmness in the center when you bite it, and no chalky white core. It should feel springy, not soft and not crunchy.

The only reliable test is your mouth, because the clock can be off by a couple of minutes.

The tasting routine

  • Start tasting 2 minutes before the package time.
  • Fish out one piece, let it cool for a few seconds and bite it.
  • If you see a thin white line or dot in the middle, it needs about a minute more.
  • When the core has just disappeared but the bite is still firm, it is ready.
  • Taste again every 30 seconds until you get there.

A useful habit: once you know how long your favorite brand really needs, write that time on the package with a marker. Next time you will not have to guess.

Why you should save pasta water and finish in the sauce

Restaurant pasta looks glossy because the sauce and pasta have been cooked together for the last minute or two. You can do the same at home with no special skill.

Drain the pasta 1 to 2 minutes before the package time, while it is still slightly too firm. Add it to the pan of sauce with a splash of pasta water and toss over medium heat. The pasta finishes cooking in the sauce and takes on its flavor, and the starch it releases turns oil, butter and cheese into a smooth, clinging coating.

That is why the saved cooking water matters so much. It is full of starch and salt, and it works like a natural thickener. Add it a little at a time, about 2 to 4 tablespoons, and toss well. You can always add more, but you cannot take it out.

Here are two quick ideas that rely on this technique and almost nothing else:

  • Garlic and oil spaghetti. Warm sliced garlic gently in plenty of olive oil until pale gold, add red pepper flakes (chilli flakes), then toss in the spaghetti with about half a cup (120 ml) of pasta water until glossy. Finish with parsley.
  • Cheese and pepper spaghetti. Toast cracked black pepper in a little oil, add pasta water and the pasta, then take the pan off the heat and toss in a paste of finely grated pecorino and warm pasta water until creamy.
Cheese goes in at the end, off the heat or over low heat. In a very hot pan, pecorino and Parmesan seize into rubbery lumps. Let the pan cool for about 30 seconds first, and grate the cheese finely.

How much pasta per person

For a main course, plan on about 3 to 4 oz (85 to 115 g) of dried pasta per person. Use the smaller amount for rich sauces such as carbonara, cream or cheese sauces, and the larger amount for light vegetable sauces or hungry teenagers.

PeopleDried pastaFresh egg pasta
13 to 4 oz (85 to 115 g)4 to 5 oz (115 to 140 g)
26 to 8 oz (170 to 225 g)8 to 10 oz (225 to 280 g)
412 oz to 1 lb (340 to 450 g)1 to 1 1/4 lb (450 to 560 g)

Fresh pasta needs a slightly bigger portion because it contains moisture and weighs more.

Long strands are hard to judge by eye. A bunch of spaghetti about 1 inch (2.5 cm) across, roughly the size of a large coin, is about one serving.

Which pasta shape goes with which sauce

The basic rule is that the shape should hold the sauce. Long, thin strands suit smooth sauces that coat them evenly. Tubes and twists catch chunky sauces in their hollows and grooves. Small shapes belong in soups and salads, so you get pasta in every spoonful.

ShapeBest with
SpaghettiOil and garlic, tomato, carbonara, clams
LinguineSeafood, pesto, light cream
Tagliatelle, fettuccineMeat ragù, butter, cream sauces
PappardelleSlow-cooked meat or mushroom ragù
PenneSpicy tomato, cream, bakes
RigatoniChunky meat and vegetable sauces
Fusilli, farfallePesto, light sauces, salads
OrecchietteBroccoli, sausage, greens
Macaroni, shellsCheese sauces and bakes
Orzo, ditaliniSoups and salads

Do not be strict about it. If the recipe says rigatoni and you have penne, use the penne. Ridged shapes grip sauce better than smooth ones, so if your sauce keeps sliding off, a ridged shape is often the fix.

When you shop, look for dried pasta with a rough, slightly chalky surface rather than a shiny one. That texture comes from bronze dies used in shaping, and it helps sauce cling. The book The Easy Pasta Cookbook includes a full shapes and sauces chart plus 70 recipes built on these pairings.

Common pasta mistakes to avoid

  • Too small a pot. Crowded pasta sticks and cooks unevenly. Use the biggest pot you have.
  • Unsalted water. No sauce can fix bland pasta from the inside.
  • Rinsing cooked pasta. It washes off the surface starch that helps sauce stick and cools everything down. Only rinse pasta for cold salads.
  • Leaving drained pasta sitting in the colander while you finish the sauce. It glues itself together. Have the sauce ready first whenever you can.
  • Burning the garlic. Start it in warm, not smoking, oil over medium or medium-low heat and pull the pan off once it smells sweet and turns pale gold.
  • Using pre-grated cheese for a sauce. It is often coated to stop clumping, which also stops it melting smoothly. Grate a wedge yourself.

How to store and reheat leftover pasta

Cool leftovers quickly and get them into the fridge within 2 hours of cooking. Spread a big batch into a shallow container so it cools faster, then eat it within 3 to 4 days.

To reheat sauced pasta, warm it in a pan over medium heat with a splash of water, stirring until it is piping hot all the way through. In the microwave, cover the dish and stir halfway.

If you like to batch cook, freeze the sauce rather than the cooked pasta. Plain cooked pasta goes soft when frozen and thawed, while most tomato and meat sauces freeze well. Boil fresh pasta on the night, which only takes about 10 minutes.

Food safety basics: cook chicken to 165°F (74°C) and ground meat (mince) to 160°F (71°C), and cook shrimp (prawns) until pink and opaque. Egg sauces like carbonara are cooked gently by the hot pasta and may not fully set, so people who are pregnant, very young, elderly or have weakened immunity should use pasteurized eggs or choose another dish.

Frequently asked questions

Should you put oil in pasta water?

No. Oil floats on top of the water, so it barely touches the pasta and does not stop it sticking. What little coats the pasta makes it slippery, which means your sauce slides off instead of clinging. To prevent sticking, use plenty of water, keep it at a rolling boil and stir well in the first 2 minutes after the pasta goes in.

Do you add pasta before or after the water boils?

After. Wait until the water reaches a full rolling boil, add the salt, then add the pasta. Pasta that sits in cold or barely simmering water soaks up water slowly, turns soft on the outside and tends to clump. Once the pasta is in, take the lid off so it does not boil over.

How do you keep pasta from sticking together?

Use a big pot with about 4 quarts (4 liters) of water per pound of pasta, and stir right after adding it and again a couple of times in the first 2 minutes. Drain it just before you need it and toss it straight into the sauce. Pasta left sitting in a colander will stick, so get the sauce ready first.

Should you rinse pasta after cooking?

Only for cold pasta salads. Rinsing washes away the surface starch that helps sauce cling and cools the pasta down, so hot dishes end up watery and bland. For a salad, rinsing under cold water stops the cooking and keeps the pieces separate, which is exactly what you want there. For everything else, drain and sauce right away.

How long should you boil spaghetti?

Most dried spaghetti takes 9 to 11 minutes in boiling, well salted water, but check your package and start tasting 2 minutes early. If you plan to finish it in a pan with sauce, drain it after about 8 to 9 minutes, while it is still a little firm, so it ends up al dente rather than soft. Thin angel hair needs only 3 to 4 minutes.

Can you cook pasta ahead of time?

You can, though freshly cooked pasta tastes best. Cook it 1 to 2 minutes short, drain, toss with a little olive oil, cool quickly and refrigerate within 2 hours. To serve, drop it into boiling water for 30 to 60 seconds or warm it through in the sauce with a splash of water. For batch cooking, freezing the sauce and boiling fresh pasta works better.

Tonight, start with the two habits that make the biggest difference: fill your largest pot, salt the water until it tastes like mild broth, and taste the pasta 2 minutes before the package time while a mug of cooking water waits beside the stove. Do that a few times and you will cook pasta by feel, which is exactly how the recipes in The Easy Pasta Cookbook are meant to be used.

More free guides

All free guides →