In this paper, we have considered a prey–predator model with Beddington-DeAngelis functional response and selective harvesting of predator species. Two delays appear in this model to describe the time that juveniles take to mature. Its dynamics are studied in terms of local analysis and Hopf bifurcation analysis. By analyzing the associated characteristic equation, its linear stability is investigated and Hopf bifurcations are demonstrated. The stability and direction of the Hopf bifurcation are determined by applying the normal form method and the center manifold theory. Numerical simulation results are given to support the theoretical predictions.