The most prevalent and insidious type of kidney cancer is kidney clear cell carcinoma (KIRC). Thioredoxin-interacting protein ( TXNIP) encodes a thioredoxin-binding protein involved in cellular energy metabolism, redox homeostasis, apoptosis induction and inflammatory responses. However, the relationship between TXNIP, immune infiltration and its prognostic value in KIRC remains unclear. Thus, the present study evaluated the potential for TXNIP as a prognostic marker in patients with KIRC. Data from The Cancer Genome Atlas were used to assess relative mRNA expression levels of TXNIP in different types of cancer. The protein expression levels of TXNIP were evaluated using the Human Protein Atlas. Enrichment analysis of genes co-expressed with TXNIP was performed to assess relevant biological processes that TXNIP may be involved in. CIBERSORT was used to predict the infiltration of 21 tumor-infiltrating immune cells (TIICs). Univariate and multivariate Cox regression analyses were used to assess the relationship between TXNIP expression and prognosis. Single-cell RNA-sequencing datasets were used to evaluate the mRNA expression levels of TXNIP in certain immune cells in KIRC. The CellMiner database was used to analyze the relationship between TXNIP mRNA expression and drug sensitivity in KIRC. The results from the present study demonstrated that TXNIP expression was significantly decreased in KIRC tissue compared with that in normal tissue, as confirmed by western blotting and reverse transcription-quantitative PCR. In addition, downregulated TXNIP expression was significantly associated with poor prognosis, a high histological grade and an advanced stage. The Cell Counting Kit-8 assay demonstrated that TXNIP overexpression significantly suppressed tumor cell proliferation. Univariate and multivariate Cox regression analyses indicated that TXNIP served as a separate prognostic factor in KIRC. Moreover, TXNIP expression was significantly correlated with the accumulation of several TIICs and its overexpression significantly downregulated the mRNA expression levels of CD25 and cytotoxic T-lymphocyte-associated protein 4, immune cell surface markers in CD4 + T lymphocytes. In conclusion, TXNIP may be used as a possible biomarker to assess unfavorable prognostic outcomes and identify immunotherapy targets in KIRC.