Rubuta ci gaba don wannan sakin layi - Bayan Maido da Meiji, Sarkin Meiji ya ayyana shafin a matsayin gidan baƙi na jihar, kuma an ci gaba da amfani da shi a matsayin gidan baƙi na jihar har zuwa lokacin gina Rokumeikan. A cikin 1879, Sarkin Meiji ya karɓi Yarima mai jiran gado Frederick na Jamus a Hama-rikyū. Daga baya a wannan shekarar, tsohon Shugaban Amurka Ulysses Grant ya zauna na wata guda a Hama-rikyū a lokacin ziyararsa mai tsawo zuwa Japan. An rushe gidan baƙi na jihar a 1889. Lambunan sun ƙone a lokacin Girgizar Kanto ta 1923 da kuma a watan Maris na 1945 a lokacin harin jirgin sama na Tokyo
Ka yi haƙuri. A watan Nuwambar 1945, an canja Hama-rikyū daga Hukumar Kula da Gida na Imperial zuwa Tokyo Metropolis kuma an buɗe shi a matsayin lambun jama'a a watan Afrilu 1946. A cikin 1952, an sanya shi a matsayin Musamman Tarihin Tarihi na Musamman kuma a matsayin Wuri na Musamman na Kyau Mai Kyau.