The dynamics of entanglement in the one-dimensional spin-1/2 anisotropic XXZ model is studied using the quantum renormalization-group method. We obtain the analytical expression of the concurrence, for two different quenching methods, it is found that initial state plays a key role in the evolution of system entanglement, i.e., the system returns completely to the initial state every other period. Our computations and analysis indicate that the first derivative of the characteristic time at which the concurrence reaches its maximum or minimum with respect to the anisotropic parameter occurs nonanalytic behaviors at the quantum critical point. Interestingly, the minimum value of the first derivative of the characteristic time versus the size of the system exhibits the scaling behavior which is the same as the scaling behavior of the system ground-state entanglement in equilibrium. In particular, the scaling behavior near the critical point is independent of the initial state.