T-cell exhaustion is a progressive loss of effector function and memory potential due to persistent antigen exposure, which occurs in chronic viral infections and cancer. Here we investigate the relation between gene expression and chromatin accessibility in CD8+ tumor-infiltrating lymphocytes (TILs) that recognize a model tumor antigen and have features of both activation and functional exhaustion. By filtering out accessible regions observed in bystander, nonexhausted TILs and in acutely restimulated CD8+ T cells, we define a pattern of chromatin accessibility specific for T-cell exhaustion, characterized by enrichment for consensus binding motifs for Nr4a and NFAT transcription factors. Anti-PD-L1 treatment of tumor-bearing mice results in cessation of tumor growth and partial rescue of cytokine production by the dysfunctional TILs, with only limited changes in gene expression and chromatin accessibility. Our studies provide a valuable resource for the molecular understanding of T-cell exhaustion in cancer and other inflammatory settings.