The Lindley distribution has been generalized by many authors in recent years. However, all of the known generalizations so far have restricted tail behaviors. Here, we introduce the most flexible generalization of the Lindley distribution with its tails controlled by two independent parameters. Various mathematical properties of the generalization are derived. Maximum likelihood estimators of its parameters are derived. Fisher’s information matrix and asymptotic confidence intervals for the parameters are given. Finally, a real data application shows that the proposed generalization performs better than all known ones.