Oral squamous cell carcinoma (OSCC) is the most common type of malignancy of the head and neck. In the present study, the expression of Toll-like receptor 4 (TLR4) and myeloid differentiation primary response gene 88 (MyD88) was evaluated in 55 OSCC tissues and their corresponding adjacent tissues using immunohistochemistry and reverse-transcription quantitative PCR. The results indicated that TLR4 and MyD88 were overexpressed in OSCC. Furthermore, high expression of MyD88 was negatively associated with a poor degree of differentiation, recurrence and metastasis of the tumor and was positively associated with underlying disease, including hypertension, heart disease and diabetes mellitus. Furthermore, high expression of TLR4 was positively associated with a long growth time of the tumor. In conclusion, the present study evaluated the expression levels of TLR4 and MyD88 in OSCC, as well as the association between them and clinicopathological factors, to provide markers for the prognosis and treatment of OSCC. These two genes may serve as biomarkers to optimize OSCC treatment, setting a new direction for stratifying patients and developing precise and personalized treatment regimens; the TLR4/MyD88 pathway may serve as a potential therapeutic target in the future.