Objective: To analyze the clinicopathological features and gene mutations of primary gastrointestinal stromal tumors (GISTs) of the stomach and intestine and the prognosis of intermediate- and high-risk GISTs. Methods: This was a retrospective cohort study. Data of patients with GISTs admitted to Tianjin Medical University Cancer Institute and Hospital from January 2011 to December 2019 were collected retrospectively. Patients with primary gastric or intestinal disease who had undergone endoscopic or surgical resection of the primary lesion and were confirmed pathologically as GIST were included. Patients treated with targeted therapy preoperatively were excluded. The above criteria were met by 1061 patients with primary GISTs, 794 of whom had gastric GISTs and 267 intestinal GISTs. Genetic testing had been performed in 360 of these patients since implementation of Sanger sequencing in our hospital in October 2014. Gene mutations in KIT exons 9, 11, 13, and 17 and PDGFRA exons 12 and 18 were detected by Sanger sequencing. The factors investigated in this study included: (1) clinicopathological data, such as sex, age, primary tumor location, maximum tumor diameter, histological type, mitotic index (/5 mm2), and risk classification; (2) gene mutation; (3) follow-up, survival, and postoperative treatment; and (4) prognostic factors of progression-free survival (PFS) and overall survival (OS) for intermediate- and high-risk GIST. Results: (1) Clinicopathological features: The median ages of patients with primary gastric and intestinal GIST were 61 (8-85) years and 60 (26-80) years, respectively; The median maximum tumor diameters were 4.0 (0.3-32.0) cm and 6.0 (0.3-35.0) cm, respectively; The median mitotic indexes were 3 (0-113)/5 mm² and 3 (0-50)/5 mm², respectively; The median Ki-67 proliferation indexes were 5% (1%-80%) and 5% (1%-50%), respectively. The rates of positivity for CD117, DOG-1, and CD34 were 99.7% (792/794), 99.9% (731/732), 95.6% (753/788), and 100.0% (267/267), 100.0% (238/238), 61.5% (163/265), respectively. There were higher proportions of male patients (χ²=6.390, P=0.011), tumors of maximum diameter > 5.0 cm (χ²=33.593, P<0.001), high-risk (χ²=94.957, P<0.001), and CD34-negativity (χ²=203.138, P<0.001) among patients with intestinal GISTs than among those with gastric GISTs. (2) Gene mutations: Gene mutations were investigated in 286/360 patients (79.4%) with primary gastric GISTs and 74/360 (20.6%) with primary intestinal GISTs. Among the 286 patients with gastric primary GISTs, 79.4% (227/286), 8.4% (24/286), and 12.2% (35/286), had KIT mutations, PDGFRA mutations, and wild-type, respectively. Among the 74 patients with primary intestinal GISTs, 85.1% (63/74) had KIT mutations and 14.9% (11/74) were wild-type. The PDGFRA mutation rate was lower in patients with intestinal GISTs than in those with gastric GISTs[ 0% vs. 8.4%(24/286), χ²=6.770, P=0.034], whereas KIT exon 9 mutations occurred more often in those with intestinal GISTs [22.2% (14/63) vs. 1.8% (4/227), P<0.001]. There were no significant differences between gastric and intestinal GISTs in the rates of KIT exon 11 mutation type and KIT exon 11 deletion mutation type (both P>0.05). (3) Follow-up, survival, and postoperative treatment: After excluding 228 patients with synchronous and metachronous other malignant tumors, the remaining 833 patients were followed up for 6-124 (median 53) months with a follow-up rate of 88.6% (738/833). None of the patients with very low or low-risk gastric (n=239) or intestinal GISTs (n=56) had received targeted therapy postoperatively. Among 179 patients with moderate-risk GISTs, postoperative targeted therapy had been administered to 88/155 with gastric and 11/24 with intestinal GISTs. Among 264 patients with high-risk GISTs, postoperative targeted therapy had been administered to 106/153 with gastric and 62/111 with intestinal GISTs. The 3-, 5-, and 10-year PFS of patients with gastric or intestinal GISTs were 96.5%, 93.8%, and 87.6% and 85.7%, 80.1% and 63.3%, respectively (P<0.001). The 3-, 5-, and 10-year OS were 99.2%, 98.8%, 97.5% and 94.8%, 92.1%, 85.0%, respectively (P<0.001). (4) Analysis of predictors of intermediate- and high-risk GISTs: The 5-year PFS of patients with gastric and intestinal GISTs were 89.5% and 73.2%, respectively (P<0.001); The 5-year OS were 97.9% and 89.3%, respectively (P<0.001). Multivariate analysis showed that high risk (HR=2.918, 95%CI: 1.076-7.911, P=0.035) and Ki-67 proliferation index > 5% (HR=2.778, 95%CI: 1.389-5.558, P=0.004) were independent risk factors for PFS in patients with intermediate- and high-risk GISTs (both P<0.05). Intestinal GISTs (HR=3.485, 95%CI: 1.407-8.634, P=0.007) and high risk (HR=3.753,95%CI:1.079-13.056, P=0.038) were independent risk factors for OS in patients with intermediate- and high-risk GISTs (both P<0.05). Postoperative targeted therapy was independent protective factor for PFS and OS (HR=0.103, 95%CI: 0.049-0.213, P<0.001; HR=0.210, 95%CI:0.078-0.564,P=0.002). Conclusions: Primary intestinal GIST behaves more aggressively than gastric GISTs and more frequently progress after surgery. Moreover, CD34 negativity and KIT exon 9 mutations occur more frequently in patients with intestinal GISTs than in those with gastric GISTs.