Solanum commersonii (2n = 2x = 24, 1EBN, Endosperm Balance Number), native to the southern regions of Brazil, Uruguay, and northeastern Argentina, is the first wild potato germplasm collected by botanists and exhibits a remarkable array of traits related to disease resistance and stress tolerance. In this study, we present a high-quality haplotype-resolved genome of S. commersonii. The two identified haplotypes demonstrate chromosome sizes of 706.48 and 711.55Mb, respectively, with corresponding chromosome anchoring rates of 94.2 and 96.9%. Additionally, the contig N50 lengths are documented at 50.87 and 45.16Mb. The gene annotation outcomes indicate that the haplotypes encompasses a gene count of 39 799 and 40 078, respectively. The genome contiguity, completeness, and accuracy assessments collectively indicate that the current assembly has produced a high-quality genome of S. commersonii. Evolutionary analysis revealed significant positive selection acting on certain disease resistance genes, stress response genes, and environmentally adaptive genes during the evolutionary process of S. commersonii. These genes may be related to the formation of diverse and superior germplasm resources in the wild potato species S. commersonii. Furthermore, we utilized a hybrid population of S. commersonii and S. verrucosum to conduct the mapping of potato freezing tolerance genes. By combining BSA-seq analysis with traditional QTL mapping, we successfully mapped the potato freezing tolerance genes to a specific region on Chr07, spanning 1.25Mb, with a phenotypic contribution rate of 18.81%. In short, current research provides a haplotype-resolved reference genome of the diploid wild potato species S. commersonii and establishes a foundation for further cloning and unraveling the mechanisms underlying cold tolerance in potatoes.