This paper proposes a spline mortality model for generating smooth projections of mortality improvement rates. In particular, we follow the two-dimensional cubic B-spline approach developed by Currie et al. (Stat Model 4(4):279–298, 2004), and adopt the Bayesian estimation and LASSO penalty to overcome the limitations of spline models in forecasting mortality rates. The resulting Bayesian spline model not only provides measures of stochastic and parameter uncertainties, but also allows external opinions on future mortality to be consistently incorporated. The mortality improvement rates projected by the proposed model are smoothly transitioned from the historical values with short-term trends shown in recent observations to the long-term terminal rates suggested by external opinions. Our technical work is complemented by numerical illustrations that use real mortality data and external rates to showcase the features of the proposed model.