The importance of microbial adaptation in the removal of environmental pollutants and in maintaining active microbial communities in impacted ecosystems is discussed using the biodegradation of p-nitrophenol and the volatilization of mercuric mercury as examples. A molecular mechanism of adaptation is suggested by enrichment of mercury resistance (mer) genes in some communities upon exposure to mercury.