You can eat a shrimp’s vein only when you cook it well. The dark brown or black vein running through a shrimp is the intestines of shrimp. Like any other intestine, shrimp’s intestine is also loaded with germs and can make you ill. Cook them well and don’t eat them raw!