How long should I cook pasta?

The cooking time for pasta can vary depending on the type and thickness of the pasta, as well as personal preference for its texture. Here are some general guidelines for cooking pasta:

1. Read the instructions: Most pasta packages provide cooking instructions, including recommended cooking time. It's a good starting point to follow the instructions provided.

2. Test for doneness: Begin checking the pasta for doneness a couple of minutes before the recommended cooking time. The best way to determine if the pasta is cooked to your liking is to taste it. Take a small piece and test its texture. Pasta should be cooked "al dente," which means it should be tender but still have a slight firmness or "bite" to it.

3. Time range for common pasta types: As a general guideline, here's an approximate cooking time range for some popular pasta types:

   - Fresh pasta: Fresh pasta usually cooks very quickly, typically within 1-3 minutes. Keep a close eye on it and test for doneness frequently.
   - Thin and delicate dried pasta (e.g., angel hair, thin spaghetti): 3-5 minutes.
   - Medium-sized dried pasta (e.g., penne, fusilli): 8-12 minutes.
   - Thick and large dried pasta (e.g., rigatoni, lasagna noodles): 12-15 minutes.

Remember that these are general guidelines, and it's important to taste the pasta to determine the desired level of doneness. Additionally, different brands or variations of pasta may have slightly different cooking times, so it's always a good idea to check the package instructions for specific recommendations.