We consider a real-valued random walk which drifts to -∞ and is such that the step distribution is heavy tailed, say, subexponential. We investigate the asymptotic tail behaviour of the distribution of the upwards first passage times. As an application, we obtain the exact rate of convergence for the ruin probability in finite time. Our result supplements similar theorems in risk theory.