In this article, we introduce the command bsrwalkdrift, which is primarily intended to perform a bootstrap unit-root test under the null hypothesis of random walk with drift. The method implemented in this command is considerably more precise than the corresponding case of the conventional augmented Dickey–Fuller test, which can be inaccurate when the true value of the drift term is small relative to the standard deviation of the innovations. The command also has an option to account for deterministic linear trend and another option to perform bootstrap unit-root tests under the null hypothesis of random walk without drif