Endosperm starch synthesis is a primary determinant of grain yield and is sensitive to high temperature stress. The maize chloroplast-localized 6-phosphogluconate dehydrogenase (6PGDH), PGD3, is critical for endosperm starch accumulation. Maize also has two cytosolic isozymes, PGD1 and PGD2 that are not required for kernel development. We found that cytosolic PGD1 and PGD2 isozymes have heat stable activity, while amyloplast-localized PGD3 activity is labile under heat stress conditions. We targeted heat-stable 6PGDH to endosperm amyloplasts by fusing the Waxy1 chloroplast targeting peptide coding sequence to the Pgd1 and Pgd2 open reading frames. These WPGD1 and WPGD2 fusion proteins import into isolated chloroplasts demonstrating a functional targeting sequence. Transgenic maize plants expressing WPGD1 and WPGD2 with an endosperm specific promoter increased 6PGDH activity with enhanced heat stability in vitro. WPGD1 and WPGD2 transgenes complement the pgd3 defective kernel phenotype indicating the fusion proteins are targeted to the amyloplast. In the field, the WPGD1 and WPGD2 transgenes can mitigate grain yield losses in high nighttime temperature conditions by increasing kernel number. These results provide insight on subcellular distribution of metabolic activities in the endosperm and suggest the amyloplast pentose phosphate pathway is a heat-sensitive step in maize kernel metabolism that contributes to yield loss during heat stress.Significance StatementHeat stress reduces yield in maize by affecting the number of kernels that develop and the accumulation of seed storage molecules during grain fill. Climate change is expected to increase frequency and duration of high temperature stress, which will lower grain yields. Here we show that one enzyme in central carbon metabolism is sensitive to high temperatures. By providing a heat-resistant form of the enzyme in the correct subcellular compartment, a larger number of kernels develop per plant during heat stress in the field. This genetic improvement could be included as part of integrated approaches to mitigate yield losses due to climate change.