Obama Castle(小浜城,Obama-jō?) is a castle located in Obama, Fukui Prefecture, Japan. The castle is also known as Unpin Castle(雲浜城,Unpin-jō?). In 1601 after receiving Wakasa Province due to successes in the Battle of Sekigahara, Kyōgoku Takatsugu (京極高次) built Obama Castle by using local fisherman as workers. In 1634 Sakai Tadakatsu (酒井忠勝) took control of the castle after the Kyōgoku family moved to Izumo near Matsue. He finally completed the castle tower with 113,000 stones in 1636 with the tower reaching a height of 29m.
Obama Castle was held by the Sakai family up to the Meiji Restoration in 1868. It was destroyed in a fire in 1871 after acting as the prefectural office since the Meiji Restoration, and only the stone walls remain today. The ruins are often referred to as Obama Castle Ruins(小浜城跡,Obama-jō Ato?) in tourist brochures. The castle grounds now has Obama-jinja (Obama Shrine), a Shinto shrine.