Pufferfish are primarily carnivores, but they will occasionally eat plants. Their diet consists mostly of small invertebrates, such as crabs, shrimp, and worms. They have been known to eat other fish on occasion, but this is not common. Pufferfish usually hunt alone, but they will sometimes cooperate with other pufferfish to capture prey.