Pepe has been included in the Real Madrid squad for Wednesday night's Copa del Rey quarter-final second leg against Barcelona after coach Jose Mourinho called up every available player for the trip to the Camp Nou.
Pepe was at the centre of controversy following the first leg after appearing to deliberately step on the hand of Barca forward Lionel Messi, with the Spanish press branding the Portugal international "shameful" and "embarrassing" the following day.
The 28-year-old subsequently issued an apology, insisting the act, which was missed at the time by the referee, was unintentional.
Pepe missed Sunday's Primera Division match against Athletic Bilbao through injury but Mourinho confirmed on Tuesday that the defender would play if fit.
Barca lead 2-1 from the first leg at the Bernabeu.