Ethnopharmacological relevanceBerberis lycium Royle, a member of the Berberidaceae family, is a high-value medicinal plant with a documented history of usage in traditional medicine and has demonstrated significant therapeutic results among local populations throughout the globe. It is used traditionally in many parts of Pakistan to treat diarrhea, abdominal spasms, coughs, and chest problems. Aim of the studyTo investigate the antispasmodic, bronchodilator, and antidiarrheal effects of B. lycium and its possible underlying mechanisms through in silico, in vitro, and in vivo studies. Materials and methodsLC ESI–MS/MS analysis was used to identify bioactive components within the hydromethanolic extract of B. lycium. In silico studies, including network pharmacology and molecular docking, were utilized to investigate the antispasmodic and bronchodilator properties of the extract's bioactive components. In vitro pharmacological studies were conducted using isolated rabbit jejunum, trachea, urinary bladder, and rat ileum preparations. In vivo antidiarrheal activities were conducted in mice, including castor oil-induced diarrhea, intestinal transit, and castor oil-induced enteropooling. ResultsThe LC ESI–MS/MS analysis of the hydromethanolic extract of B. lycium identified 38 bioactive compounds. Network pharmacology study demonstrated that the mechanism of BLR for the treatment of diarrhea might involve IL1B, TLR4, PIK3R1, TNF, PTPRC, IL2, PIK3CD, and ABCB1, whereas, for respiratory ailments, it may involve PIK3CG, TRPV1, STAT3, ICAM1, ACE, PTGER2, PTGS2, TNF, MMP9, NOS2, IL2, CCR5, HRH1, and VDR. Molecular docking research revealed that chlorogenic acid, epigallocatechin, isorhamnetin, quinic acid, gallic acid, camptothecin, formononetin-7-O-glucoside, velutin, caffeic acid, and (S)-luteanine exhibited a higher docking score than dicyclomine with validated proteins of smooth muscle contractions such as CACB2_HUMAN, ACM3_HUMAN, MYLK_HUMAN, and PLCG1_HUMAN. In vitro investigations demonstrated that Blr.Cr, Blr.EtOAc, and Blr.Aq relaxed spontaneously contracting jejunum preparations; carbachol (1 μM)-induced and K+ (80 mM)-induced jejunum, trachea, and urinary bladder contractions in a concentration-dependent manner, similar to dicyclomine. Moreover, Blr.Cr, Blr.EtOAc, and Blr.Aq exhibited a rightward shift in Ca+2 and carbachol cumulative response curves, similar to dicyclomine, demonstrating the coexistence of antimuscarinic and Ca+2 antagonistic mechanisms due to the presence of alkaloids and flavonoids. In vivo antidiarrheal activities showed that the hydromethanolic extract was significantly effective against castor oil-induced diarrhea and castor oil-induced enteropooling, similar to loperamide, and charcoal meal intestinal transit, similar to atropine, in mice at doses of 50, 100, and 200 mg/kg body weight, which supports its traditional use in diarrhea. ConclusionThe dual blocking mechanism of muscarinic receptors and Ca+2 channels behind the smooth muscle relaxing activity reveals the therapeutic relevance of B. lycium in diarrhea, abdominal spasms, coughs, and chest problems.