This paper studies optimal fiscal policy, in the form of taxation and the allocation of tax revenues between infrastructure and environmental investment, in a general-equilibrium growth model with endogenous subjective discounting. A green spending reform, defined as a reallocation of government expenditures toward the environment, can procure a double dividend by raising growth and improving environmental conditions, although the environment does not impact the production technology. Also, endogenous Ramsey fiscal policy eliminates the possibility of an “environmental and economic poverty trap.” In contrast to the case of exogenous discounting, green spending reforms are the optimal response of the Ramsey government to a rise in the agents' environmental concerns.