Phytoene desaturase (PDS) is a plant enzyme involved in carotenoid biosynthesis. The PDS gene has been used as a selective marker for genome editing in several plant species, including banana (Musa spp.). Its knockout promotes dwarfism and albinism, characteristics that are easily recognizable and highly favorable. In Musa spp., the A genome increases fruit production and quality, whereas the B genome is associated with tolerance to biotic and abiotic stresses. The objective of this study was to identify a molecular marker in the PDS gene to easily discriminate the A and B genomes of banana. A 2166 bp fragment for the ‘PDSMa’ marker was identified as polymorphic for the A genome (identification accuracy of 99.33%), whereas ~332 and ~225 bp fragments were detected for the ‘PDSMb’ primer with 100% accuracy using MedCalc software. To the best of our knowledge, this is the first study to use the PDS gene to determine doses of the A genome and identify the B genome in Musa spp., which will aid in evaluating the genomic constitution of banana hybrids and accessions at the seedling stage, and accelerating their classification in crop genetic improvement programs.