How to get to Hakodate
Sukhoi37, CC BY-SA 4.0, via Wikimedia Commons
JR Train (Shinkansen) + JR Hakodate Liner
From Tokyo, take the Shinkansen on the Tohoku line to Shin-Hakodate-Hokuto (4 hours 20 minutes). From here you take the JR Hakodate Liner train (15 minutes). The one-way ticket costs 23760 Yen and there are only reserved seats (on the Shinkansen). These trains are included in the Japan Rail Pass.
Rsa, CC BY-SA 3.0, via Wikimedia Commons
Ltd. Express Hokuto
If you are in Sapporo, take the Limited Express Hokuto or Super Hokuto train. The train takes 3 hours and 40 minutes and costs 8910 Yen (non-reserved seat).
This train is included in the Japan Rail Pass.
Photo by Japanforeveryone.com
Plane
The city is served by Hakodate Airport. There are daily connections to Haneda Airport (Tokyo) by ANA and JAL companies from 13000 Yen. The flight takes about 80 minutes. The airport is then connected by the Hakodate Teisan Bus (20 minutes – 500 Yen).
663highland, CC BY-SA 3.0, via Wikimedia Commons
Getting around in Hakodate
Streetcars
The most convenient way of getting around Hakodate is by tram to the main tourist spots.
A single ticket costs between 210 and 260 Yen depending on the distance travelled.
There are two tram lines, the 2 and 5, which share most of the route.
A day pass can be purchased for 600 Yen.
You can use IC Cards such as Pasmo, Suica and Icoca (and all other compatible ones) to pay for a single ride.
Photo by Japanforeveryone.com