Salmonella Pullorum (S. Pullorum) and Salmonella Gallinarum (S. Gallinarum) are two biovars of Salmonella enterica serovar Gallinarum, responsible for pullorum disease and fowl typhoid, which are the most prevalent and pathogenic forms of salmonellosis in poultry in developing countries. Traditional differentiation methods for S. Pullorum and S. Gallinarum are based on distinct clinical manifestations and biochemical traits, given their indistinguishable nature via serological assays alone. Molecular differentiation methods such as allele-specific PCR and dual PCR combined with gel electrophoresis or enzyme digestion have also been used to discriminate S. Pullorum and S. Gallinarum, but the detection efficiency is not high. This investigation introduces a Fluorescence Resonance Energy Transfer (FRET) PCR assay targeting the pegB gene, exclusively found in specific Salmonella serovars such as S. Pullorum and S. Gallinarum, and exhibiting conserved single-nucleotide polymorphisms across these two biovars. High-resolution melting curve analysis demonstrates distinct dissolution profiles, facilitating the precise discrimination of S. Pullorum and S. Gallinarum. This FRET-PCR assay exhibits a detection limit of 10 copies per reaction and has been rigorously validated utilizing 17 reference strains and 39 clinical isolates. The innovation presented herein provides a valuable tool for the rapid differentiation of S. Pullorum and S. Gallinarum, thereby enhancing diagnostic efficiency and molecular surveillance of poultry Salmonella. The developed pegB-targeting FRET-PCR assay presents a promising alternative to current cumbersome and time-consuming diagnostic modalities, offering significant potential for expedited identification and control of Salmonella in poultry and mitigating economic losses associated with Salmonella contamination in poultry production.