Shrimp cooks really fast. Raw shrimp only needs 8-10 minutes in the oven before it’s ready to eat. The best test is to look: if the shrimp is pink and opaque, it’s ready to eat.