This article is devoted to the dynamical behavior of a stochastic modified Bazykin predator–prey model under regime switching. Some sufficient conditions are derived to guarantee the asymptotic properties, persistent and extinct of solutions by using the stochastic comparison theorem, Itô formula and exponential martingale inequality. At last, some simulations are given to illustrate our main results.