Getting Pasta Right
The short answer is that most dried pasta takes between 8 and 12 minutes in boiling salted water. The exact number depends on the shape, the brand, and whether you like it firm or soft. I have cooked enough pasta to know that the package directions are usually a bit generous, which is why Italian cooks always taste-test a minute or two before the printed time runs out. When someone asks me how long to cook pasta, I usually tell them to start checking at the minimum time on the box, not at the maximum. Take a piece out, let it cool for a second, and bite into it. If there is still a tiny white pinhead in the center, it needs another 30 seconds. If it is completely uniform in color and texture all the way through, it is done. If it feels hard or chalky, give it another full minute and check again. Here is what I actually do in my own kitchen. I bring a large pot of water to a rolling boil, salt it until it tastes like the sea, and then add the pasta all at once. I stir immediately so nothing sticks to the bottom. Then I set a timer for two minutes less than the package says and start tasting from there. Most thick shapes like rigatoni or pappardelle need the full 11 to 13 minutes. Thin shapes like spaghetti or capellini are often done in 7 to 9 minutes. Angel hair can be ready in as little as 5 minutes, which is why it turns to mush so fast if you walk away from it.
I had a bad experience once where I was cooking pasta for a dinner party and assumed the thick penne would take the full package time. It did not. By the time I checked, the outside was soft but the inside was still hard. I ended up overcooking the whole batch trying to fix it, and the texture was completely wrong. Now I always taste before I drain, no exceptions. That single habit has saved me more times than I can count. The water-to-pasta ratio matters more than people realize. Use at least four quarts of water for every pound of dried pasta. If you crowd the pot, the water temperature drops and the pasta sits in lukewarm water longer than it should. That means the outside gets slimy while the inside is still undercooked. I learned that the hard way with a half batch of fusilli, and I have been using a big pot ever since. Salting the water is non-negotiable. You want about one tablespoon of kosher salt per pound of pasta. This is the only chance you get to season the pasta itself, and without it the noodles taste flat no matter what sauce you throw them in. I used to skip the salt when I was in a rush, and the difference is immediately noticeable. Never add oil to the cooking water. It does not prevent sticking, it just coats the pasta and makes sauce slide off later.
If you are cooking pasta to go into a sauce, drain it while it is still a minute or two shy of fully done. Finish it in the pan with the sauce for the last minute of cooking. The pasta will absorb some of the sauce and the starch will help emulsify everything together. This technique is called finishing in the salsa, and it makes a real difference in the final dish. The pasta will continue cooking from residual heat even after you drain it, so pulling it early keeps it from turning into overcooked mush. Some shapes have weird cooking times that are worth knowing. Farfalle takes about 10 to 12 minutes. Orecchiette is around 11 minutes. Whole wheat pasta needs roughly 2 to 3 minutes more than regular pasta because the bran layer slows down water absorption. Fresh pasta, the kind you buy refrigerated or make yourself, cooks in 2 to 4 minutes, sometimes less. If you see fresh pasta taking longer than that, something is wrong with your water temperature or the pasta is thicker than it should be. Rice pasta and chickpea pasta behave differently from wheat pasta. They tend to get mushy faster and do not hold their shape as well. I usually cook them for about a minute less than the package suggests, and I drain them right away instead of letting them sit in the hot water. Quinoa pasta is another anomaly. It turns cloudy very quickly and the cooking time is closer to 10 minutes for most shapes, but the texture stays soft even when fully cooked, which is why it is hard to judge doneness by texture alone. Taste is the only reliable method there.
Get the Full Details

One thing most people get wrong is stirring. You only need to stir in the first minute or two to keep the pasta from sticking together or to the bottom of the pot. After that, occasional stirring is enough. Constant stirring actually breaks delicate shapes and releases too much starch, which makes the cooking water gummy. I used to stir nonstop when I was a beginner, and my spaghetti ended up broken and the water turned into glue. Now I just give it a stir at the start and maybe once or twice more while it cooks. If you are making pasta salad, cook the pasta about a minute longer than you normally would, shock it in ice water immediately after draining, and then toss it with a little olive oil. This stops the cooking process and prevents the pasta from clumping together as it cools. The ice bath is essential. Without it, the residual heat keeps cooking the pasta and the texture becomes soft and pasty by the time you serve it.
Common Mistakes That Ruin Pasta
The biggest mistake is using too little water. A small pot with a normal amount of pasta creates a starch concentration that is too high, and the pasta steams instead of boils. The result is unevenly cooked noodles with a gummy exterior. Another common error is rinsing the pasta after draining. This washes away the surface starch that sauce needs to cling to, and it also cools the pasta too quickly. The only time I rinse pasta is for cold dishes like pasta salad, and even then I use cold running water briefly rather than soaking it. Another issue is cooking pasta in the morning for lunch. Residual heat in a colander will continue cooking the noodles, and by lunchtime they are usually soft and degraded. If you need to prep ahead, cook the pasta to al dente, shock it in ice water, drain it well, and store it in the refrigerator with a light coat of oil. Reheat it by plunging it into boiling water for 30 seconds or by adding it directly to a hot sauce. The texture will be acceptable, though never quite as good as freshly cooked pasta. Some people claim you can test doneness by throwing a piece of pasta against the wall. This is silly. The wall test tells you nothing useful. Tasting is the only real test, and it takes about three seconds. I have never met a competent cook who does not taste their pasta before draining, and I would be suspicious of anyone who claims they do.
The type of salt matters slightly. Kosher salt is preferred because it dissolves quickly and does not contain the anti-caking agents that table salt has. Table salt works fine in a pinch, but it tastes sharper and can make the water cloudy if you use a lot of it. I use Maldon or Diamond Crystal kosher salt exclusively, and I measure by volume rather than weight because the grain size varies between brands.

When Package Directions Fail
Sometimes the package is just wrong. I have found that Barilla spaghetti takes 10 minutes on the box but is perfect at 9 minutes. De Cecco rigatoni says 11 minutes but is best at 10. Some cheaper brands recommend times that are 2 to 3 minutes too long, which is why the pasta turns soft and loses its structure. If you buy pasta regularly, keep a mental note of the adjusted times for each brand. After three or four batches, you will internalize the differences without needing to read the box every time. Frozen pasta is another category. It cooks faster than dried pasta because it is already partially hydrated. Most frozen ravioli or tortellini is done in 3 to 5 minutes. Again, taste is the only reliable guide, and I check at the minimum time rather than waiting for the maximum. If you are cooking pasta for someone with dietary restrictions, gluten-free pasta requires special attention. Brown rice pasta and corn pasta tend to fall apart if overcooked, and they are often done in 6 to 8 minutes, which is shorter than wheat pasta. The texture difference between undercooked and perfectly cooked gluten-free pasta is much narrower, so timing precision matters more. I usually cook it a full minute less than the package recommends and drain immediately, because these pastas continue softening rapidly after leaving the water.
One edge case that trips people up is cooking pasta in a pressure cooker or Instant Pot. This is possible, but the water-to-pasta ratio is different, the cooking time is shorter, and you need to release the pressure immediately after cooking or the pasta will overcook from residual heat. I do not recommend this method unless you are cooking a large quantity and need speed. For normal weekly meals, the pot-on-the-stove method is faster overall once you factor in the cleanup and the risk of mushy results. The altitude adjustment is real but only matters at elevation. If you live above 5,000 feet, water boils at a lower temperature, which means pasta cooks more slowly. Add about one minute to the cooking time for every 2,000 feet above sea level. I do not know the exact math because I have never lived at altitude, but people who do report that pasta that takes 10 minutes at sea level can take 13 or 14 minutes in Denver. If you move to a high-altitude city, adjust your timing accordingly and taste more frequently while you learn the new baseline.
Quick Reference
Spaghetti: 8 to 10 minutes
Linguine: 9 to 11 minutes
Fusilli: 9 to 11 minutes
Penne: 10 to 12 minutes
Rigatoni: 11 to 13 minutes
Farfalle: 10 to 12 minutes
Pappardelle: 10 to 12 minutes
Angel hair: 4 to 6 minutes
Fresh pasta: 2 to 4 minutes
Gluten-free pasta: 6 to 8 minutes These are starting points, not rules. Always taste, always adjust, and always salt the water. The pasta will tell you when it is ready if you listen to it.
