TRENDEFRARAtlas of the Sultans · Reforms and law
Reform · Sultanic law · 15th–17th centuries

In the TDV Encyclopedia of Islam, Halil Inalcık defines the kanunname (law code) as the Ottoman term for laws laid down and compiled by the state. In general it meant a sultanic decree setting out legal provisions on a particular subject; in the 15th century the word yasakname was used in the same sense. Over time the term widened to cover regulations issued by viziers and pashas, laws clearly fixed by a competent authority and even reform projects. Yet a kanunname could acquire official force only through a decree of the sultan.
Kanunnames regulated public law, state organization, administration, taxation, criminal law and hisba (the supervision of markets). In this way a separate field of law, based on the sultan's customary (örfi) authority, grew up alongside religious law (sharia). A kanunname could be a single decree or patent, or a comprehensive text applied to the whole realm, to a particular region or to a particular social group.
According to Inalcık, written law codes in Islamic lands had two sources: the traditions of the ancient Middle Eastern cultures and the yasa tradition of the Turco-Mongol khanates. Ancient Iranian states had their tax laws carved in stone in public places to prevent officials from abusing them. In Mongol Iran the Yasa of Genghis Khan was the basis for military and political affairs, and despite the opposition of the ulema the terms yasakname or yasak continued to be used for laws drawn up by the ruler.
When the Ottomans conquered a region they generally kept its existing laws or applied them with minor changes. Thanks to this, the laws of the Mamluk sultan Qaitbay, of the Akkoyunlu ruler Uzun Hasan and of the Dulkadirid Alaüddevle have survived in their original form inside Ottoman kanunnames; Uzun Hasan's laws were applied in Eastern Anatolia from 1516 to 1548. In the Rumelian codes, too, pre-Ottoman institutions such as the baştina and the ispence tax stood side by side with Ottoman rules.

According to Inalcık, Mehmed II (the Conqueror) appears to be the first Muslim ruler to issue a compiled and officially promulgated law code binding on later generations, probably following the yasa and töre practice of the Turco-Mongol khans. Because the ulema objected to such compilations, sultans usually issued their laws as individual decrees, so compiled codes are few. Mehmed II issued two of them: one for the reaya (the tax-paying subjects) and one on the organization of the state.
The reaya code aimed to prevent abuses by the timar-holding cavalrymen (sipahis) who collected taxes directly from the population, and to fix fines and tax rates; judges (kadıs) and governors were to consult it when settling disputes. Its first three chapters contained penal provisions for Muslim and non-Muslim subjects alike, and the fourth listed the regular dues the peasants paid to the sipahi. Here seven cash dues were set as the equivalents of the seven traditional services the peasant owed the sipahi. Separate chapters regulated the obligations of the Yörük nomads, the ispence paid by Christian subjects and the bac dues collected in markets.
The code of state organization states at the outset that it was written to regulate the affairs of the state. It deals with the form and competences of government, the relations of statesmen with the sultan, ranks, promotion, pay, retirement and punishments. Inalcık stresses that it is unique of its kind; the organizational rules of later sultans were not as comprehensive. According to the TDV article on Bayezid II, this code also granted future sultans the right to put their brothers to death “for the order of the world” (nizam-ı alem), a provision that deeply shaped the struggles for the throne among princes.
The practice of placing a kanunname at the head of each province's detailed land-survey register began under Bayezid II. The oldest surviving provincial (sancak) code is found in the Hüdavendigar (Bursa) survey register of 1487 and served as a model for later ones. Confirmed with the sultan's tughra, these texts were meant above all to prevent disputes between peasants and timar holders; the governors' councils and the kadı courts had to decide in accordance with them. The principles behind them defined the Ottoman order under the name “Kanun-ı Osmani” (Ottoman law) and always concerned the tenure of state land (miri) and the status of the peasants.
Mehmed II's reaya code became the core of later general codes. In 1501, under Bayezid II, it was enlarged and revised and put into force as the Kitab-ı Kavanin-i Örfiyye-i Osmaniyye (Book of Ottoman Customary Laws). This text, in three main parts, opened with a more systematic version of Mehmed II's penal code, continued with the rights and duties of the sipahis and ended with the rights of the peasants and the conditions of state-land tenure. It also formed the basis of the code attributed to Suleiman the Magnificent (Kanuni).

The code of Selim I was not widely circulated, but it is notable for its later version enacted under Süleyman. In this process the chancellor (nişancı) Celalzade Mustafa Çelebi made important changes to the general codes. According to his TDV article, Celalzade served as chancellor without interruption for twenty-three years from 1534 and worked with the chief mufti (şeyhülislam) Ebussuud Efendi to make customary laws consistent with one another and with sharia. He is said to have played a large part in Süleyman receiving the epithet “Kanuni” (the Lawgiver).
According to the TDV article on Ebussuud Efendi by Ahmet Akgündüz, Ebussuud rendered important services in balancing customary and religious law, in preparing law codes and in setting the working rules of the courts; he had a large share in Süleyman's legal reforms. The principle that judgments and fatwas should follow the Hanafi school began to be written explicitly into the patents of judges and muftis in his time. His systematization of the legal basis of the state-land regime in the form of fatwas became the foundation of all later land regulations, and the code that organized the learned hierarchy (Ilmiye Kanunnamesi) was probably also his work.
In the crisis period that followed the 16th century, Süleyman's code came to be held up as the foundation of the classical Ottoman order. But the collapse of the timar system made much of it unusable, and in the 17th century a new compilation called the Kanunname-i Cedid (New Code) replaced it. Reaching its final form in 1673, it differed from the classical codes drafted by the chancellors in that it also included muftis' fatwas on land and sipahi matters. Kadıs recorded official codes in their court registers and were bound to follow them; the expressions “ma'mulün bih” (in force) and “mu'teber” (valid) expressed this binding character.
According to Inalcık, the concept of official law in the sense of European legal terminology entered the Ottoman state in the 19th century. Its influence first appeared in the military laws of Selim III and became more marked in the laws of the Tanzimat; some of them, such as the Commercial Code, were direct translations of European laws. European legal concepts now dominated the drafting of codes, regulations (nizamname) and the Mecelle.
Cite as: Atlas of the Sultans, “Ottoman kanunnames (law codes) · Reforms and law”, https://padisahlaratlasi.com/en/ottoman-reforms/ottoman-kanunnames-law-codes/ (last updated 29 November 2026). Corrections · Image credits