Eggplant is a globally widely cultivated vegetable. Here, the authors report the construction of pangenome based on 11 new and six existing chromosome-scale genomes assemblies, perform population genomic analyses of 226 accessions, and reveal structural variations associated with fruit color and bacterial wilt resistance.