Stretching nearly 31 kilometers from the Progo River in the west to the Opak River in the east, Selokan Mataram is one of Yogyakarta's most significant historical infrastructures. Passing through six districts in Sleman Regency—Tempel, Seyegan, Mlati, Gamping, Depok, and Kalasan—the canal has served as a vital irrigation system for agriculture while witnessing the region's transformation over the past eight decades.
Construction of Selokan Mataram took place between 1942 and 1945, during the Japanese occupation of Indonesia. At that time, Yogyakarta faced the pressures of World War II and Japan's forced labor (romusha) policy. In response, Sri Sultan Hamengku Buwono IX proposed the construction of a major irrigation canal to improve agricultural productivity throughout the region. The Japanese military administration approved the proposal and reportedly provided funding of approximately one million guilders. During the occupation, the canal was officially known as Gunsei Y?suiro, meaning "Military Government Irrigation Canal."
For generations, the canal has been closely associated with the popular story that Sultan Hamengku Buwono IX cleverly protected his people from being sent away as forced laborers. By employing thousands of local residents in the canal's construction, the project reduced the number of workers recruited for labor outside Yogyakarta. This narrative has become an enduring part of Yogyakarta's historical identity.
More recent historical studies, however, suggest a more nuanced interpretation. Rather than a one-sided strategy, the construction of Selokan Mataram can also be viewed as a mutually beneficial arrangement between the Yogyakarta Sultanate and the Japanese administration. Japan sought to increase agricultural production to support its wartime logistics, while Yogyakarta gained a permanent irrigation network that strengthened food production and provided employment for local communities during a difficult period.
The canal also reflects Yogyakarta's long-standing agricultural heritage. From the late nineteenth century to the early twentieth century, the region was one of Java's important sugar-producing areas, supported by numerous sugar factories and extensive sugarcane plantations. Although the industry declined due to the global economic depression and World War II, the construction of Selokan Mataram demonstrated a continued commitment to agriculture as the backbone of the regional economy. This vision continued after Indonesian independence with the establishment of the Madukismo Sugar Factory, built on part of the former colonial sugar industry.
For nearly eighty years, Selokan Mataram has continued to supply water to thousands of hectares of farmland. Beyond irrigating rice fields, the canal also supports freshwater fish farming and contributes to water availability for surrounding communities. Its enduring function has made it one of the most important irrigation systems in the Special Region of Yogyakarta.
As Yogyakarta has grown into a major educational and tourism center, the landscape surrounding the canal has changed dramatically. Agricultural land has gradually given way to residential neighborhoods, commercial areas, hotels, restaurants, and university campuses. Major institutions such as Universitas Gadjah Mada, Yogyakarta State University, UPN Veteran Yogyakarta, STIE YKPN, and Atma Jaya University Yogyakarta are located near its banks. Despite these changes, Selokan Mataram remains both a vital waterway and a lasting symbol of resilience, cooperation, and visionary leadership in Yogyakarta's history.