BackgroundInfective Endocarditis (IE) and Sepsis are two closely related infectious diseases, yet their shared pathogenic mechanisms at the transcriptional level remain unclear. This research gap poses a barrier to the development of refined therapeutic strategies and drug innovation.MethodsThis study employed a collaborative approach using both microarray data and single-cell RNA sequencing (scRNA-seq) data to identify biomarkers for IE and Sepsis. It also offered an in-depth analysis of the roles and regulatory patterns of immune cells in these diseases.ResultsWe successfully identified four key biomarkers correlated with IE and Sepsis, namely CD177, IRAK3, RNASE2, and S100A12. Further investigation revealed the central role of Th1 cells, B cells, T cells, and IL-10, among other immune cells and cytokines, in the pathogenesis of these conditions. Notably, the small molecule drug Matrine exhibited potential therapeutic effects by targeting IL-10. Additionally, we discovered two Sepsis subgroups with distinct inflammatory responses and therapeutic strategies, where CD177 demonstrated significant classification value. The reliability of CD177 as a biomarker was further validated through qRT-PCR experiments.ConclusionThis research not only paves the way for early diagnosis and treatment of IE and Sepsis but also underscores the importance of identifying shared pathogenic mechanisms and novel therapeutic targets at the transcriptional level. Despite limitations in data volume and experimental validation, these preliminary findings add new perspectives to our understanding of these complex diseases.