X40 Royal Infirmary ↔ St Johns Hospital
Operated by Lothian Country Buses. First bus 05:32, last bus 20:20. 28 journeys on weekdays.
Timetable
Times are shown at the route's main timing stops — buses serve all stops in between. For times at your exact stop, open the stop's own page.
| Royal Infirmary (Stop IN) | 06:42 | 07:55 | 09:07 | 10:07 | 11:07 | 12:07 | 13:07 | 14:07 | 15:07 | 16:07 | 17:10 | 18:15 | 19:15 | 20:20 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ferniehill Avenue (opp) | 06:49 | 08:04 | 09:14 | 10:14 | 11:14 | 12:14 | 13:14 | 14:14 | 15:14 | 16:16 | 17:19 | 18:24 | 19:22 | 20:27 |
| Westside Plaza (Stop 2) | 07:07 | 08:28 | 09:32 | 10:32 | 11:32 | 12:32 | 13:32 | 14:32 | 15:38 | 16:40 | 17:43 | 18:43 | 19:39 | 20:43 |
| Hermiston Park & Ride (SW-bound) | 07:12 | 08:34 | 09:37 | 10:37 | 11:37 | 12:37 | 13:37 | 14:37 | 15:44 | 16:46 | 17:49 | 18:48 | 19:44 | 20:48 |
| Post Office (opp) | 07:20 | 08:42 | 09:44 | 10:44 | 11:44 | 12:44 | 13:44 | 14:44 | 15:52 | 16:54 | 17:57 | 18:55 | 19:51 | 20:55 |
| Calderwood Mobility Hub (Westbound) | 07:28 | 08:50 | 09:51 | 10:51 | 11:51 | 12:51 | 13:51 | 14:51 | 16:00 | 17:02 | 18:05 | 19:02 | 19:58 | 21:01 |
| Grove Public House (opp) | 07:35 | 08:57 | 09:57 | 10:57 | 11:57 | 12:57 | 13:57 | 14:57 | 16:07 | 17:09 | 18:12 | 19:07 | 20:03 | 21:06 |
| Torphichen Inn (at) | 07:38 | 09:00 | 09:59 | 10:59 | 11:59 | 12:59 | 13:59 | 14:59 | 16:09 | 17:11 | 18:14 | 19:09 | 20:05 | 21:08 |
| Ochiltree Crescent (opp) | 07:41 | 09:03 | 10:02 | 11:02 | 12:02 | 13:02 | 14:02 | 15:02 | 16:12 | 17:14 | 18:17 | 19:12 | 20:08 | 21:10 |
| Ambrose Rise (after) | 07:46 | 09:07 | 10:06 | 11:06 | 12:06 | 13:06 | 14:06 | 15:06 | 16:17 | 17:19 | 18:22 | 19:16 | 20:12 | 21:14 |
| Bus Terminal (Stance C) | 07:52 | 09:13 | 10:12 | 11:12 | 12:12 | 13:12 | 14:12 | 15:12 | 16:23 | 17:25 | 18:28 | 19:22 | 20:18 | 21:19 |
| St Johns Hospital (at) | 08:00 | 09:21 | 10:20 | 11:20 | 12:20 | 13:20 | 14:20 | 15:20 | 16:31 | 17:33 | 18:36 | 19:30 | 20:26 | 21:26 |
Route map
All stops on route X40
X40 towards St Johns Hospital
- Royal Infirmary (Stop IN) Edinburgh Royal Infirmary
- Little France Road (before) Little France
- Fernieside Drive (opp) Moredun
- Fernieside Grove (opp) Moredun
- Ferniehill Road (opp) Moredun
- Drum Street (SE-bound) Gilmerton
- Ferniehill Place (opp) Gilmerton
- Ferniehill Avenue (opp) Gilmerton
- Drum Cottages (opp) Gilmerton
- O'Donnel Road (opp) Gilmerton
- Clovenstone Roundabout (after) Wester Hailes
- Westburn Park (near) Wester Hailes
- Westside Plaza (Stop 2) Wester Hailes
- Calder Drive (after) Calders
- Wester Hailes Road (after) Sighthill
- Calder View (Mid Stop) Sighthill
- Hermiston Park & Ride (SW-bound) Hermiston
- Hermiston Walk (at) Hermiston
- Addistoun House (at) Ratho
- Dalmahoy (SW-bound) Ratho
- Burnwynd (opp) Wilkieston
- Post Office (opp) Wilkieston
- Jupiter Artland (opp) East Calder
- Camps Industrial Estate (after) East Calder
- Sandilands Lane (opp) Calderwood
- Adam Drive (after) Calderwood
- Calderwood Mobility Hub (Westbound) Calderwood
- Shiel Lane (opp) Calderwood
- Calderwood (opp) East Calder
- St Theresa's Church (at) East Calder
- Scotmid (at) East Calder
- Grove Public House (opp) East Calder
- Torphichen Inn (at) Mid Calder
- Cunnigar House (at) Mid Calder
- Ochiltree Crescent (opp) Mid Calder
- Caroline Park (opp) Mid Calder
- Lizzie Bryces Roundabout (after) Dedridge
- Bankton Lane (opp) Dedridge
- Ambrose Rise (after) Dedridge
- Primary School (opp) Dedridge
- Herald Rise (opp and after) Dedridge
- Bank of Scotland (at) Livingston
- Bus Terminal (Stance C) Livingston
- The Boulevard Bar & Grill (at) Livingston
- Travelodge (opp) Livingston
- Campus Roundabout (after) Livingston
- Almondvale Stadium (at) Livingston
- Quarrywood Court (at) Livingston
- Braehead Junction (after) Howden
- St Johns Hospital (before) Howden
- St Johns Hospital (at) Howden
X40 towards Royal Infirmary
- St Johns Hospital (at) Howden
- Braehead Junction (before) Howden
- Quarrywood Court (opp) Livingston
- Almondvale Stadium (opp) Livingston
- Campus Roundabout (before) Livingston
- The Boulevard Bar & Grill (opp) Livingston
- Bus Terminal (Stance F) Livingston
- Bank of Scotland (opp) Livingston
- Herald Rise (before) Dedridge
- Primary School (after) Dedridge
- Ambrose Rise (opp) Dedridge
- Lizzie Bryces Roundabout (before) Dedridge
- Caroline Park (after) Mid Calder
- Ochiltree Crescent (at) Mid Calder
- Cunnigar House (opp) Mid Calder
- Police Station (opp) Mid Calder
- Torphichen Inn (opp and before) Mid Calder
- Grove Public House (at) East Calder
- Scotmid (opp) East Calder
- St Theresa's Church (opp and after) East Calder
- Calderwood (at) East Calder
- Shiel Lane (after) Calderwood
- Calderwood Mobility Hub (Eastbound) Calderwood
- Adam Drive (opp) Calderwood
- Sandilands Lane (after) Calderwood
- Camps Industrial Estate (before) East Calder
- Jupiter Artland (at) East Calder
- Post Office (at) Wilkieston
- Burnwynd (at) Wilkieston
- Dalmahoy (NE-bound) Ratho
- Addistoun House (opp) Ratho
- Hermiston Walk (after) Hermiston
- Hermiston Roundabout (before) Hermiston
- Hermiston Park & Ride (NE-bound) Hermiston
- Burtons Biscuits Factory (at) Sighthill
- Calder Drive (opp) Calders
- Westburn Park (opp) Wester Hailes
- Westside Plaza (Stop 3) Wester Hailes
- Healthy Living Centre (opp) Wester Hailes
- Clovenstone Roundabout (before) Wester Hailes
- O'Donnel Road (after) Gilmerton
- Drum Cottages (at) Gilmerton
- Ferniehill Avenue (before) Gilmerton
- Drum Street (NW-bound) Gilmerton
- Ferniehill Place (o/s) Gilmerton
- Ferniehill Road (after) Moredun
- Fernieside Grove (near) Moredun
- Fernieside Drive (at) Moredun
- Little France Road (after) Little France
- Royal Infirmary (Stop IN) Edinburgh Royal Infirmary
Service history & registered changes
- 🆕 Registered effective 22 Feb 2026 Operating between Livingston, St John's Hospital and Edinburgh, Royal Infirmary given service number X40 effective from 22 February 2026. To amend Timetable.
- Expired effective 25 Dec 2025 From: Livingston, St John’s Hospital To: Edinburgh, Royal Infirmary Via: Mid Calder, East Calder, Calderwood Name or No.: X40 Service type: Normal Stopping Effective date: 25 December 2025 End date: 01 January 2026 Other details: Christmas
- 🆕 Registered effective 7 Sept 2025 Operating between Livingston, St John's Hospital and Edinburgh, Royal Infirmary given service number X40 effective from 07 September 2025. To amend Timetable.
From official Traffic Commissioner registrations. All service changes →
Towns & areas on this route
Frequently asked questions
What time is the first X40 bus?
The first X40 departure on weekdays leaves at 05:32 (check the full timetable below for your stop, as times vary along the route — weekend times can differ).
What time is the last X40 bus?
The last X40 on weekdays leaves its first stop at 20:20. Always check the timetable for your specific stop — later stops are reached after this time.
How much does the X40 bus cost?
The England fare cap doesn't apply in Scotland — Lothian Country Buses sets the fares on the X40. Under-22s, over-60s and eligible disabled passengers travel free with a National Entitlement Card.
Who runs the X40 bus?
The X40 is operated by Lothian Country Buses.
Timetable data from the operator via the DfT Bus Open Data Service. Check before you travel — services can change at short notice.