
Taipei to Keelung: Train, Bus, Time & Fare Guide
How to get from Taipei to Keelung by train or bus: times, fares, which train to board and a night-market day plan for 2026.
On this page
Last updated November 2026: the easiest way to do Taipei to Keelung is a Taiwan Railway local train from Taipei Main Station, which takes about 42–46 minutes. You can tap an EasyCard or another IC card at the gates, so you do not need to book. Keelung is 28 km away, which makes it an easy afternoon-and-evening trip built around Miaokou night market.
Featured image: melvil, CC BY-SA 4.0, via Wikimedia Commons.

Taipei to Keelung at a Glance
Taiwan Railway (TRA) local and fast-local trains make the run in roughly 42–46 minutes, with about 53 departures a day. Tze-Chiang limited express trains take 39–53 minutes but run only about 6 times a day. Buses take around 50 minutes. Prices and hours checked November 2026. An older traveller account put the local fare near NT$45, so budget a low single-digit-to-double-digit NT$ amount each way and read the exact fare on the Taiwan Railway timetable and fare page. High-speed rail does not serve this route, so you stay on the conventional network covered in our Taiwan trains guide.

Train, Bus or Taxi: Which to Choose
Locals win for most visitors. They leave often, cost little and use the same IC card you already carry. Take the Tze-Chiang only if one is about to leave and you do not mind the different ticket. Take the bus if you want to be dropped nearer the harbourfront. Use a taxi or ride-hail only when you have luggage or a late return.
Tze-Chiang runs about 6 times a day, so check the timetable before choosing it over a local train.

| Option | Typical time | Frequency | Board and alight | Best for |
|---|---|---|---|---|
| TRA local / fast local (區間車) | 42–46 min | About 53 a day | Taipei Main Station to Keelung Station | Cheapest, tap-and-go |
| TRA Tze-Chiang (自強號) | 39–53 min | About 6 a day | Taipei Main Station to Keelung Station | Saving a few minutes when timed well |
| Kuo-Kuang 1813 bus | About 50 min | About 40 a day | Taipei Station East Gate 3 to the Keelung transfer station | Arriving nearer the harbour |
| Taxi or ride-hail | Depends on traffic | On demand | Door to door | Luggage, late nights |
How to Take the Train from Taipei Main Station

Head for the TRA gates inside Taipei Main Station Guide: Trains, Transfers & Tips, not the MRT gates. Tap your EasyCard on entry the same way you would for the metro. Look at the platform display and the train front for the word Keelung (基隆). Not every northbound train goes there, so check the destination before you board. Local trains stop at many stations. Tze-Chiang services skip most of them. Expect long stretches in tunnels and a plain, commuter-style ride. A paper ticket for a reserved seat is only worth the effort on a Tze-Chiang; for locals, tapping is enough. Short hops rarely justify a pass, so see TRA ticket types and the TR Pass guide only if Keelung is one of many rides.
Taking the Bus

Kuo-Kuang Motor Transport runs the 1813 route from Taipei Station East Gate 3 to the Keelung transfer station. Expect about 50 minutes and around 40 departures a day. The bus works well if you are staying near the east side of Taipei Station or want to skip the station concourse. Road traffic can stretch the trip at peak hours, so the train is the safer pick when you have a fixed dinner or return plan.
Arriving in Keelung: First 30 Minutes
Walk out of Keelung Station and look for the Keelung tourist information centre beside the taxi rank. Grab a map there. Most sights cluster around the harbour, within easy walking distance of the station. Miaokou night market sits a short walk away, and the harbour front is the natural place to spend the first half hour before stalls fill up. For official visitor information, see the Keelung City Government site.

A Half-Day or Evening Plan
Aim to arrive mid-afternoon. Use the first hours for the harbour, then the hill climb to the Guanyin statue, which looks over Keelung Harbour. Expect a steep set of stairs and a sweaty ascent. Come back down before dusk and walk into Miaokou night market for seafood and street snacks. Look up near the market entrance for a small replica of the Statue of Liberty. Keelung is wet, so carry a compact umbrella. On a rainy day, keep to the covered market lanes and skip the climb. Heping Island's rock pools are another option on a dry day.
Add-Ons and Combos

A full day works best with one add-on, not three. Pair Keelung with the hill town in our Taipei to Jiufen guide for a half-day each. For a railway-themed day, read about the Pingxi Line Guide: Stations, Tickets & How to Ride from Taipei before you commit. Heading further along the coast is easier from the Taipei to Yilan route. Do not try to fit the night market and a second destination into the same evening unless your return train is set.
Getting Back to Taipei
Trains back to Taipei run on the same frequent pattern, so you rarely wait long. Plan to leave the market in time to reach Keelung Station before the last departure, and look up that time on the TRA timetable before you eat. The 1813 bus is a second option, and a taxi is the fallback for a missed train. Avoid weekday rush hours if you want a seat.
Kuo-Kuang's 1813 bus runs around 40 departures a day, so it is a real backup if your train back is missed.
Is Keelung Worth It? Who Should Skip
Keelung is worth it if you like food, harbour views and an easy transport day. Skip it if you only have a few hours and do not eat at night markets. Skip it too if you want a swimming-beach town. Go on a clear evening, and avoid a day when heavy rain would close the hill walk.
Frequently Asked Questions
Is there a train from Keelung to Taipei?
Yes. TRA local trains run from Keelung Station to Taipei Main Station about as often as they run the other way. Tap an IC card at the gates and check the platform display for the right destination.
What is the distance between Taipei and Keelung?
Keelung is about 28 km from Taipei. By local train that distance takes roughly 42–46 minutes.
Notes on Asia's railways
Optional updates when we revise our train and route guides.
You might also like
Continue reading
More guides you'll find useful
