On 25 August 2020, Ansarifard signed a three-year contract with Greek Super League club AEK Athens. On 1 October 2020, he scored the winning goal in the 90+4 minute, to achieve a 2–1 win against Wolfsburg in the 2020–21 UEFA Europa League play-off round.