Heat shock proteins (Hsps), acting as molecular chaperones, play a pivotal role in plant responses to environmental stress. In this study, we found a total of 192 genes encoding Hsps, which are distributed across all 12 chromosomes, with higher concentrations on chromosomes 1, 2, 3, and 5. These Hsps can be divided into six subfamilies (sHsp, Hsp40, Hsp60, Hsp70, Hsp90, and Hsp100) based on molecular weight and homology. Expression pattern data indicated that these Hsp genes can be categorized into three groups: generally high expression in almost all tissues, high tissue-specific expression, and low expression in all tissues. Further analysis of 15 representative genes found that the expression of 14 Hsp genes was upregulated by high temperatures. Subcellular localization analysis revealed seven proteins localized to the endoplasmic reticulum, while others localized to the mitochondria, chloroplasts, and nucleus. We successfully obtained the knockout mutants of above 15 Hsps by the CRISPR/Cas9 gene editing system. Under natural high-temperature conditions, the mutants of eight Hsps showed reduced yield mainly due to the seed setting rate or grain weight. Moreover, the rice quality of most of these mutants also changed, including increased grain chalkiness, decreased amylose content, and elevated total protein content, and the expressions of starch metabolism-related genes in the endosperm of these mutants were disturbed compared to the wild type under natural high-temperature conditions. In conclusion, our study provided new insights into the HSP gene family and found that it plays an important role in the formation of rice quality and yield.