The real-time dynamics of chiral phase transition is investigated in a twoflavor (N f = 2) soft-wall AdS/QCD model. To understand the dynamics of thermalization, we quench the system from initial states deviating from the equilibrium states. Then, we solve the nonequilibrium evolution of the order parameter (chiral condensate σ ≡ qq ). It is shown that the system undergoes an exponential relaxation at temperatures away from the critical temperature T c . The relaxation time diverges at T c , presenting a typical behavior of critical slowing down. Numerically, we extract the dynamic exponent z, and get z ≈ 2 by fitting the scaling behavior σ t −β/(νz) , where the mean-field equilibrium critical exponents (β = 1/2, ν = 1/2 and δ = 3) have been applied. More interestingly, it is remarked that, for a large class of initial states, the system would linger over a quasisteady state for a certain period of time before the thermalization. It is suggested that the interesting phenomenon, known as prethermalization, has been observed in the framework of holographic models. In such prethermal stage, we verify that the system is characterized by a universal dynamical scaling law and described by the initial-slip exponent θ = 0.