Olympiakos will fight it out with first-time Croatian champion Rijeka for a spot in the group stages of the Champions League.
The draw that took place on Friday pits the Greek champion against a team that is inexperienced in the competition, having never played in the Champions League. Rijeka has only featured in the Europa League group stage.
Following its trip to Belgrade, Olympiakos will therefore have to make another visit to a Balkan state, this time on the Dalmatian coast.
The draw has placed Olympiakos as the host for the first leg, scheduled for August 16, while the return leg is scheduled for August 22.
In the Europa League AEK will face Club Brugge, Panathinaikos will meet Athletic Bilbao and PAOK will clash with Oestersund of Sweden, on August 17 and 24.