Chelsea reportedly pushed hard to bring the 26-year-old in during the January transfer window but they were unable to do so.
- Football latest updates - Liverpool close in on Werner, Ighalo to be in Man Utd squad
- Ajax defender Blind makes comeback after heart procedure
However they have now agreed a transfer for the summer the fee has been confirmed by Ajax to be €40m potentially rising to €44m depending on various performance bonuses.
Kolasinac to join Schalke on loan from Arsenal
Chelsea confirmed the deal saying "The move is subject to the player agreeing personal terms and he will remain at the Dutch club for the rest of this season."
Ziyech rejected a move to Sevilla last summer, saying at the time that he would only leave Ajax for the right club.
Ziyech becomes the first senior signing made by Frank Lampard since taking over as Chelsea boss.
The Blues had their transfer ban lifted for the January window but failed to make a signing.
Could Khedira really be heading for the Championship? – Euro Papers
Man Utd consider loan move for Henderson - Paper Round