The Yorkshire coast by train: York, Scarborough and Whitby
Can you visit the Yorkshire coast entirely by train from York?
Mostly, yes. York to Scarborough is a direct 50-minute train. Whitby is reached via the scenic Esk Valley line, which connects at Middlesbrough rather than Scarborough, so York to Whitby by rail takes around two hours with a change. Robin Hood's Bay has no station at all — you'll need a bus or taxi from Whitby.
The Yorkshire coast rewards train travel more than most people expect, but the network has one genuine gap worth understanding before you plan around it: there’s no fast, direct rail link between Scarborough and Whitby, even though they’re only around 20 miles apart along the coast. This guide covers what actually works by train, what doesn’t, and where a car or a coach tour fills the gap sensibly.
York to Scarborough: the easy leg
This is the coast’s most straightforward rail connection. Direct trains run from York to Scarborough roughly every hour throughout the day, taking around 50 minutes with no change required. It’s fast, frequent and cheap if booked in advance — an off-peak return typically runs £15-£25. This makes Scarborough the obvious first stop for anyone building a coast trip around public transport, and a comfortable base if you want to explore further afield by bus or a short taxi ride rather than committing to a car for the whole trip. See Scarborough from York for the fuller day-trip breakdown.
York to Whitby: the Esk Valley line, honestly explained
Getting to Whitby by train is where the coast’s rail network gets more interesting, and slower. There’s no direct service from York. The realistic route uses the Esk Valley line, a genuinely scenic single-track branch line running from Middlesbrough down through the North York Moors to Whitby, calling at small stations including Grosmont (where it connects with the heritage North Yorkshire Moors Railway), Glaisdale and Sleights. To use it from York, you’ll typically change at Middlesbrough, adding up to a journey of around two hours each way — considerably longer than the roughly 90-minute drive covers.
The Esk Valley line itself is worth mentioning on its own merits: it’s one of Britain’s most scenic rural branch lines, winding through moorland and river valleys that a car on the A171 or A169 simply doesn’t pass as closely. If you enjoy train travel for its own sake, the extra time isn’t wasted — it’s a genuinely pretty ride. If you’re purely optimising for speed, driving or an organised coach day trip is the faster choice; the York, Whitby and North York Moors day trip and the steam trains, Whitby and the Moors day trip both handle the transport for you, often combining it with a section of the NYMR itself.
Scarborough to Whitby: the missing direct link
This is the coast’s genuine rail gap. Despite being neighbours on the map, there’s no direct or fast rail connection between Scarborough and Whitby — getting between them by train means routing back inland and around via Middlesbrough, which can take considerably longer than the roughly 40-minute drive along the coast road. Most visitors without a car treat Scarborough and Whitby as separate day trips from York rather than trying to link them by rail on the same day. The Coastliner bus (X93/X4) covers this coastal gap directly by road, connecting Scarborough, Whitby and Robin Hood’s Bay in a way the railway simply doesn’t.
Robin Hood’s Bay: no station at all
Robin Hood’s Bay has never had a railway station. The nearest working station is Whitby, about 15 minutes away by Coastliner bus or taxi. If you’re building a rail-based coast trip and want to include the village, plan this leg as a bus connection from Whitby rather than expecting a direct train option — it doesn’t exist.
The Esk Valley line and the NYMR: two different railways
It’s worth being clear about a common point of confusion: the Esk Valley line (Middlesbrough to Whitby, a normal modern passenger service) and the North Yorkshire Moors Railway (Pickering to Whitby, a heritage steam line, covered separately in Harry Potter locations in Yorkshire for its Goathland connection) are two separate railways that happen to share track and a station at Grosmont. The Esk Valley line is a practical way to reach Whitby by regular train; the NYMR is a scenic, purpose-built heritage experience with a rover-ticket structure and a seasonal timetable.
Combining both in one day — riding the Esk Valley line to Grosmont, then the NYMR onward — is possible and appeals to rail enthusiasts, but adds considerable time to a day trip. See the North Yorkshire Moors Railway guide for the heritage line’s specific timetable and ticket details.
A realistic rail-only coast day
If you’re committed to public transport for a single day and want to see as much of the coast as reasonably possible, the most efficient version is: York to Scarborough by direct train (50 minutes), a few hours around the castle and both bays, then either return to York the same way, or — for those willing to add real travel time — continue by Coastliner bus onward to Whitby for a shorter visit before heading home via the Esk Valley line and Middlesbrough. This second option makes for a genuinely long day, so it suits committed rail travellers more than anyone wanting a relaxed pace.
See Scarborough guide for what to prioritise once you arrive, and Robin Hood’s Bay if the Coastliner bus route takes you that far along the coast too.
When a car (or a tour) makes more sense
For visitors who want to cover Scarborough, Whitby and Robin Hood’s Bay in a single trip without the rail network’s gaps working against them, a car is simply more efficient — the coast road links all three in well under two hours of driving total. Those who’d rather not drive but still want the flexibility a car provides can book an organised day trip instead; alongside the options already mentioned, the Whitby, North York Moors and steam railway day trip covers a similar multi-stop route with the driving handled for you.
See day trips from York by car for the wider case for and against self-driving across the region.
Combining coast stops with the moors
Because the Esk Valley line, the NYMR and the road network all intersect around Grosmont and Goathland, a coast-and-moors combination is genuinely achievable in one longer day, particularly with a car. The North York Moors from York guide and the three-day York, Whitby and Moors itinerary both cover fuller versions of this combination if a single coast day isn’t enough.
Ticket types and buying in advance
For York-Scarborough, an advance single or off-peak return booked through LNER or Trainline a week or more ahead is consistently the cheapest option, often half the price of a walk-up fare bought at the station on the day. The Esk Valley line to Whitby has fewer advance-fare options given its rural, less frequent service, so the price difference between booking ahead and buying on the day is smaller — still worth checking, but don’t expect the same discount as the York-Scarborough route.
A North Yorkshire-wide rail rover ticket exists for those planning several rail journeys across a multi-day stay, worth comparing against individual point-to-point tickets if you’re combining York, Scarborough and Whitby across more than one day.
What the train journeys actually feel like
The York-Scarborough line runs through fairly ordinary agricultural countryside for most of its length, pleasant but unremarkable, with the sea only becoming visible in the final few minutes into Scarborough itself — don’t expect a scenic ride so much as a fast, efficient one. The Esk Valley line is the opposite: slow by design, winding along river valleys and through moorland with genuinely striking views for much of its length, closer to a scenic heritage experience than a standard commuter service despite being a normal passenger line. If you have the extra time and enjoy train travel, the Esk Valley line is worth treating as part of the day’s entertainment rather than pure transport.
Luggage and day-trip logistics
Both the York-Scarborough and Esk Valley services are standard regional trains without significant luggage restrictions, fine for day-trip bags, buggies or beach gear, though rush-hour services into Scarborough on summer weekends can get crowded enough that finding space for bulkier items takes some patience. Neither line requires seat reservations for a journey this short, so there’s no need to book a specific train beyond having a valid ticket for the day or the specific service, depending on the fare type purchased.
Comparing rail against a coach day trip
For visitors weighing up a fully independent rail-based coast day against a booked coach tour, the trade-offs come down to flexibility versus coverage. Rail travel gives complete control over timing and lets you linger as long as you like in Scarborough before deciding whether to push on, but the Scarborough-Whitby gap and the Esk Valley line’s slower pace mean a rail-only day realistically covers less ground than a coach itinerary built specifically to link multiple coastal stops by road.
A coach day trip trades some of that flexibility for coverage and no need to plan connections yourself — worth the trade for visitors who want to see more than one coastal town without the logistics falling on them.
Combining rail with a short taxi hop
For a middle-ground approach that avoids both the Esk Valley line’s length and a full coach itinerary, some visitors take the direct train to Scarborough, then use a taxi or the Coastliner bus for a shorter onward hop to a single additional stop — Filey to the south, or as far as Robin Hood’s Bay if time allows — rather than attempting the full Scarborough-to-Whitby stretch by road. This keeps most of the day on the faster, cheaper train while adding some flexibility without committing to the Esk Valley line’s longer, slower alternative route back to York.
What to know before you go
Book York to Scarborough tickets in advance through LNER or Trainline for the cheapest fares; walk-up prices on the day cost noticeably more, and the same advance-booking logic applies to the wider journey into York covered in getting to York if you’re arriving from further afield. The Esk Valley line runs a limited timetable, particularly on Sundays and in winter, so check specific journey times before building a York-Whitby rail day around it. The Coastliner bus, while reliable, runs less frequently in the evenings, so plan your return journey with a buffer if you’re relying on it to connect Scarborough, Whitby or Robin Hood’s Bay.
Frequently asked questions about the Yorkshire coast by train
Is there a direct train from York to Whitby?
No. The realistic rail route uses the Esk Valley line via Middlesbrough, taking around two hours each way with a change — considerably longer than the roughly 90-minute drive.
How long does the train from York to Scarborough take?
Around 50 minutes, direct, with no change required — the coast’s fastest and simplest rail connection from York.
Can you get from Scarborough to Whitby by train?
Not directly or quickly. There’s no fast rail link between the two; the practical options are the Coastliner bus along the coast road, or driving, both faster than routing back inland by rail via Middlesbrough.
Is the Esk Valley line the same as the North Yorkshire Moors Railway?
No, though they share track and a station at Grosmont. The Esk Valley line is a normal modern passenger service between Middlesbrough and Whitby; the NYMR is a separate heritage steam railway between Pickering and Whitby with its own seasonal timetable and rover tickets.
What’s the best way to see the whole Yorkshire coast in one trip if I don’t want to drive?
An organised coach day trip is generally more time-efficient than piecing together trains and buses yourself, since it handles the Scarborough-Whitby gap and any moors stops without the rail network’s connection issues.
Related guides

Robin Hood's Bay guide: smugglers, fossils and steep streets
A complete Robin Hood's Bay guide — the smuggling history, fossil hunting at low tide, the Coast to Coast finish line, and how to get there from York.

Scarborough guide: castle, beaches and seafront
A complete Scarborough guide from York — the castle, North and South Bay, the Grand Hotel, fish and chips, and honest advice on planning your visit.

Whitby guide: abbey, harbour and Dracula
A complete Whitby guide from York — Whitby Abbey, the 199 steps, fish and chips, the Dracula connection, and honest transport advice.

Day trips from York by car: where driving actually helps
Which day trips from York genuinely need a car, real driving times to the Dales, Moors and Castle Howard, and honest parking advice for each.
Ready to book? Top tours for this guide
We earn a small commission if you book through GetYourGuide or Viator — at no extra cost to you. Every tour is hand-picked and verified.