In 1644, Shōgun Tokugawa Iemitsu ordered the construction of a shrine to his deified grandfather, Tokugawa Ieyasu, near the location of his birthplace at Okazaki Castle. Sakai Tadakatsu and Matsudaira Masatsuna were assigned the task, which was completed on September 17, 1646. In 1917, it was merged with a nearby Hakusan and a Hiyoshi Jinja and was renamed "Tokiwa Jinja" (常磐神社). It received the rank of a village shrine (村社) under the State Shinto system's Modern system of ranked Shinto shrines.