A method for removing contaminants such as pesticides and fungicides fromcannabinoidextracts. Cannabinoid extracts containing contaminants may be dissolved in awater and ethanolsolution, and then cooled to allow water-soluble contaminants to settle out ofthe mixture. Thewater and ethanol may then be removed via evaporation or distillation, leavingpurifiedcannabinoids without contaminants. Contaminant removal may be incorporatedinto a methodfor producing a blended extract of cannabinoids and terpenes, which extractsterpenes usingsupercritical CO2, and extracts a cannabinoid concentrate from the residualmaterial using a coldethanol flush followed by distillation and then by contaminant removal; theCO2-extractedterpenes are then added back to the purified cannabinoid concentrate in afinal blending step.Blending terpenes at the end of extraction may enhance the flavor andeffectiveness of thepurified cannabinoid concentrate.