Vibrio parahaemolyticus is a food-borne pathogen, which is often isolated from various seafood products. In this study, two kinds of bacteriophages was isolated from the offshore sediments samples. The anti-phage mutant strain were obtained after seventeen rounds of co-culture of Vibrio parahaemolyticus and mixed bacteriophage, multigroup sequencing was carried out on spontaneous the anti-phage mutant strain and the wild-type strain. We used the Sanger sequencing to verify the accuracy of the mutation sites. Biolog GEN III MicroPlates were used to evaluate the metabolic capacity of wild-type strains and the anti-phage mutant strain. In this study, we found that with flaG gene (slight homology to N terminus of multiple flagellins) mutated, making the bacteriophage unable to absorb to the cell surface of the host. And, the growth competitiveness of the anti-phage mutant strain is lower than the wild-type strain. These results indicated that the fitness cost, including loss of the growth competitiveness, constitutes a barrier to the prevalence of these defense mechanisms. And the selection pressure on different anti-phage strategies depends on the trade-off between mortality imposed by bacteriophages and fitness cost of the defense strategy under the given environmental conditions. In conclusion, this study provides valuable insights into the phage-host interaction and phage resistance in Vibrio parahaemolyticus. Our study provided knowledge for the evolutionary adaption of bacteria against the bacteriophage, which could add more information to understand the phage resistance mechanism before applying in the industry.