Ubiquitous distribution of pharmaceutical contaminants in environment has caused unexpected adverse effects on ecological organisms; however, how microorganisms recover from their toxicities remains largely unknown. In this study, we comprehensively investigated the effect of a representative pollutant, doxylamine (DOX) on a freshwater microalgal species, Chlorella sp. by analyzing the growth patterns, biochemical changes (total chlorophyll, carotenoid, carbohydrate, protein, and antioxidant enzymes), and transcriptomics. We found toxicity of DOX on Chlorella sp. was mainly caused by disrupting synthesis of ribosomes in nucleolus, and r/t RNA binding and processing. Intriguingly, additional bicarbonate enhanced the toxicity of DOX with decreasing the half-maximum effective concentrations from 15.34 mg L-1 to 4.63 mg L-1, which can be caused by inhibiting fatty acid oxidation and amino acid metabolism. Microalgal cells can recover from this stress via upregulating antioxidant enzymatic activities to neutralize oxidative stresses, and photosynthetic pathways and nitrogen metabolism to supply more energies and cellular signaling molecules. This study extended our understanding on how microalgae can recover from chemical toxicity, and also emphasized the effect of environmental factors on the toxicity of these contaminants on aquatic microorganisms.