Climate change is predicted to affect natural and plantation forests. The responses of conifers to overcome changing environments will depend on their adaptation to local conditions; however, intraspecific adaptive genetic variation is unknown for most gymnosperms. Studying genetic diversity associated with phenotypic variability along environmental gradients will enhance our understanding of adaptation and may reveal genetic pools important for conservation and management. We used target enrichment and genome skimming to obtain single nucleotide polymorphisms (SNPs) from 61 individuals of Pinus patula, a pine tree native to Mexico widely used in plantation forestry. We investigated the adaptive genetic variation of two varieties with morphological and distributional differences potentially related to genetic and adaptive divergence. Population structure and haplotype network analyses revealed that genetic diversity between P. patula var. patula and P. patula var. longipedunculata was structured, even within populations of P. patula var. longipedunculata. We observed high genetic diversity, low inbreeding rate, and rapid linkage disequilibrium (LD) decay in the varieties. Based on outlier tests, loci showing signatures of natural selection were detected in geographically distant P. patula var. longipedunculata populations. For both varieties, we found significant correlations between climate-related environmental variation and SNP diversity at loci involved in abiotic stress, cell transport, defense, and cell wall biogenesis, pointing to local adaptation. Overall, significant intraspecific adaptive genetic variation in P. patula was detected, highlighting the presence of different genetic pools and signs of local adaptation that should be considered in forestry and conservation.