Niclosamide (NIC) is a potent salicylanilide molluscicide/helminthicide commonly utilized for parasite and mollusc control in aquatic environments. Due to its persistent presence in water bodies, there is growing concern regarding its impact on aquatic organisms, yet this remains inadequately elucidated. Consequently, this study aims to assess the hepatotoxic effects and detoxification capacity of black carp (Mylopharyngodon piceus) in a semi-static system, employing various parameters for analysis. NIC was applied to juvenile black carp at three different concentrations (0, 10 and 50 μg/L) for 28 days in an environmentally realistic manner. Exposure to 50 μg/L NIC resulted in an increase in hepatic lysozyme (LYZ), alkaline phosphatase (ALP), and complement 4 (C4) levels while simultaneously causing a decrease in peroxidase (POD) activity. Additionally, NIC exposure exhibited a dose-dependent effect on elevating serum levels of LYZ, ALP, complement 3 (C3), C4, and immunoglobulin T (IgT). Notably, the mRNA levels of immune-related genes tnfα, il8, and il6, as well as nramp and leap2, were upregulated in fish exposed to NIC. RNA-Seq analysis identified 219 differentially expressed genes (DEGs) in M. piceus after NIC exposure, with 94 upregulated and 125 downregulated genes. KEGG and GO analyses showed enrichment in drug metabolism pathways and activities related to oxidoreductase, lip oprotein particles, and cholesterol transport at 50 μg/L NIC. Additionally, numerous genes associated with lipid metabolism, oxidative stress, and innate immunity were upregulated in NIC-exposed M. piceus. Taken together, these findings indicate that NIC has the potential to cause hepatotoxicity and immunotoxicity in M. piceus. This research offers important insights for further understanding the impact of molluscicide/helminthicide aquatic toxicity in ecosystems.