Objective To investigate the significance of lysyl oxidase like 2 (LOXL2) in tumor immune microenvironment, and to screen potential sensitive drugs. Methods The databases of TCGA and GTEx were used to analyze the expressions of LOXL2 in 33 categories of cancers. The TCGA database was used to analyze the mutation frequency of LOXL2, and the relation of LOXL2 expression with tumor mutation burden (TMB), microsatellite instability (MSI) and prognosis of cancer patients. The correlation between LOXL2 expression and immune cell infiltration level was analyzed by employing the TIMER database. The correlation between LOXL2 expression and expressions of immune checkpoint genes was analyzed by using the Assistant for Clinical Bioinformatics. The TISMO database was used to analyze LOXL2 expression between immune checkpoint blockade (ICB) therapy responders and non⁃responders, as well as control individuals. The TIDE database was used to evaluate the value of LOXL2 in predicting the response of immunotherapy. The GSCA database was used to screen sensitive drugs of LOXL2. Results Compared with normal tissues (paracancerous tissues), LOXL2 expression was elevated in 20 categories of cancer tissues, and decreased in 5 categories of cancer tissues (P<0.05). LOXL2 had different degrees and types of gene mutations in a variety of cancer categories. The expression of LOXL2 was correlated with TMB in 8 categories of cancers, and with MSI in 2 categories of cancers (P<0.05). High expression of LOXL2 was associated with poor prognosis of patients with cancer in multiple categories of cancers (P<0.05). The expression of LOXL2 was correlated with the level of immune cell infiltration and immune checkpoint genes expressions (P<0.05). LOXL2 expression was statistically significant different between responders in 10 groups of ICB therapy and control individuals, therein LOXL2 expression was elevated in 7 groups of responders. In 11 of the 21 studies involving the analysis of predictive value of LOXL2, the area under the curve of LOXL2 was greater than 0.5. The expression of LOXL2 negatively correlated with the IC50 of 12 categories of the top 30 sensitive drugs in the GDSC database. Conclusion LOXL2 is closely related to tumor immune microenvironment and is sensitive to multiple categories of cancer drugs, which can be used as a potential therapeutic target.