X40 X40 bus route: Royal Infirmary - St Johns Hospital
51 stops, about 21 mi end to end. Run by Lothian Country Buses.
Toward St Johns Hospital
| From Royal Infirmary | Morning peak gap | Midday gap | Evening peak gap | Late evening gap | |
|---|---|---|---|---|---|
| Weekday | 06:40 to 20:20 | n/a | 60 min | 75 min | n/a |
| Saturday | 06:42 to 20:20 | n/a | 90 min | n/a | n/a |
| Sunday | 06:42 to 20:20 | n/a | 90 min | n/a | n/a |
- Royal Infirmary 6 routes
- Little France Road 7 routes
- Fernieside Drive 7 routes
- Fernieside Grove 7 routes
- Ferniehill Road 3 routes
- Ferniehill Place 3 routes
- Ferniehill Avenue 3 routes
- Drum Street 5 routes
- Drum Cottages 5 routes
- O'Donnel Road 2 routes
- Clovenstone Roundabout
- Westburn Park 2 routes
- Westside Plaza 5 routes
- Calder Drive 4 routes
- Wester Hailes Road 8 routes
- Calder View 10 routes
- Hermiston Park & Ride 9 routes
- Hermiston Walk 6 routes
- Addistoun House 6 routes
- Dalmahoy 5 routes
- Burnwynd 4 routes
- Post Office 2 routes
- Jupiter Artland 3 routes
- Camps Industrial Estate 3 routes
- Sandilands Lane 3 routes
- Adam Drive 3 routes
- Calderwood Mobility Hub 3 routes
- Shiel Lane 3 routes
- Calderwood 2 routes
- St Theresa's Church 2 routes
- Scotmid 2 routes
- Grove Public House 2 routes
- Torphichen Inn 4 routes
- Cunnigar House 3 routes
- Ochiltree Crescent 3 routes
- Caroline Park 4 routes
- Lizzie Bryces Roundabout 4 routes
- Bankton Lane 4 routes
- Ambrose Rise 4 routes
- Primary School 4 routes
- Herald Rise 4 routes
- Bank of Scotland 5 routes
- Bus Terminal 5 routes
- The Boulevard Bar & Grill 5 routes
- Travelodge 5 routes
- Campus Roundabout 7 routes
- Almondvale Stadium 6 routes
- Quarrywood Court 6 routes
- Braehead Junction 6 routes
- St Johns Hospital 8 routes
- St Johns Hospital 8 routes
Toward Royal Infirmary
| From St Johns Hospital | Morning peak gap | Midday gap | Evening peak gap | Late evening gap | |
|---|---|---|---|---|---|
| Weekday | 05:27 to 18:40 | 70 min | 60 min | 60 min | n/a |
| Saturday | 05:28 to 18:40 | n/a | 90 min | n/a | n/a |
| Sunday | 05:28 to 18:40 | n/a | 90 min | n/a | n/a |
- St Johns Hospital 8 routes
- Braehead Junction 7 routes
- Quarrywood Court 6 routes
- Almondvale Stadium 6 routes
- Campus Roundabout 7 routes
- The Boulevard Bar & Grill 3 routes
- Bus Terminal 6 routes
- Bank of Scotland 6 routes
- Herald Rise 4 routes
- Primary School 4 routes
- Ambrose Rise 4 routes
- Lizzie Bryces Roundabout 4 routes
- Caroline Park 4 routes
- Ochiltree Crescent 3 routes
- Cunnigar House 3 routes
- Police Station 3 routes
- Torphichen Inn 4 routes
- Grove Public House 2 routes
- Scotmid 2 routes
- St Theresa's Church 2 routes
- Calderwood 2 routes
- Shiel Lane 2 routes
- Calderwood Mobility Hub 2 routes
- Adam Drive 2 routes
- Sandilands Lane 2 routes
- Camps Industrial Estate 2 routes
- Jupiter Artland 2 routes
- Post Office 3 routes
- Burnwynd 4 routes
- Dalmahoy 6 routes
- Addistoun House 6 routes
- Hermiston Walk 6 routes
- Hermiston Roundabout 5 routes
- Hermiston Park & Ride 8 routes
- Calder View 10 routes
- Calder Drive 4 routes
- Westside Plaza 5 routes
- Westburn Park 2 routes
- Healthy Living Centre 2 routes
- Clovenstone Roundabout 2 routes
- O'Donnel Road 2 routes
- Drum Cottages 5 routes
- Drum Street 5 routes
- Ferniehill Avenue 3 routes
- Ferniehill Place 3 routes
- Ferniehill Road 3 routes
- Fernieside Grove 7 routes
- Fernieside Drive 7 routes
- Little France Road 7 routes
- Royal Infirmary 6 routes
Worked out from the official timetable on real dates: weekday 2026-11-16, Saturday 2026-11-21, Sunday 2026-11-15. Gaps are the middle value between departures in each period (morning 7 to 10, midday 10 to 4, evening 4 to 7, late evening 9 to midnight). Planned works can change service.
Data: Contains public sector information licensed under the Open Government Licence v3.0. Source: Bus Open Data Service (Department for Transport)
Questions
What are the first and last buses on the X40 bus route toward St Johns Hospital?
On a normal weekday the first bus leaves Royal Infirmary at 06:40 and the last at 20:20, according to the official timetable.
What are the first and last buses on the X40 bus route toward Royal Infirmary?
On a normal weekday the first bus leaves St Johns Hospital at 05:27 and the last at 18:40, according to the official timetable.
How often does the X40 bus route run in the morning peak toward Royal Infirmary?
About every 70 minutes between 7 and 10 am on weekdays, and every 60 minutes in the middle of the day.
How many stops does the X40 bus route serve?
51 stops on its fullest run, about 21 mi end to end.
Route map
Lines join stops directly, they do not follow the track. Map data © OpenStreetMap contributors.