This article is about historical Tokyo. For the city in Nigeria also known historically as Edo, seeBenin City. For other uses, seeEdo (disambiguation).
"Edo, Japan" redirects here. For Japan's history under the Tokugawa shogunate, seeEdo Japan.
"Yeddo" redirects here. Not to be confused withYedda. For the community in the United States, seeYeddo, Indiana.
Far beyond being just the seat of government, Edo matured into an unparalleled early‑modern metropolis under the Tokugawa shogunate. By the early 18th century, its population is believed to have exceeded1 million — making it, by many estimates, the largest city in the world at the time.[3]
The city's dramatic growth was the result of deliberate statecraft: reclaimed land from Edo Bay, meticulously planned streets, vast samurai estates, and a well‑engineered system of waterways. These elements supported a thriving society of samurai, townspeople (chōnin), and artisans, and enabled a dynamic economy, a rich urban culture, and sophisticated public order.
After the Meiji Restoration in 1868, the city was renamed Tokyo ("Eastern Capital"), and the emperor relocated from Kyoto. The Edo period (1603‑1868) left a legacy of urban brilliance whose echoes shaped modern Tokyo.
Before the 10th century, there is no mention of Edo in historical records, but for a few settlements in the area. That name for the area first appears in theAzuma Kagami chronicles, which have probably been used since the second half of theHeian period. Edo's development started in the late 11th century with a branch of the Kanmu-Taira clan (桓武平氏) called the Chichibu clan (秩父氏) coming from the banks of the then-Iruma River, present-day upstream of the Arakawa river. A descendant of the head of the Chichibu clan settled in the area and took the name Edo Shigetsugu (江戸重継), likely based on the name used for the place, and founded theEdo clan. Shigetsugu built a fortified residence, probably around the edge of theMusashino Terrace, that would become Edo castle. Shigetsugu's son,Edo Shigenaga (江戸重長), took the Taira's side againstMinamoto no Yoritomo in 1180 but eventually surrendered to Minamoto and became agokenin for theKamakura shogunate. At the fall of the shogunate in the 14th century, the Edo clan took the side of theSouthern Court, and its influence declined during theMuromachi period.
In 1456, a vassal of the Ōgigayatsu branch of theUesugi clan started to build a castle on the former fortified residence of the Edo clan and took the nameŌta Dōkan. Dōkan lived in the castle until his assassination in 1486. Under Dōkan, with good water connections to Kamakura,Odawara and other parts ofKanto and the country, Edo expanded as ajōkamachi, with the castle bordering a cove (nowHibiya Park) opening intoEdo Bay, and the town developing along the Hirakawa River running into the cove, and onEdomaeto (江戸前島), the stretch of land on the eastern side of the cove (now roughly whereTokyo Station is). Some priests and scholars fleeing Kyoto after theŌnin War came to Edo during that period.
After the death of Dōkan, the castle became one of strongholds of the Uesugi clan, which fell to theLater Hōjō clan at thebattle of Takanawahara in 1524, during the expansion of their rule over the Kantō area.
When the Hōjō clan was finally defeated byToyotomi Hideyoshi in 1590, the Kanto area was given to rule to Toyotomi's senior officerTokugawa Ieyasu, who took his residence in Edo.
Ieyasu's Initial Urban Vision and the Transformation of an Unformed Settlement (1590–1603)
When Tokugawa Ieyasu first entered Edo in 1590, the area was not yet a town or city in any meaningful sense. What existed was a small fortified residence—commonly called “Edo Castle” (Edo-jō)—consisting of only a handful of (small) buildings standing on the edge of theMusashino Plateau. To the east of the residence stretched nothing but wetlands, tidal inlets, marshes, and patches of undeveloped wasteland. There was no urban district, no planned streets, and no concentrated population.
Recognizing the strategic potential of the site, Ieyasu immediately initiated surveys of the surrounding topography, focusing on the plateau, the Hibiya inlet(日比谷入り江), and the low-lying marshland east of the "castle". These surveys formed the basis of his first deliberate urban plan. Under his direction, early engineering works began: preliminary modification of the Hibiya inlet, initial attempts to redirect the Hirakawa River, and the earliest stages of constructing outer moats and functional canals.
Although large-scale land reclamation and restructuring would accelerate only after Ieyasu's victory at the Battle of Sekigahara in 1600, the fundamentalconceptual blueprint for transforming Edo from an undeveloped landscape into a governable urban center was already established during this period. This development was not spontaneous or natural—Edo's growth began as an intentional political and military project shaped directly byIeyasu's vision and administrative control.
Tokugawa Ieyasu emerged as the paramount warlord of theSengoku period following his victory at theBattle of Sekigahara in October 1600. He formally founded the Tokugawa shogunate in 1603 and established his headquarters atEdo Castle. Edo became the center of political power and thede facto capital of Japan, although the historic capital ofKyoto remained thede jure capital as the seat of the emperor. Edo grew from a fishing village inMusashi Province in 1457 into the largestmetropolis in the world, with an estimated population of 1 million by 1721.[1][4]
The Great Reconstruction (1603–1630s)
After the shogunate was firmly established and especially after 1615, the Tokugawa regime undertook massive expansion works underTenka-Bushin (天下普請) :
Expansion of Edo Castle into one of the largest fortified complexes in the world
Large-scale cutting of the Musashino Plateau for earth
Construction of a vast water-control and canal network
The city expanded primarily eastward into reclaimed land, forming the basis ofShitamachi (下町), where townspeople (chōnin, 町人) lived and worked.Large-scale construction after 1600 was undertaken through shogunate-imposed public works known asTenka-bushin (天下普請), which were financed and carried out by thedaimyōs and their retainers. Although commonly described as “public works”, these projects were in fact compulsory obligations: the shogunate issued the plans, and the daimyō were required to allocate enormous funds and mobilize their retainer bands or hired laborers to execute them. This system enabledthe Tokugawa regime to reshape Edo's topography on a massive scale, transforming wetlands and coastal shallows into new urban districts.
These early projects laid the conceptual and physical groundwork for Edo's later transformation into a major political and urban center.
Development under the Second Shogun, Tokugawa Hidetada (1605–1623)
UnderTokugawa Hidetada, Edo's urban planning was expanded and systematized. Key developments during his tenure included:
Expansion of Edo Castle's administrative and residential compounds
Systematic layout of streets, bridges, and residential quarters for samurai, townspeople (chōnin), and temple/shrine precincts
Early water supply initiatives, including preliminary works that would later contribute to the Kanda and Tamagawa waterworks
Continued reclamation and development of lowlands along the eastern riverbanks
Hidetada's efforts consolidated Edo's status as the shogunate's administrative center and improved the city's livability, particularly for samurai and townspeople alike.
Development under the Third Shogun, Tokugawa Iemitsu (1623–1651)
Tokugawa Iemitsu oversaw the most ambitious infrastructural developments to date, with large-scale urban engineering projects and water supply systems. Notable accomplishments included:
Construction of theTamagawa Aqueduct (Tamagawa-jōsui, 玉川上水), completed in 1653, which transported water from theTama River to Edo for drinking and firefighting purposes
Expansion of theKanda Aqueduct (Kanda-jōsui,神田上水) to supply central districts, temples, and shrines
Extensive canal and moat works connecting rivers and facilitating transport and flood control
Further reclamation of coastal and marshland areas, enabling new districts to be established, particularly in theShitamachi (下町) region
Reinforcement and expansion of Edo Castle fortifications, as well as improved road access linking the castle to provincial routes
These projects under Iemitsu not only ensured reliable water supply and sanitation but also transformed Edo's topography into a structured, resilient urban landscape capable of supporting a rapidly growing population. By mid-17th century, Edo had become one of the largest and most systematically planned cities in the world, setting the stage for its peak population and urban complexity in the 18th century.
Very quickly after its inception, the shogunate undertook major works in Edo that drastically changed the topography of the area, notably under the Tenka-Bushin (天下普請) nationwide program of major civil works involving the now pacifieddaimyō workforce. The Hibiya cove facing the castle was soon filled after the arrival of Ieyasu, the Hirakawa river was diverted, and several protective moats and logistical canals were dug (including theKanda river), to limit the risks of flooding.Landfill works on the bay began, with several areas reclaimed during the duration of the shogunate (notably the Tsukiji area). East of the city and of theSumida River, a massive network of canals was dug.
Fresh water was a major issue, as direct wells would provide brackish water because of the location of the city over an estuary. The few fresh water ponds of the city were put to use, and a network of canals and underground wooden pipes bringing freshwater from the western side of the city and theTama River was built. Some of this infrastructure was used until the 20th century.
The city was laid out as a castle town around Edo Castle, which was positioned at the tip of theMusashino terrace. The area in the immediate proximity of the castle consisted of samurai anddaimyō residences, whose families lived in Edo as part of thesankin-kōtai system; thedaimyō made journeys in alternating years to Edo and used the residences for their entourages. The location of each residence was carefully attributed depending on their position astozama,shinpan orfudai. It was this extensive organization of the city for the samurai class which defined the character of Edo, particularly in contrast to the two major cities of Kyoto andOsaka, neither of which were ruled by adaimyō or had a significant samurai population. Kyoto's character was defined by the Imperial Court, thecourt nobles, its Buddhist temples and its history; Osaka was the country's commercial center, dominated by thechōnin or the merchant class. On the contrary, the samurai anddaimyō residences occupied up to 70% of the area of Edo. On the east and northeast sides of the castle lived thechōnin (町人; "townspeople") includingshomin (庶民; "commoner") in a much more densely populated area than the samurai class area, organized in a series of gated communities calledmachi (町, "town" or "village"). This area,Shitamachi (下町, "lower town" or "lower towns"), was the center of urban and merchant culture. Shomin also lived along the main roads leading in and out of the city. The Sumida River, then called the Great River (大川,Ōkawa), ran on the eastern side of the city. The shogunate's official rice-storage warehouses[5] and other official buildings were located here.
TheNihonbashi bridge (日本橋; lit. "bridge of Japan") marked the center of the city's commercial center and the starting point of thegokaidō (thus making it the de facto "center of the country"). Fishermen, craftsmen and other producers and retailers operated here. Shippers managed ships known astarubune to and from Osaka and other cities, bringing goods into the city or transferring them from sea routes to river barges or land routes.
The northeastern corner of the city was considered dangerous in the traditionalonmyōdō cosmology and was protected from evil by a number of temples includingSensō-ji andKan'ei-ji, one of the two tutelaryBodaiji temples of the Tokugawa. A path and a canal, a short distance north of Sensō-ji, extended west from the Sumida riverbank leading along the northern edge of the city to theYoshiwara pleasure district. Previously located near Ningyōchō, the district was rebuilt in this more remote location after the great fire of Meireki. Danzaemon, the hereditary position head ofeta, or outcasts, who performed "unclean" works in the city resided nearby.
Temples and shrines occupied roughly 15% of the surface of the city, equivalent to the living areas of the townspeople, with however an average of one-tenth of its population. Temples and shrines were spread out over the city. Besides the large concentration in the northeast side to protect the city, the second Bodaiji of the Tokugawa,Zōjō-ji occupied a large area south of the castle.
The samurai anddaimyōs residential estates varied dramatically in size depending on their status. Some daimyōs could have several of those residences in Edo. The upper residence (上屋敷,kami-yashiki), was the main residence while the lord was in Edo and was used for official duties. It was not necessarily the largest of his residences, but the most convenient to commute to the castle. The upper residence also acted as the representative embassy of the domain in Edo, connecting the shogunate and the clan. The shogunate did not exercise its investigative powers inside the precincts of the residential estate of the upper residence, which could also act as a refuge. The estate of the upper residence was attributed by the shogunate according to the status of the clan and its relation with the Shogun. The middle residence (中屋敷,naka-yashiki), a bit further from the castle, could house the heir of the lord, his servants from his fief when he was in Edo for thesankin-kotai alternate residency, or be a hiding residence if needed. The lower residence (下屋敷,shimo-yashiki), if there was any, was on the outskirts of town, more of a pleasure retreat with gardens. The lower residence could also be used as a retreat for the lord if a fire had devastated the city. Some of the powerfuldaimyōs residences occupied vast grounds of several dozens of hectares. Maintenance and operations of those residential estates could be extremely expensive. Samurai in service of a specific clan would normally live in the residence of their lord.
Thehatamoto samurais, in direct service of the Shogun, would have their own residences, usually located behind the castle on the Western side in theBanchō area.
"Panorama of Edo" fromMount Atago(愛宕山), showing thedaimyo residences. Photographed byFelice Beato around 1865–1866. This panorama, viewed from Atagoyama, captures Edo shortly before the Meiji Restoration. The Tokugawa shogunate, seeking to protect the city and its inhabitants, surrendered Edo peacefully. Nevertheless, the Meiji authorities subsequently ordered the demolition of many of the city’s grand daimyo residences, bringing an end to a cherished feudal landscape.
Typical roji andnagaya housingInterior ofnagaya (長屋) in a display at theFukagawa Edo Museum, showing typical living spaces of Edo commoners
Edo was a city with three main social groups: samurai (samurai, 武士), monks (sōryo, 僧侶), and townspeople (chōnin, 町人). Among the townspeople, roughly 70% were commoners (shomin, 庶民), making up about half of the total population of Edo.[6][7] These commoners lived in modest wooden housing callednagaya (長屋) orura-nagaya(裏長屋), which were typically long, single-story row houses, often built along narrow back streets. The commoners who lived in these backstreet nagaya were mostly artisans, craftsmen, laborers, small shop workers, and other lower-income members of the city. Many worked as woodworkers, carpenters, potters, tailors, metalworkers, or food vendors, providing essential goods and services to the community. The larger and more affluent townspeople lived in spacious residences with shops facing the main streets.
The backstreets, orroji (路地), were not merely narrow alleys for passage. They often widened behind their narrow entrances, forming communal spaces similar toSpanish patios or Italian cortiles. These roji served as multifunctional areas where children could play safely under the watchful eyes of their mothers. Women gathered around shared water basins to wash vegetables or laundry, and at the same time, exchanged gossip and news, observing their children at play. This intimate spatial arrangement fostered strong neighborhood ties and created a sense of community.[6]
Eachnagaya (長屋) orroji (路地) had a wooden gate calledroji-kido (路地木戸) ornagaya-kido (長屋木戸) that could be locked at night. These gates were generally closed around 6 PM (kure-mutsu, 暮六つ) and reopened around 6 AM (ake-mutsu, 明六つ).[6] The keys were held by the nagaya owner or trusted neighbors, helping to prevent late-night intrusions. This system gave residents a sense of safety and helped prevent nighttime crime among the common people, playing a crucial role in maintaining overall public order in Edo.
Shopkeepers and Landlords
In contrast to the compact and communal nagaya in the backstreets, more affluent townspeople operated shops along the main streets, known asomote-dana (表店). These shopkeepers, orooya (大家, landlords/householders), maintained larger, often two-story buildings, where the first floor was used for business and the second floor for their living quarters. Their prominent placement along the main streets signified both wealth and social status, distinguishing them clearly from the commoners in the backstreets.
Kidai shōran: by scrolling left, the viewer can see theomote-dana(表店), the shops and residences situated along Edo’s main streets.
Edo's municipal government was under the responsibility of therōjū, the senior officials who oversaw the entirebakufu – the government of the Tokugawa shogunate. The administrative definition of Edo was calledGofunai (御府内; litt. "where the government is").
TheKanjō-bugyō (finance commissioners) were responsible for the financial matters of the shogunate,[8] whereas theJisha-Bugyō handled matters related to shrines and temples. TheMachi-bugyō (町奉行) weresamurai (at the very beginning of the shogunatedaimyōs, laterhatamoto) officials appointed to keep the order in the city, with the word designating both the heading magistrate, the magistrature and its organization. They were in charge of Edo's day-to-day administration, combining the role of police, judge and fire brigade. There were two offices, the South Machi-Bugyō and the North Machi-Bugyō, which had the same geographical jurisdiction in spite of their name but rotated roles on a monthly basis. Despite their extensive responsibilities, the teams of the Machi-Bugyō were rather small, with 2 offices of 125 people each. The Machi-Bugyō did not have jurisdiction over the samurai residential areas, which remained under the shogunate direct rule. The geographical jurisdiction of the Machi-Bugyō did not exactly coincide with the Gofunai, creating some complexity on the handling on the matters of the city. The Machi-bugyō oversaw the numerous Machi where shonin lived through representatives calledMachidoshiyori (町年寄). Each Machi had a Machi leader calledNanushi (名主), who reported to aMachidoshiyori (町年寄) who himself was in charge of several Machis.
Water transport served as the logistical backbone of Edo. Bulk cargo, such as rice, timber, charcoal, salt, and other necessities, was carried primarily by boat, since Edo was built on low‑lying terrain with numerous rivers and canals. Studies of urban hydrology estimate that Edo's combined network of rivers, canals, and moats extended for roughly 160–200 kilometers, although the exact figure varies depending on definitional criteria.
A key artery in this network was theOnagigawa (Onagi River、小名木川), an artificial canal ordered by Tokugawa Ieyasu soon after his arrival in Edo, to secure a salt supply route from Gyōtoku to the city.[9] The Onagigawa connected to theKanda River (神田川) and the Nihonbashi River (日本橋川), forming part of a broader waterway system that linked Edo Castle, peripheral districts, and Edo Bay (present-dayTokyo Bay).[10] Historical studies of Edo logistics note that such canals were deliberately constructed to support large‑scale inland shipping.[11]
Landing points (“kashi”,河岸) along these waterways functioned as commercial hubs, each specialized in particular cargo—rice wharves, timber wharves, salt wharves, and so on.[12]
Aerial view of the Onagigawa (小名木川) canal, showing its full stretch from the Sumida River (隅田川) in the west to the Old Nakagawa (旧中川) in the east. The canal, approximately 5.3 kilometers long, was constructed in 1604 under the orders of Tokugawa Ieyasu to transport salt from Gyōtoku to Edo. Even 400 years later, the Onagigawa remains an active waterway, supporting both modern logistics and tourism in Tokyo. (Composite of six photographs taken in 1984)
FromNihonbashi (日本橋) in Edo, Tokugawa Ieyasu established theGokaidō (五街道, “Five Highways”), which radiated out to other provinces, forming the centralized road network of the shogunate.[13] These routes served not only for political and military movement (such assankin-kōtai), but also for commercial and civilian travel.[14]
Within Edo, most people travelled on foot. Officials or wealthy individuals usedkago (駕籠) (palanquins), while samurai sometimes rode on horseback. The road infrastructure—including bridges, pathways, and post‑stations—was designed to accommodate both foot and horse traffic, integrating profoundly with the waterborne transport system.[15]
During the Edo period, the city of Edo functioned as a vast economic center. Its economy was sustained by a complex system of consumption, supply, trade, rental, and resource circulation, shaped by both high-status samurai and townspeople (chōnin, 町人).
Manydaimyō (大名) and their retainers, under thesankin-kōtai (参勤交代) obligation, kept residences in Edo, which stimulated constant demand for goods — luxury items, building materials, household furnishings, and food. Their spending power helped drive the city's markets for both everyday and high-quality commodities.[16]In parallel, the townspeople (chōnin, 町人) — merchants and artisans — formed a large, economically active class. Among them, lower-income households made frequent use of rental services to access daily goods without owning them outright.[17]
Because Edo was densely urbanized with little arable land inside the city, many vegetables, fruits, and other farm products were supplied by the surrounding rural villages. Produce from the nearby lowland areas was delivered daily by boat via Edo's network of canals and waterways. In contrast, produce from the Musashino Plateau (武蔵野台地) was brought into the city overland, carried by farmers on foot or transported by handcarts along gently descending roads leading toward Edo.
Fish and Seafood
Fish and seafood from Edo Bay (modern Tokyo Bay) were landed daily at theNihonbashi fish quay (日本橋魚河岸). There wholesalers bought from fishers and then distributed to other dealers or retailers.[18]Retail sales included itinerant vendors known asbote-furi (棒手振り), who carried fish in baskets on a balancing pole (tenbin-bō) and walked through neighborhoods selling directly.[19]Contemporary sources suggest that the daily transaction value of the Nihonbashi fish market reached 100 ryō (両) per day, which would be roughly ¥10,000,000 in modern equivalent[20]
Salt was a staple commodity for Edo households, used not only in cooking but also in food preservation. Production primarily came from coastal salt fields usingiri-hama salt production techniques(入浜式 ).[21]Large volumes of salt from theSeto Inland Sea region and other coastal areas were transported to Edo via sea routes (coastal shipping).[22]In Edo, salt wholesalers (shio-donya, 塩問屋) distributed salt to both merchant households and commoners, helping ensure stable supply for urban consumption.[23]
The need for timber in Edo was immense: virtually all buildings were built of wood, and frequent fires meant constant demand for reconstruction.Much of the timber came from remote forest regions. Notably, theKiso (木曽, present-dayNagano Prefecture) region was a major supplier: under the so-calledKiso-style log transport method (木曽式伐木運材法), felled logs were floated down the Kiso River on rafts and subsequently shipped by river and by sea to Edo.[24][25] High-grade woods such asJapanese cypress (hinoki,檜) fromKiso (木曽) orKishu (紀州, present-dayWakayama Prefecture) were especially prized and used in samurai residences, temples, and official architecture.[26]In Edo, specialist timber wholesalers (材木問屋) near Nihonbashi, Kanda, and other riverfront locales sold wood to carpenters, builders, and affluent clients.[27]A key center for timber trade and storage wasKiba (木場), established in the Fukagawa area along the Sumida River.[27]The Kiba district was also advantageous because its waterways allowed forwater storage (floating logs in fresh or brackish water), preserving timber during transport and stockpiling.[28]
Charcoal (sumi,炭) was the dominant fuel for cooking and heating in Edo.[29] It was produced from wood and plant residues in managed coppice forests around Edo, for instance in theTama /Ōme region, which supplied both wood and charcoal.[30]Wood offcuts and residual timber were often burned, and the resultantash was collected by itinerant ash buyer (hai-gai, 灰買い).[31] This ash was then sold as fertilizer or used indyeing processes, such as inindigo dyeing (aizome,藍染), where the alkaline ash-water (haijiru, 灰汁) played a key role.[32]
In short, charcoal production, wood reuse, and ash recycling formed abiomass-based energy and material cycle.
Textiles — including silk, hemp, and cotton — played a central role in Edo's economy. These fabrics were produced in regional weaving centers and transported into Edo via coastal and inland water transport.[33]Refined garments such as silk kimono were sold ingofuku-shō (呉服商), i.e., high-end cloth shops targeting samurai and wealthy merchants. Meanwhile, the commons (庶民) acquired more modest clothing through local cloth shops or seamstresses. Some may have made their own garments, but many utilized tailors or seamstresses in longhouse communities to sew, repair, or remake clothes.
A distinctive feature of Edo's urban economy was its robustrental system, centered on shops calledsonryō-ya (損料屋), fromsonryō meaning “wear-and-tear compensation” (i.e., depreciation).[16]Items commonly rented includedcooking pots,pans,ceramics,futon,ceremonial dress andtravel gear.[34][16]The business model often included a deposit-like system: when the item was returned undamaged, part of the payment would be refunded.[35]High demand for rentals was driven by the frequent risk of fire in the city, which discouraged accumulation of many personal possessions. Lower-income townspeople in particular relied heavily on rental-shops (sonryō-ya) to furnish their daily lives with minimal capital outlay.[36]
Edo's economy was notable for how thoroughly it reused and recycled materials, forming a highly developed circular economy.
Paper: Usedwashi (和紙) was collected by itinerant paper-waste-buyer (kami-kuzu-gai, 紙屑買い), pulped, and re-formed intosukikaeshi paper (漉返紙). Some of the lower-grade recycled paper was used as “toilet paper” or for lightweight writing.[37]
Ash: As above, ash from charcoal and burned wood was collected by ash-buyer (hai-gai, 灰買い) and reused in agriculture (fertilizer) or for dyeing.[31]
metal-scrap and nails: There were itinerant metal-scrap collectors who went through neighborhoods. The metal-scrap collectors sometimes recruited neighborhood children by calling out “totteke-be” (とってけべえ), meaning “take it,” offering small candys or toys as incentives and encouraging them to pick up discarded nails not only from houses but also from backstreets,roji(路地).[38]
Repair & Reuse: Broken ceramics were repaired by specialists (yakitsugi-shi, 焼継師) who fused shards using a mixture (historically, an adhesive made from lead and other materials) and then refired them.[39]
In Edo, law enforcement was administered by themachi‑bugyō (town magistrates), a hybrid judicial‑administrative institution rather than a modern police force. These magistrates presided over both criminal justice and municipal governance, supported by samurai assistants and local collaborators. There were twomachi‑bugyō offices in Edo — the North and South magistrates — which alternated in managing civic order, investigations, and other legal matters.[40]
Each magistrate office employed a small number ofyoriki (与力), higher‑ranking samurai who served as inspectors and administrators, anddōshin (同心), lower-ranked samurai who conducted patrols, guarded prisons, and carried out investigations.[41] According to historical sources, each bugyō office typically had around25 yoriki and about120 dōshin, making a total police-administrative staff of about 50 yoriki and 240 dōshin for the city.[40][42]
Because the formal samurai contingent was limited, themachi-bugyō system also made use of auxiliary assistants known asokappiki (岡っ引), drawn from trusted townspeople byyoriki ordōshin. These men, often familiar with the underworld, aided in intelligence gathering, surveillance, and the apprehension of criminals.[43]
Though not formal government officials, some okappiki were entrusted with ajitte (十手)—a policing symbol—when participating in arrests.[44] Their tasks included registering and profiling suspects (ninsōgaki), collecting tip‑offs, aiding in investigations, and even direct involvement in arrests.
Below the okappiki were theshita-ppiki (下っ引), lower-level helpers who worked under them. They acted as informants, carried out street-level inquiries, and supported okappiki operations.[41] Compensation for both groups was largely informal: okappiki and their subordinates did not receive fixed salaries, but were rewarded by dōshin or yoriki, or shared in bounty payments when cases were resolved.[43]
Through this layered enforcement network — magistrates, samurai, and civilian auxiliaries — Edo managed to maintain public security even though its formal law-enforcement arm was limited in size relative to the city's population.
Fire was a perpetual and serious threat in Edo, famously captured in the saying “fire and quarrel are Edo's flowers.”The Great Fire of Meireki in 1657, which devastated a large portion of the city, prompted the formal establishment of firefighting mechanisms.[45]
By the mid‑Edo period, fire suppression was organized throughthree main types of brigades,hikeshi (火消) :
(1)daimyō hikeshi (大名火消), raised by certain daimyō from about 1643[46]
and (3)machi‑bikeshi (町火消), town firefighting groups composed of commoners — in particular,tobi (scaffolders) — organized under their own "kumi" (組, units), originally the “Iroha 48” groups.[48] Eachmachi‑bikeshi carried amatoi (纏), a banner symbolizing its unit, which became a powerful cultural icon of Edo's firefighting tradition.[49]
In this three‑tiered system — daimyō, samurai, and townspeople — Edo combined centralized command with community-based response, creating a resilient fire‑fighting network suited to the city's wooden architecture and dense urban fabric.
Edo was repeatedly devastated by fires, theGreat Fire of Meireki in 1657 being the most disastrous, with an estimated 100,000 victims and a vast portion of the city completely burnt. The population of Edo was around 300,000,[citation needed] and the impact of the fire was tremendous. The fire destroyed the central keep of Edo Castle, which was never rebuilt, and it influenced the urban planning afterwards to make the city more resilient, with many empty areas to break spreading fires, and wider streets. Reconstruction efforts expanded the city east of the Sumida River, and somedaimyō residences were relocated to give more space to the city, especially in the immediate vicinity of the shogun's residence, creating a large green space beside the castle, now the Fukiage gardens of theImperial Palace. During the Edo period, there were about 100 major fires, mostly begun by accident and often quickly escalating and spreading through neighborhoods of woodennagaya that were heated with charcoal fires.
In 1868, the Tokugawa shogunate was overthrown in theMeiji Restoration by supporters ofEmperor Meiji and hisImperial Court in Kyoto, ending Edo's status as thede facto capital of Japan. However, the new Meiji government soon renamed Edo toTōkyō (東京, "Eastern Capital") and the city became the formal capital of Japan when the emperor moved his residence to the city.