 His contract was worth €9.5 million in total over the two-years, plus a €4,000 bonus for each match played.On 13 August, Pepe scored his first goal in a 2–0 home win against Antalyaspor.On 19 April 2018, in the second leg of the Turkish Cup against Fenerbahçe, he received his first red card for Beşiktaş after a tackle on Souza.