Abstract: This article analyses instruments which are available to the government to correct environmental externalities. We assume that only the government has access to environmental maintenance activity, which is financed by levying taxes. The competitive equilibrium is therefore not optimal because the economy faces (i) a problem of public good supply, i.e. the maintenance activity, (ii) a pollution externality from private consumption, (iii) the selfishness of the short lived agents. We determine the optimal fiscal structure that allows the competitive equilibrium and the optimum to coincide. To determine the optimal level of environmental maintenance, we use the Samuelson rule, modified to take into account the relevant social rate of discount that incorporates the natural rate of depletion. We show that the considered optimal maintenance activity should not only neutralize the flow of emissions of pollutants but also increases the environmental quality. Otherwise, in the long run, the environmental amenities would disappear.