Described are uses of A2a adenosine receptor antagonists and agonists to provide long term modulation of immune responses. A2a receptor antagonists in particular are provided to enhance immune responses by reducing T-cell mediated tolerance to antigenic stimuli and agonists are provided to enhance effectiveness of immunosuppressive agents. The application provides methods of treatment and prevention based on the long term effects of the compounds on T cell responses.