Litchi downy blight (LDB) caused by Peronophythora litchii and anthracnose (AD) caused by Colletotrichum species are major pre- and postharvest disease of litchi fruit. Biocontrol agents such as Burkholderia has been applied for controlling postharvest fruit decay. In this work, an endophytic strain SZPT16 isolated from health litchi branch was identified as Burkholderia gladioli and exhibited strong antagonistic activity against mycelial growth and conidia/sporangia germination of two postharvest pathogens. Dual incubation of pathogen and biocontrol agents caused alterations in hyphal and conidial/sporangial structures and severe cell morphology changes such as mycelia deformation, cell wall collapse and cellular disorganization. Cell-free culture filtrates (CF, diluted at 25-fold) of B. gladioli SZPT16 showed an efficient inhibition on postharvest litchi decay by preharvest application (74.77 % protection) and postharvest application (64.68 % and 71.14 % protection for LDB and AD, respectively). Furthermore, UPLC-MS/MS metabolomic analysis identified 41 up-regulated differential metabolites, which mainly included nucleosides, nucleotides, and analogues, organic acids and derivatives, organic oxygen compounds, and organoheterocyclic compounds. This study firstly reported the efficacy of CF of B. gladioli SZPT16 in protecting postharvest litchi fruit against natural and inoculated pathogen infections. The overall results provide a promising alternative to chemical fungicides to control litchi postharvest decay.