Festive French seats are live for travel between Dec 14 to early Jan* – book in advance to save! Ho, ho, gooo…

RailcardsBusiness

No tickets in your basket.

Why not plan a trip?

My Bookings
Loading...
Loading...
SNCF
Trenitalia

Compare prices from over 270 rail and coach companies in Europe

Icon of trainline-phone-tickets.svg

Buy your tickets with us and easily find them on your phone

Icon of trainline-safe-payments.svg

Safely pay with PayPal, Visa and all international payment cards

What customers say about Trainline

Read real reviews from real users

Travel from Barcelona to Ham by train in 9 hours 49 minutes

If you want to know more about the journey from Barcelona to Ham by train, look no further!

The average journey time from Barcelona to Ham by train is 18 hours, although on the fastest services it can take just 9 hours 49 minutes. Around 6 trains per day travel the 579 miles (932 km) between these two destinations. You'll need to make 2 changes along the way to Ham.

Book train tickets from Barcelona to Ham in advance instead of buying them on the day and you'll snap up the cheapest fares. You can check prices from Barcelona to Ham in our Journey Planner.

Ready to book? Start your search for cheap train tickets with us today. Keep reading for more information, including our timetable where you can view first and last train times, as well as tips on how to find cheap train tickets.

Trains to Ham from Barcelona

First train

09:28

Last train

16:34

Departure stationBarcelona
Arrival stationHam
Journey time

From 9h 49m

Distance

579 miles (932 km)

Frequency

6 trains per day

Changes

2 changes

What do people frequently ask about the train journey from Barcelona to Ham?

Want to know more about your journey from Barcelona to Ham? We've compiled some of the most frequently asked questions by our customers to help you plan your journey.

How do you get to Ham from Barcelona?

To travel to Ham from Barcelona, you can take the train - on average, the journey takes around 18 hours and 0 minutes, though the fastest trains can take 9 hours and 49 minutes. Use our Journey Planner to get more information.

How long is the train ride from Barcelona to Ham?

Trains from Barcelona to Ham take an average of 18 hours and 0 minutes, although on the fastest services it can take just 9 hours and 49 minutes. You'll usually find 6 trains per day on this route, so use our Journey Planner to check specific dates as times may vary.

What is the quickest journey time between Barcelona and Ham by train?

The quickest journey time between Barcelona and Ham by train is 9 hours and 49 minutes.

Are there direct trains from Barcelona to Ham?

No, there are no direct trains running from Barcelona to Ham, you’ll usually need to make at least 2 changes during the journey.

What are the train times from Barcelona to Ham?

Check out the next trains departing from Barcelona to Ham for Tuesday 14th October 2025. For the full train timetable/schedule, or to search for a later time or date, click here.
DepartsArrivesDuration
08:2818:179h 49m, 2 changes
08:3405:1620h 42m, 6 changes
09:1607:1221h 56m, 5 changes
09:5407:1221h 18m, 6 changes
15:2507:1615h 51m, 2 changes
15:3410:0218h 28m, 4 changes

How do I find cheap train tickets from Barcelona to Ham?

If you’re planning a trip to Europe soon, our Trainline team of experts have put together some tips to help you find cheap tickets. Booking on the day in Europe is usually more expensive and costs can vary depending on the time of day, route or travel class.

1. Book in advance

The price of train tickets from Barcelona to Ham starts at § one-way for a Standard Class ticket if you book in advance. Most train companies across Europe release their tickets around three to six months ahead of time, so if you know the dates you want to travel, you may be able to find cheaper tickets.

2. Be flexible with your travel times

If you can, consider travelling outside of 'peak hours' (generally between 06:00 - 10:00 and 15:00 - 19:00 on weekdays) as many train companies increase their ticket prices during these commuter times.

3. Buy a rail pass

If you're visiting multiple locations on your trip, buying a rail pass can be cheaper than buying individual tickets. We're official retailers of Interrail Passes that are valid for travel within one country or multiple countries across Europe.

4. Choose a slower or connecting train

On some busier routes, you might have the option to take a slower or connecting train. It may take longer than some high-speed or direct services, but if you have some extra time on your hands, you might find a cheaper fare.

5. Look out for train ticket sales and discounts

Many train companies in Europe will often run sales on tickets throughout the year or offer discounts to senior/youth/group travellers, so keep an eye out!

6. Take a night train

Save on accommodation and use the night to travel by sleeper train to your next destination.

For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.

§Some train companies may not offer any Advance ticket types or cheaper deals for early bookings. On rare occasions, train companies may choose to release special offers closer to the date on last-minute or late-release tickets. This is dependent on the individual train operating company you travel with.

Europe’s leading train and coach app

We help customers across Europe make more than 172,000 smarter journeys every day.