Phrae is one of the oldest cities in Thailand, with a history rooted in ancient times. It is believed that the settlement emerged during the period of influence of the Mon civilization and the Hariphunchai Kingdom, estimated to be between the 7th and 9th centuries. In ancient chronicles, the city is often referred to by the beautiful name Wiang Kosai, which translates as the "City of Silk Cloth." The full establishment of Phrae as a fortified city occurred after it became part of the Lanna Kingdom in the late 13th century. The city was surrounded by fortress walls and a moat, the remains of which can still be seen today, testifying to its important defensive status in those times.
The development of the city was predetermined by several important circumstances that turned it into a significant centre of the region:
- Geography and the Yom River: Phrae is located in the fertile valley of the Yom River. This waterway provided residents with water for rice fields and served as a key transport route connecting the northern regions with the central plains.
- Natural Wealth: The dense teak forests surrounding the city became the foundation of the economy. The extraction and trade of valuable timber attracted merchants and contributed to the prosperity of the region.
- Strategic Location: Located deep within the northern territories, the city served as an important transit point on the trade routes of the ancient Lanna state.
From its early years, the region's economy was based on forestry and crafts. The availability of teak wood gave rise to a unique architectural style: local craftsmen built magnificent wooden temples and residential houses with intricate carvings, many of which have survived to this day. These structures continue to delight travellers with their elegance and durability.
The cultural hallmark of the city became its textile production. Since ancient times, local residents have possessed the secrets of dyeing fabrics with natural dyes. It was here that the tradition of creating Mo Hom clothing originated—famous indigo-dyed cotton shirts, which became a symbol of the Northern Thai style and a recognisable souvenir for visitors to the province.