Ophiopogon japonicus, a plant that thrives in river alluvial dams, often faces waterlogging stress due to sustained rainfall and flood seasons, which significantly impacts its growth and development. Currently, the mechanisms of waterlogging tolerance in Ophiopogon japonicus are still unclear. This study analyzed the transcriptome and metabolome data for Ophiopogon japonicus in the Sichuan region (referred to as CMD) under varying degrees of waterlogging stress: mild, moderate, and severe. The results indicate that the group exposed to flooding stress exhibited a higher number of differentially expressed genes (DEGs) compared to the control group. Notably, most DEGs were downregulated and primarily enriched in phenylpropanoid biosynthesis, starch and sucrose metabolism, and plant hormone signal transduction pathways. A total of 5151 differentially accumulated metabolites (DAMs) were identified, with significantly upregulated DAMs annotated to two clusters, namely flavonoids such as apiin, pelargonin, and others. Furthermore, our study revealed significant upregulation in the expression of C2H2 (C2H2 zinc finger proteins) and AP2/ERF-ERF (the subfamily ERF proteins of APETALA2/ethylene-responsive element binding factors) transcription factors in CMD under flooding stress, suggesting their critical roles in enabling CMD to adapt to these conditions. In conclusion, this research provides insights into the intricate molecular mechanisms underlying CMD’s response to flooding stress and reports valuable genetic data for the development of transgenic plants with improved waterlogging tolerance.