Phthalate esters (PAEs) are globally used plasticizers and typical endocrine disruptors that can readily accumulate in agricultural products and represent a substantial risk to human health via the food chain. The range of soil properties has an important influence on the expression of PAE toxicity, and the mechanisms by which soil physical and chemical properties affect the expression of toxicity of target PAEs to plants and microorganisms requires further investigation. Important soil factors affecting the eco-toxicological effects of two typical PAEs, di-n-butyl phthalate (DnBP) and bis (2-ethylhexyl) phthalate (DEHP), on lettuce (Lactuca sativa) in a spiked soil were investigated in the present study. Soil at various pH values was spiked with three PAE concentrations (1, 5 and 20 mg DnBP or DEHP kg-1 soil), organic matter contents and water holding contents to simulate the greenhouse soil environment for 30 days. Their influence on the biomass, photosynthetic pigment contents, various physiological changes and soil microbial communities was determined as endpoints. The toxicity to lettuce of DnBP was higher than that of DEHP in the soil and soil pH was the most important factor affecting their single toxicity, followed by soil organic matter content and soil moisture content in agreement with the Biolog test results. Under different soil conditions total protein, total soluble sugar and free amino acid contents were positively correlated with concentrations of the target PAEs, but leaf area, biomass, •O2- activity, vitamin C content and soil microbial diversity indices showed the opposite trend. Chlorophyll a and carotenoid contents were more inhibited by DnBP together with impacts on indices of soil microbial diversity. The results suggest that soil conditions in greenhouses directly explain the patterns of pollutant toxicity displayed and impact the quantity, quality and food safety of vegetables produced using highly intensive production systems.