© 2016, CERN for the benefit of the CMS collaboration. A measurement of the forward–backward asymmetry AFBof oppositely charged lepton pairs (μμ and ee) produced via Z / γ∗boson exchange in pp collisions at √s = 8 TeV is presented. The data sample corresponds to an integrated luminosity of 19.7 fb-1collected with the CMS detector at the LHC. The measurement of AFBis performed for dilepton masses between 40 GeV and 2TeV and for dilepton rapidity up to 5. The AFBmeasurements as a function of dilepton mass and rapidity are compared with the standard model predictions.