Synthetic cannabinoids (SCs), which are considered some of the most widely abused new psychoactive substances available today, are much more potent than natural cannabis and display greater efficacy. New SCs can be developed by adding substituents such as halogen, alkyl, or alkoxy groups to one of the aromatic ring systems, or by changing the length of the alkyl chain. Following the emergence of the so-called first-generation SCs, further developments have led to eighth-generation indole/indazole amide-based SCs. Given that all SCs were listed as controlled substances on July 1, 2021, the technologies used to detect these substances must be quickly improved. Due to the sheer number of SCs, the chemical diversity and the fast update speed, it is challenging to determine and identify the new SCs. In recent years, several types of indole/indazole amide-based SCs have been seized, but systematic research on these compounds remains limited. Therefore, developing rapid, sensitive, and accurate quantitative methods to determine new SCs are of great importance. Compared with high performance liquid chromatography (HPLC), ultra performance liquid chromatography (UPLC) shows higher resolution, better separation efficiency, and faster analysis speeds; thus, it can meet the demand for the quantitative analysis of indole/indazole amide-based SCs in seized materials. In this study, a UPLC method was developed for the simultaneous determination of five indole/indazole amide-based SCs, including N-(1-amino-3,3-dimethyl-1-oxobutan-2-yl)-1-butyl-1H-indazole-3-carboxamide (ADB-BUTINACA), methyl 2-(1-(4-fluorobutyl)-1H-indole-3-carboxamido)-3,3-dimethylbutanoate (4F-MDMB-BUTICA), N-(1-methoxy-3,3-dimethyl-1-oxobutan-2-yl)-1-(5-fluoropentyl)-1H-indole-3-carboxamide (5F-MDMB-PICA), methyl 3,3-dimethyl-2-(1-(pent-4-en-1-yl)-1H-indazole-3-carboxamido)butanoate (MDMB-4en-PINACA), and N-(adamantan-1-yl)-1-(4-fluorobutyl)-1H-indazole-3-carboxamide (4F-ABUTINACA) in electronic cigarette oil; these SCs have been detected with increasing frequency in seized materials in recent years. The main factors influencing the separation and detection performance of the proposed method, including the mobile phase, elution gradient, column temperature, and detection wavelength, were optimized. The proposed method successfully quantified the five SCs in electronic cigarette oil via the external standard method. The samples were extracted using methanol, and the target analytes were separated on a Waters ACQUITY UPLC CSH C18 column (100 mm×2.1 mm, 1.7 μm) at column temperature of 35 ℃ and flow rate of 0.3 mL/min. The injection volume was 1 μL. The mobile phase consisted of acetonitrile and ultrapure water, and gradient elution was employed. The detection wavelengths were 290 and 302 nm. The five SCs were completely separated within 10 min under optimized conditions and showed good linear relationships between 1-100 mg/L, with correlation coefficients (r2) of up to 0.9999. The limits of detection (LOD) and quantification (LOQ) were 0.2 and 0.6 mg/L, respectively. Precision was determined using standard solutions of the five SCs at mass concentrations of 1, 10, and 100 mg/L. The intra-day precision (n=6) was <1.5%, and the inter-day precision (n=6) was <2.2%. Accuracy was determined by spiking electronic cigarette oil with low (2 mg/L), moderate (10 mg/L), and high (50 mg/L) levels of the five SCs, with six replicates per determination. The recoveries of the five SCs were 95.5%-101.9%, and their relative standard deviations (RSDs, n=6) were 0.2%-1.5%, with accuracies ranging from -4.5% to 1.9%. The proposed method showed good performance when applied to the analysis of real samples. It is accurate, rapid, sensitive, and effective for the determination of five indole/indazole amide-based SCs in electronic cigarette oil. Thus, it satisfies the requirements for practical determination and provides a reference for the determination of SCs with similar structures by UPLC.