← Back to Biblioteca Joanina Tickets home
The gilded noble floor of the Biblioteca Joanina in Coimbra — the reward at the top of the hill after the train journey from Lisbon or Porto. Skip-the-line available

Coimbra by Train: From Lisbon and Porto to the Library Door

Alfa Pendular versus Intercidades, the two Coimbra stations, the connecting shuttle, and how to time the rails around your Biblioteca Joanina slot.

Updated August 2026 · Biblioteca Joanina Tickets Concierge Team

Coimbra sits almost exactly on the main line between Portugal's two great cities, which is why the train is the natural way to reach the Biblioteca Joanina: fast services from Lisbon and Porto run all day, and the university crowns a hill you can see from the carriage window as you arrive. But Coimbra hides a small trap for first-time visitors — the fast trains do not stop in the city centre. They call at Coimbra-B, a through-station on the edge of town, and a short connecting hop covers the final stretch to the central station by the river. Miss that detail and you can lose half an hour you had budgeted for the climb to the university; understand it and the whole journey, from a Lisbon or Porto platform to the door of King João V's gilded library, becomes one smooth, timed sequence. This guide covers the services, the stations, the shuttle and the uphill last kilometre — and how to fit all of it around a library slot that will not wait.

The two Coimbra stations — B and A, and why it matters

Coimbra has two railway stations that share a name and divide the labour. Coimbra-B is the mainline station: it sits on the Lisbon–Porto trunk route on the flat ground north-west of the centre, and it is where every Alfa Pendular and Intercidades service stops. Coimbra — often written Coimbra-A by locals precisely to avoid this confusion — is the small terminus in the heart of the lower town, a few steps from the river and the pedestrian streets of the Baixa. The fast trains physically cannot reach Coimbra-A; only the short connecting trains run into it. So whatever your ticket says, your long-distance journey ends at Coimbra-B, and the final approach into the city is a separate, brief leg.

The distance between the two is not dramatic — Coimbra-B is roughly a twenty-minute walk from the centre — but it is an unlovely walk along a busy road, and with luggage or a booked library slot ahead of you it is a walk worth skipping. A connecting shuttle train covers the gap in a few minutes and departs about a dozen times an hour, so you rarely wait long. Taxis and ride-hail cars also queue at Coimbra-B, and for a small group heading straight up to the university they can be the simplest door-to-door option, cutting out both the shuttle and the steepest part of the climb in one move.

The practical rule is this: plan your journey to Coimbra-B, then treat everything after it — shuttle, taxi or walk — as a separate fifteen-to-thirty-minute stage before you even start the ascent to the university. Travellers who think of the train time as the whole journey routinely arrive at the bottom of the hill with less margin than they wanted. Those who plan the last mile as its own leg step off the shuttle unhurried, coffee in hand, with the climb to the Alta still comfortably ahead of schedule.

From Lisbon: Santa Apolónia, Oriente and the choice of train

From Lisbon, long-distance trains to Coimbra-B leave from two stations, and you can board at either. Santa Apolónia is the classic riverside terminus east of the old centre, at the end of the blue metro line; Oriente, the dramatic modern interchange at Parque das Nações, sits on the red metro line and is often more convenient if you are coming from the airport side of the city. The same trains call at both — Santa Apolónia first, Oriente a few minutes later — so the choice is purely about which is easier to reach from where you are staying.

Two classes of service make the run. The Alfa Pendular, Portugal's fastest tilting train, covers Lisbon to Coimbra-B in about 1 hour 43 minutes; the Intercidades takes a shade over two hours. Both are comfortable, air-conditioned and carry a café car; the Alfa Pendular is the newer train with a little more legroom, and it is the one to favour when your library slot leaves no slack. Departures begin around half past six in the morning and continue every thirty to sixty minutes through the day until about ten at night, which means an early start from Lisbon puts you in Coimbra comfortably before a late-morning library entry.

For a day trip built around the Biblioteca Joanina, the arithmetic is friendly. An early Alfa Pendular from Lisbon has you at Coimbra-B before ten; the shuttle and the climb bring you to the Paço das Escolas around half past; and a midday library slot leaves the whole afternoon for the palace, the chapel and the old town before an evening train home. The reverse — leaving the booking loose and hoping to walk in — is where day-trippers come unstuck, because the library sells by timed entry and the day's slots can be gone before your train has even left Lisbon. Book the slot first, then choose the train that serves it.

From Porto: Campanhã, São Bento and a faster run south

Porto's long-distance trains leave from Campanhã, the big interchange east of the centre — not from the tile-lined splendour of São Bento in the heart of town. The two are linked by an almost continuous procession of local trains that make the hop in about four minutes and are covered by your onward ticket, so the standard move is simple: board any train at São Bento, change across the platform at Campanhã, and settle in for the run south. Campanhã is also on the Porto metro, if that suits your starting point better.

The journey to Coimbra-B is shorter than from Lisbon: about 1 hour 14 minutes on the Alfa Pendular and around 1 hour 22 minutes on the Intercidades — close enough that the first departing train is usually the right one, whichever class it is. Services run from before six in the morning until deep into the night, roughly hourly, so Coimbra works effortlessly as a day trip from Porto: an early train south, a late-morning library slot, an afternoon in the Alta and the Baixa, and an evening service home with time to spare.

Porto travellers hold one further advantage: because the run is so short, even a mid-morning departure can still make an early-afternoon library entry. That flexibility is worth using deliberately — pick the library slot you actually want first, quietest early or golden late, and then work backwards to the train. With barely 75 minutes of rails between Campanhã and Coimbra-B, the train is never the constraint; the timed library entry always is.

The last kilometre — shuttle, riverside and the climb to the Alta

Step off at Coimbra-B and follow the flow: the connecting shuttle to the central station leaves from its own platform, runs about a dozen times an hour, and delivers you to Coimbra-A in a few minutes, right at the foot of the old town. From the station forecourt the Baixa unfolds immediately — the pedestrian Rua Ferreira Borges, the cafés, the mosaic pavements — and the university is visibly above you, crowning the hill the Portuguese call the Alta. What remains is the climb, and it deserves respect: a steep ten-to-fifteen-minute ascent through the medieval lanes of the upper town.

There are three honest ways up. On foot, the climb through the old quarter is the most atmospheric arrival the university has — narrow stepped streets, glimpses of the river behind you, and the Paço das Escolas opening suddenly at the top — but it is genuinely steep, and in summer heat or with limited mobility it can be punishing. Local buses climb from the lower town towards the university quarter and spare you most of the gradient. And a taxi or ride-hail from either station takes you directly to the top for a modest fare, which is the sensible default if your library slot is close, the day is hot, or stairs are a problem.

Whichever way you ascend, aim to be at the top with at least twenty minutes in hand before a booked library entry. The ticket office and the entrances sit within the university complex on Rua Larga, and first-time visitors always underestimate how long it takes to orient themselves in the Paço das Escolas, find the library door and simply stop looking at the view over the Mondego. The climb is part of the experience — the university was built to be looked up at — but it is far more enjoyable as a leisurely arrival than as a sprint against a timed slot.

Tickets, seats and timing the rails around your library slot

Portuguese long-distance trains are all-reserved: your ticket carries a specific train, carriage and seat, and you must buy before boarding rather than settling up on the train. Tickets are sold at station counters and machines and on the national operator CP's website, where booking ahead is straightforward and occasionally cheaper than walking up on the day. For a trip anchored to a timed library entry, buying the outbound train in advance is less about price than certainty — you want a seat on a specific service, not the next one with space.

Sequence the bookings in the right order. The Biblioteca Joanina is the scarce, timed element of the day — entry runs in short slots for small groups, and the time on your ticket is your library entry time — so secure that first, then choose trains that bracket it generously. A sound rule of thumb from Lisbon is to be on a train at least three hours before your slot; from Porto, two and a half. That allows for the shuttle, the climb, a coffee and the inevitable ten minutes of standing in the courtyard staring at the view, and it means a modest delay on the line does not cascade into a missed entry.

There is also a coach alternative for completeness. Rede Expressos buses run from Lisbon's Sete Rios terminal in roughly two and a half hours and from Porto's Campanhã terminal in under an hour and a half, arriving at Coimbra's bus station on Avenida Fernão de Magalhães — itself a ten-to-fifteen-minute walk from the old town. The coach can be cheaper, but the train is faster from Lisbon, more frequent all day, and delivers you closer to the base of the hill. For a library-day itinerary, rails first, road as fallback — and either way, let the timed slot at the top of the hill set the whole day's clock.

Frequently asked

Which station do I get off at for the Biblioteca Joanina?

Coimbra-B — every fast train from Lisbon and Porto stops there, on the edge of the city. A connecting shuttle train, running about a dozen times an hour, covers the short hop to the central Coimbra (Coimbra-A) station by the river, and the climb to the university starts from there.

How long is the train from Lisbon to Coimbra?

About 1 hour 43 minutes on the Alfa Pendular and just over two hours on the Intercidades. Trains leave from both Santa Apolónia and Oriente stations, roughly every thirty to sixty minutes from early morning until about ten at night.

How long is the train from Porto to Coimbra?

About 1 hour 14 minutes on the Alfa Pendular and around 1 hour 22 minutes on the Intercidades, departing from Porto Campanhã. Short local trains link São Bento in the city centre to Campanhã in about four minutes.

Is the shuttle between Coimbra-B and the centre included in my ticket?

The connection into the central station is treated as part of the through journey on long-distance tickets, and the shuttle runs about a dozen times an hour, so the transfer rarely adds more than a few minutes. Alternatively, taxis wait at Coimbra-B and can take you straight up to the university.

Do I need to reserve a seat on Portuguese trains?

Yes — Alfa Pendular and Intercidades tickets carry an assigned carriage and seat, and you must buy before boarding, at the station or on the CP website. For a day built around a timed library slot, book the specific train you need rather than trusting the next departure.

Can I visit the Biblioteca Joanina as a day trip by train?

Comfortably, from either city. Book your timed library slot first, then choose trains around it — from Lisbon, aim to depart at least three hours before your slot; from Porto, two and a half. That covers the shuttle at Coimbra-B, the climb to the Alta and a relaxed arrival.