Hakodate-yama (函館山: 334m) boasts one of the world’s most beautiful night views, as well as Hong Kong and Napoli, which looks like big wings crossing the ocean. The entire mountain was a military fort of Hakodate Yosai (函館要塞) from 1905 to 1945, you will find some old gun batteries around the ridge line, such as Goten-yama and Senjojiki.
Climbing to the summit just in 3 minutes, Hakodate-yama Ropeway (10am-10pm, to 0pm 16 Oct-24 Apr; return ¥1500) offers breaking views over the town and its bay. Sanroku-eki base station is about a 10-minute walk from Jujigai tram stop. More info 334.co.jp
From late April to mid November, mountain buses (登山バス: tozan bus) run between JR Hakodate Station stop 4 and the top of Hakodate-yama (30min; ¥400), as well as Sanroku-eki (15min; ¥240). An one-day pass is available.
Car & Motorcycle
The mountain road is closed to private cars, motorcycles and bikes between 5pm and 10pm (25 Apr-15 Oct), as well as in winter.
There are several hiking trails from the town such as Shomyo-ji and Tachimachi-misaki. You can hike up for around an hour. At the foot of the mountain, Hakodate-yama Fureai Center (函館山ふれあいセンター: 8.45am-5pm) has hiking maps, information of the old fort and nature.