In this paper, we introduce a general family of continuous lifetime distributions by compounding any continuous distribution and the Poisson–Lindley distribution. It is more flexible than several recently introduced lifetime distributions. The failure rate functions of our family can be increasing, decreasing, bathtub shaped and unimodal shaped. Several properties of this family are investigated including shape characteristics of the probability density, moments, order statistics, (reversed) residual lifetime moments, conditional moments and R´enyi entropy. The parameters are estimated by the maximum likelihood method and the Fisher’s information matrix is determined. Several special cases of this family are studied in some detail. An application to a real data set illustrates the performance of the family of distributions.