Thaw slowly in the fridge, or in a sealed bag in cold water if in a hurry. Avoid leaving it at room temperature
Deveining
Slip a toothpick between the second and third segments on the back and pull out the dark vein
Doneness
Cooked when the flesh turns from translucent grey to opaque white and pink
Overcooking
Long cooking makes shrimp tough and shrunken. Use high heat, briefly
Allergy
Shrimp is a major crustacean allergen, so tell guests when a dish contains it
Fresh and frozen shrimp
Shrimp in shops usually comes frozen in the shell, frozen peeled (cocktail or peeled shrimp), or fresh with heads on. Fresh shrimp tends to be in good shape when the shell is firm and glossy and the head is still attached firmly; avoid shrimp with blackened heads, soft bodies or an ammonia-like smell. Many frozen products have a thin ice glaze, so check the label to see whether the stated weight includes the ice. Some frozen shrimp is already cooked, so read whether the package says it must be cooked or is a cooked product before deciding on cooking time.
Thawing frozen shrimp
The safest way is to move it to the fridge the day before and thaw it slowly. When in a hurry, put the shrimp in a zip bag, press out the air and submerge it in cold water, changing the water when it warms up. Small peeled shrimp thaws after a short time under cold running water. Avoid hot water or long periods at room temperature, which can start cooking the outside or let bacteria grow. Cook thawed shrimp the same day rather than refreezing it, drain the melt water and pat dry with paper towels so it splatters less when fried and does not water down the dish.
Removing the vein
The dark line along the back is the digestive tract. It is not particularly harmful, but it can be gritty or bitter, so it is usually removed. With the shell on, push a toothpick or skewer shallowly between the second and third segments from the head and lift gently; the vein comes out with it. If it breaks, try again at another segment. For peeled shrimp, make a shallow cut along the back and lift the vein out with the knife tip, which also makes the shrimp open up nicely as it cooks.
Shells, tails and heads
To peel, pull off the legs on the belly side first, then open the segments one by one. For dishes where looks matter, such as tempura or grilling, leave the last tail segment on; cut the pointed tip of the tail at an angle and squeeze out the water with the back of a knife, since trapped water can make oil spit. Heads are good for stock or shrimp oil; trim off the sharp spike and mouth parts and rinse. Fry the shells and heads in butter or oil, add water and simmer to get a rich stock for pasta or soup.
Reducing fishy smell and seasoning
Toss the prepared shrimp with a little starch or flour, rub gently and rinse; the slime and smell wash off together. Rubbing with a little salt is also used. Pat it dry well after rinsing. Salt, pepper and a splash of cooking wine are enough for seasoning, and for a springy texture as in Chinese stir-fries, shrimp is sometimes coated with a little egg white and starch before cooking. Do not marinate too long, as acid or salt can make the flesh soft.
Prep and doneness by dish
For fried rice or pasta, use the shrimp whole or bite-sized; cook it first, set it aside and return it at the end so it does not toughen. For tempura, make a few diagonal cuts on the belly and press it flat so it curls less when fried. Shrimp is cooked when the flesh turns from translucent grey to opaque white and pink and the body curls into a C shape; a tight O shape is a sign it has gone tough. It depends on size, but a few minutes over high heat is usually enough.
Storage and safety
Raw shrimp spoils quickly, so prep it the day you buy it, keep it in the fridge and use it within a day or two; portion and freeze what you will not use soon, after patting it dry. Wash hands, boards and knives that touched raw shrimp before using them for vegetables or cooked food. Shrimp is a major crustacean allergen, so tell guests when food contains it, and people who have had symptoms should consult a professional. If hives or breathing difficulty appear after eating, contact medical services at once.
Do not refreeze thawed shrimp
Use a separate board and knife for raw shrimp, or wash them right away