Prognostic value of hematologic indices and their association with the tumor microenvironment (TME) remain unclear in advanced soft tissue sarcoma (STS). We aimed to evaluate their prognostic value and correlation with the TME status in advanced STS treated with first-line doxorubicin (DXR) therapy. Clinical data and three hematological indices, including lymphocyte-to-monocyte ratio (LMR), platelet-to-lymphocyte ratio, and neutrophil-to-lymphocyte ratio, were collected from 149 patients with advanced STS. The TME status was pathologically examined by CD3, CD68, and CD20 staining of resected tumor slides. In a multivariate Cox analysis, low LMR and absence of primary tumor resection were independently associated with worse overall survival (OS) (HR 3.93,p= 0.001; HR 1.71,p= 0.03). A prognostic model using these variables predicted OS with greater area under curves than those obtained using Systemic Inflammatory Score and Glasgow Prognostic Score. The LMR significantly correlated with the tumoral CD3/CD68-positive cell ratio in surgical specimens (R = 0.959,p= 0.04). In conclusion, LMR was a prognostic factor in advanced STS treated with first-line DXR therapy. LMR could partially reflect anti-tumor immunity in the TME and have the prognostic value. The potential role of LMR as an indicator of TME status warrants further investigation.