New technology has been credited with solving environmental problems by mitigating the effects of pollutants. We construct a general equilibrium model in which abatement technology is a real option and pollution's (negative) amenity value alters both risk aversion and the intertemporal elasticity of substitution. We derive the tax scheme such that in a decentralized economy agents adopt the abatement technology at the time that is socially optimal. We show that the higher the greenness of preferences, the earlier the adoption and the higher the optimal tax rate. We also obtain that adoption is fostered by uncertainty if the effective intertemporal elasticity of substitution is large enough, but is not affected by uncertainty if this elasticity is low. Moreover, the optimal tax rate, which only exists if the effective intertemporal elasticity of substitution is high, is an increasing function of uncertainty.