Machiya (町屋/町家) are traditional wooden townhouses found throughout Japan and typified in the historical capital of Kyoto. Machiya ('townhouses') and nōka ('farm dwellings') constitute the two categories of Japanese vernacular architecture known as minka ('folk dwellings').
Machiya originated as early as the Heian period and continued to develop through to the Edo period and even into the Meiji period. Machiya housed urban merchants and craftsmen, a class collectively referred to as chōnin ('townspeople').
The word machiya is written using two kanji: machi (町, 'town') and ya (家, 'house') or ya (屋, 'shop'), depending on the kanji used to express it.