The ships departed from the Ukrainian port of Chornomorsk, the ministry said on Twitter.
It added that two other ships coming from Ukraine and going to Ukraine will also be inspected in the north of Istanbul.
Türkiye, the UN, Russia, and Ukraine signed a deal last month to resume grain exports from the Ukrainian Black Sea ports of Yuzhny, Chornomorsk, and Odesa, which were halted due to the Russia-Ukraine war, now in its sixth month.
A Joint Coordination Center with officials from the three countries and the UN has been set up in Istanbul to oversee the shipments.