This paper employs an endogenous growth model to study the growth and welfare effects of the golden rule of public finance. Two versions are compared, whereby government deficits are restricted for the use of public investments. It is shown that the growth effect of the golden rule depends on what kind of expenditure is adjusted to meet debt obligations. A transition from a balanced budget to a golden rule is performed to study welfare. The results indicate that a budget rule with detrimental growth effects can still have positive welfare implications, and vice versa, if the composition of government expenditures and transitional dynamics are taken into account.