After the Meiji Restoration and the resignation of Tokugawa Yoshinobu, the last Tokugawa shogun, the Imperial court moved from Kyoto to Tokyo and the former Tokugawa stronghold of Edo castle became the residence of the emperor. From 1888 to 1948, it was called kyūjō (宮城, "palace castle").
It was destroyed during the Second World War by bombing, but was rebuilt in the same style in 1968.