Mahuang Xuanfei Zhike (MXZ) syrup, a Chinese patent medicine, has been widely used in the clinical treatment of cough. However, there is no reported method for the quantitative analysis of the effective components of MXZ syrup in biological samples. In this study, the effective components of MXZ syrup were screened by network pharmacology and molecular docking technology. A sensitive and rapid ultraperformance liquid chromatography-tandem mass spectrometry (UPLC-MS/MS) method was established to test the active components of MXZ syrup in rat plasma and tissue homogenates, including ephedrine, amygdalin, chlorogenic acid, harpagoside, forsythin and forsythoside A. Chromatographic separation was performed on a Waters Acquity UPLC HSS T3 column (2.1 Â 50 mm, 1.8 μm) and the mass analysis was conducted using a Waters Xevo TQ mass spectrometer using multiple reaction positive and negative ion simultaneous monitoring mode. The results showed that the linearity ranged from 0.3 to 409.4 ng/ml. The extraction recoveries were all <8.33%, and the matrix effects were all <8.45, which met the requirements. The pharmacokinetic and tissue distribution results indicated that the main active components of MXZ syrup were absorbed quickly and eliminated slowly in vivo, and there may be a reabsorption process.