The powerful defender spent the past few days on the sidelines due to a head injury, but is raring to go again ahead of this weekend's Primera Division game
The Portugal international sustained a head injury in the Blancos' 1-1 league draw against Valencia last Sunday, and consequently missed the 3-2 Spanish Supercopa loss versus Barcelona on Thursday.
Nevertheless, the defender has now been given the green light to resume regular training action, and is expected to make his comeback against Getafe.
Pepe's return to the match squad means that Raul Albiol is likely to drop to the bench again after taking the former Porto star's place against Barca.
Madrid will be looking to record their first victory of the 2012-13 campaign on Sunday after failing to beat Los Che and Barca in their first two official games of the season.