The Sword Abolishment Edict (廃刀令 Haitōrei?) was an edict issued by the Meiji government of Japan on March 28, 1876 which prohibited people, with the exception of former lords (daimyo), the military and law enforcement officials, from carrying weapons in public. Violators would have their swords confiscated.
The Haitōrei was one of a series of steps taken by the government to abolish the traditional privileges of the samurai class. The first Haitōrei of 1870 prohibited farmers or merchants from wearing swords and dressing like samurai. This measure was in part an effort to restore public safety and order during the tumultuous period immediately after the Meiji restoration and during the Boshin War.
In 1871, the government issued the Dampatsurei Edict, forcing samurai to cut their top-knots and wear their hair in the Western manner. Universal military conscription was instituted in 1873, and with the creation of the Imperial Japanese Army, the samurai lost their monopoly on military service. The hereditary stipends provided to the samurai by their formal feudal lords (and assumed by the central government in 1871) were likewise abolished in 1873. The prohibition on wearing swords was controversial with the Meiji oligarchy, but the argument that it was an anachronism not in keeping with the westernization of Japan won out.