Cationic and anionic castor oil-based waterborne polyurethanes (C-WPU/A and C-WPU/C) have great potential for development in agriculture. However, it is still unclear whether these polyurethanes are harmful or toxic to soil fauna. Based on multilevel toxicity endpoints and transcriptomics, we investigated the effects of C-WPU/A and C-WPU/C on earthworms ( Eisenia fetida). ). The acute toxicity results showed that C-WPU/A was highly toxic to the earthworms, whereas C-WPU/C was nearly nontoxic. C-WPU/A significantly affected the body weight, burrowing ability and cocoon production rate of earthworms compared to C-WPU/C. After exposure to C-WPU/ A, the results showed accumulation of reactive oxygen species (ROS), abnormal peroxidase activity, and increased malondialdehyde levels. Additionally, more serious histopathological damage was observed in earthworms, such as epidermal damage, vacuolization, longitudinal muscle disorganization, and shedding of intestinal epidermal cells. At the cellular level, C-WPU/A induced more severe lysosomal damage, DNA damage and apoptosis than C-WPU/A. C-WPU/A made more differentially expressed genes and considerably more enriched pathways at the transcriptional level than C-WPU/C. These pathways are largely involved in cell membrane signaling, detoxification, and apoptosis. These results provide an important reference for elucidating the selective toxicity mechanisms of C-WPU/A and C-WPU/C in earthworms.