This study aimed to clarify the relationship between grape (Vitis vinifera L.) quality and environmental factors (climate and soil), and to elucidate the theoretical basis and provide technical guidance for the rational planning of the cultivation area and the precise regulation of the cultivation mode in the future. The fruits of three different grape cultivars, Pinot Noir, Merlot, and Vidal, as well as soil samples and meteorological data were collected from three wine grape growing areas (Wuwei, Zhangye, and Jiayuguan) in the Hexi Corridor, Northwest China. Principal-component analysis (PCA) and correlation analysis were conducted to understand the relationship of grape quality with weather conditions and soil properties. The results showed that the titratable acid content of grape berries was significantly negatively correlated with average temperature from August to September, average minimum temperatures from August to September, and from April to October, mean annual minimum temperature, growing degree days from August to September, and soil total nitrogen content, and significantly positively correlated with average rainfall from April to October, annual mean rainfall, and soil available potassium content. In addition, the pH of grape juice was significantly negatively correlated with annual mean rainfall and soil available potassium content. However, it was significantly positively correlated with average temperature and average minimum temperature from August to September, average minimum temperature from April to October, growing degree days from August to September, as well as soil total nitrogen content. In addition, the results of PCA showed that the fruit quality scores of ‘Vidal’ in Jiayuguan, ‘Merlot’ in Zhangye, and ‘Pinot Noir’ in Wuwei were the highest, respectively. In conclusion, the contents of titratable acid, pH, and Brix° are greatly affected by climate and soil factors. ‘Vidal’, ‘Merlot’, and ‘Pinot Noir’ were suitable for planting in Jiayuguan, Zhangye, and Wuwei, respectively. Nowadays, few reports focus on the relationship between grape quality and soil and climate conditions. Based on the investigation and analysis of the differences of climate, soil, and grape berries quality in the three production areas of Hexi Corridor, the relationship among climate, soil, and grape quality by using statistical methods was studied, which could provide references for clarifying the reasons why environmental factors affect grape quality and select the suitable area for wine grape cultivation.