Here, we show that fibrinogen-like protein 2 (Fgl2) is elevated in the setting of melanoma in humans and mice and plays a functional role in inhibiting the CD8+ T cell response. This evidence concerns the gene CD8A and melanoma.