The loss-of-function of betaine aldehyde dehydrogenase 2 (BADH2) in rice leading to the accumulation of 2-acetyl-1-pyrrolidine (2AP), the substrate of enzymatic reaction, makes the rice flavor. The rice aroma allele BADH2-E2 has been widely used in aroma rice breeding in China. In this study, a PCR/LDR-based functional molecular marker was developed according to the 7bp deletion in the second exon of badH2-E2 aroma allele. Using PCR/LDR-based markers, the genotypes of Shenfan24, Shenfan26 and their F1 hybrids in the badH2-E2 locus could be accurately identified, and screening the F2 population derived from the cross of Shenfan24 and Shenfan26 shows that the segregation ratio of badH2-E2 positive homozygous, heterozygous and badH2-E2 negative homozygous were 1:2:1. The results of this study provide a new type of molecular marker for marker-assisted breeding and have certain application potential.