The Buke shohatto, commonly known in English as the Laws for the Military Houses, was a collection of edicts issued by Japan's Tokugawa shogunate governing the responsibilities and activities of daimyō (feudal lords) and the rest of the samurai warrior aristocracy. These formed the basis of the bakuhan taisei (shogunate-domains system) which lay at the foundation of the Tokugawa regime. The contents of the edicts were seen as a code of conduct, a description of proper honorable daimyō behavior, and not solely laws which had to be obeyed. By appealing to notions of morality and honor, therefore, the shogunate was able to see its strictures followed despite its inability to enforce them directly.
The edicts were first read to a gathering of daimyō by the retired shōgun Tokugawa Ieyasu, at Fushimi Castle in the seventh lunar month of 1615. They had been compiled by a number of scholars in service to the shogunate including Ishin Sūden, and were aimed primarily at limiting the power of the daimyō and thus protecting the shogunate's control over the country.
The reigning shōgun at the time, Ieyasu's son Tokugawa Hidetada, formally promulgated the edicts shortly afterwards, and each successive shogun formally reissued them, reinforcing the restrictions on the daimyō and the control of the shogunate. Through these successive generations, however, the rules developed and changed significantly.
The samurai class should devote itself to pursuits appropriate to the warrior aristocracy, such as archery, swordsmanship, horsemanship, and classical literature.
Amusements and entertainments are to be kept within reasonable bounds and expenses for such activities are not to be excessive.
The han (feudal domains) are not to harbor fugitives and outlaws.
Domains must expel rebels and murderers from their service and from their lands.
Daimyō are not to engage in social interactions with the people (neither samurai nor commoners) of other domains.
Castles may be repaired, but such activity must be reported to the shogunate.