Jinaimachi

Imai-chō, Yamato (Kashihara, Nara)
Tondabayashi Jinaimachi, Kawachi (Tondabayashi, Osaka)

Jinaimachi (Jinaichō, Japanese: 寺内町, lit. 'town within the temple precincts') is a historical self-governing settlement, town or city that formed in Japan from the late medieval period to the early modern period, centered around Buddhist temples and dojos (gobō), mainly built by the Jōdo Shinshū sect. Often, jinaimachi had defensive buildings, such as being surrounded by moats and earthen ramparts, and were home to believers, merchants, and artisans.