The OIB is Croatia's personal identification number. You cannot register ownership without one, because the deed itself must state it.
Zakon o zemljišnim knjigama art. 49(2) requires that deeds submitted as the basis for registration state the OIBs of the persons against whom and in whose favour registration is sought. This has been the law since 2019, not, as is sometimes written, since the 2024 amendment.
The requirement is nationality-neutral. It attaches to whoever is being registered. A Croatian buyer needs one too. The only difference is that a Croatian citizen already has one and you do not.
How to get one. A foreign person becomes an OIB holder when a "reason for tracking" arises in Croatia, and acquiring property is expressly one (Zakon o OIB-u art. 5(1)). You apply to the Tax Administration office for the area where the property is located; if that cannot be determined, to the Zagreb regional office. You need the completed application form, available in Croatian, English and German, and your passport. Failing a passport, an EU identity card or a national identity document plus proof of citizenship.
EU and EEA citizens can apply online through the europe.gov.hr system. Everyone else applies in Croatia, in person or through a representative.
You can use a representative. The power of attorney must be in Croatian or translated, and must be issued specifically for the OIB procedure. A power of attorney granted to a notary, lawyer, tax adviser, public body or bank does not require notarisation; one granted to a private individual does.
It is free. The Ordinance on the OIB art. 54 provides that no fee is charged, either for assigning the number or for issuing the certificate.
How long? No processing time is published for the standard procedure. The procedure is designed so the certificate is handed over at the counter.