Matsumae Castle is a castle located in Matsumae in Hokkaidō, Japan, and is the northernmost castle in Japan. The only traditional style Edo period castle in Hokkaidō, it was the chief residence of the han (estate) of the Matsumae clan.