Infective endocarditis is caused by Streptococcus sanguinis present in dental plaque, which can induce inflammatory responses in the endocardium. The present study depicts research on the properties of apigenin in embryonic mouse heart cells (H9c2) treated with lipoteichoic acid (LTA) obtained from S.sanguinis. Interleukin-1β and cyclooxygenase (COX)-2 expression were detected by reverse transcriptase polymerase chain reaction. In addition, western blot assays and immuno-fluorescence staining were used to assess translocation of nuclear factor kappa beta (NF-κB), degradation of IκB, as well as activity of the mitogen activated protein kinases: extracellular signal-regulated kinase (ERK)1/2, p38, and c-Jun N-terminal kinase (JNK). Effect of apigenin on cell viability was equally assessed in other experimental series. Our results showed that apigenin blocked activation of ERK, JNK, and p38 in cardiomyocytes treated with LTA in a dose-dependent fashion. Moreover, apigenin showed no cytotoxic effects; it blocked NF-κB translocation and IκB degradation. Our findings suggested that apigenin possessed potential value in the treatment of infectious endocarditis.