A torii (鳥居?, literally bird abode, /ˈtɔəri.iː/) is a traditional Japanese gate most commonly found at the entrance of or within a Shinto shrine, where it symbolically marks the transition from the profane to the sacred (see sacred-profane dichotomy). The presence of a torii at the entrance is usually the simplest way to identify Shinto shrines, and a small torii icon represents them on Japanese road maps. They are however a common sight at Japanese Buddhist temples too, where they stand at the entrance of the temple's own shrine, called chinjusha (鎮守社?, tutelary god shrine) and are usually very small.
Their first appearance in Japan can be reliably pinpointed to at least the mid-Heian period because they are mentioned in a text written in 922. The oldest existing stone torii was built in the 12th century and belongs to a Hachiman Shrine in Yamagata prefecture. The oldest wooden torii is a ryōbu torii (see description below) at Kubō Hachiman Shrine in Yamanashi prefecture built in 1535.