The composition of the tumor microenvironment is associated with a patient's prognosis and can be therapeutically targeted. A link between the cellular composition and genomic features of the tumor and its response to immunotherapy is beginning to emerge. Analyzing the microenvironment of tumor molecular subgroups can be a useful approach to tailor immunotherapies.