Chronic infection with hepatitis B virus, cytomegalovirus and HIV is associated with defective immunity. Uncovering the mechanisms of immune deviation provides a platform for developing immune enhancing therapies to achieve viral immunity in chronic infection.