Nanzen-ji is the head temple of the Nanzen-ji branch of Rinzai Zen Buddhism, founded in 1291 on the site of a former imperial villa. Its two-story Sanmon gate, rebuilt in 1628, offers rooftop views over the temple grounds and inspired a famous kabuki play. The Hojo hall, a National Treasure, holds a raked rock garden attributed to Kobori Enshu and screen paintings by Kano Tan'yu. A red-brick Meiji-era aqueduct, the Suirokaku, cuts directly across the grounds, an unusual sight next to centuries-old wooden halls.
Emperor Kameyama founded Nanzen-ji in 1291, converting his retirement villa into a temple that later topped Kyoto's Gozan ranking of Zen monasteries. The complex was largely rebuilt after fires, including the Sanmon gate in 1628, which visitors can climb for a wooden walkway view over Sakyo-ku. Inside the Hojo, a National Treasure building, the Leaping Tiger rock garden and Kano-school tiger murals draw close study. Sub-temples including Nanzen-in, Tenju-an and Konchi-in each keep their own gardens, most requiring separate small entry fees. The Meiji-period Lake Biwa Canal aqueduct, still carrying water on brick arches, remains one of the grounds' most photographed features. The temple sits at the northern end of the Philosopher's Path.