First-arrival picking has long suffered from cycle skipping, especially when the first arrival is contaminated with noise or have experienced complex near surface phenomena. We propose a new algorithm for automatic picking of first arrivals using an approach based on unwrapping the phase. We unwrap the phase by taking the derivative of the Fourier-transformed wavefield with respect to the angular frequency and isolate its amplitude component. To do so, we first apply a damping function to the seismic trace, calculate the derivative of the wavefield with respect to the angular frequency, divide the derivative of wavefield by the wavefield itself, and finally take its imaginary part. We compare our derivative approach to the logarithmic one and show that the derivative approach does not suffer from the phase wrapping or cycle-skipping effects. Numerical examples show that our automatic picking algorithm gives convergent and reliable results for the noise-free synthetic data and noisy field data.