X40 Edinburgh Royal Infirmary - Livingston St John's H
A bus service operated by Lothian Country Buses
Route X40 runs between Edinburgh Royal Infirmary and Livingston St John's H, operated by Lothian Country Buses. During the day, buses run about every 2 hours. The first journey starts at 06:42, and the last at 20:20. See where the buses are now on the map.
Timetable last updated
🎄 When the X40 bus runs at Christmas and New Year 2026
- Timetable
- Map (tracking 30 buses)
- Vehicles
Edinburgh Royal Infirmary - Livingston St John's H
| Edinburgh Royal Infirmary (Stop IN) | 06:42 | 08:00 | 09:42 | 11:22 | 12:52 | 14:22 | 15:52 | 17:22 | 18:50 | 20:20 |
|---|---|---|---|---|---|---|---|---|---|---|
| Little France Road (before) | 06:43 | 08:01 | 09:44 | 11:24 | 12:54 | 14:24 | 15:54 | 17:24 | 18:51 | 20:21 |
| Moredun, opp Fernieside Drive | 06:45 | 08:03 | 09:45 | 11:26 | 12:56 | 14:26 | 15:56 | 17:26 | 18:53 | 20:23 |
| Moredun, opp Fernieside Grove | 06:45 | 08:03 | 09:46 | 11:27 | 12:57 | 14:27 | 15:57 | 17:27 | 18:53 | 20:23 |
| Moredun, opp Ferniehill Road | 06:46 | 08:04 | 09:46 | 11:27 | 12:57 | 14:27 | 15:57 | 17:27 | 18:54 | 20:24 |
| Gilmerton, opp Ferniehill Place | 06:47 | 08:05 | 09:48 | 11:29 | 12:59 | 14:29 | 15:59 | 17:29 | 18:55 | 20:25 |
| Gilmerton, opp Ferniehill Avenue | 06:48 | 08:06 | 09:49 | 11:30 | 13:00 | 14:30 | 16:00 | 17:30 | 18:56 | 20:26 |
| Gilmerton Drum Street (SE-bound) | 06:48 | 08:06 | 09:49 | 11:30 | 13:00 | 14:30 | 16:00 | 17:30 | 18:56 | 20:26 |
| Gilmerton, opp Drum Cottages | 06:48 | 08:06 | 09:49 | 11:30 | 13:00 | 14:30 | 16:00 | 17:30 | 18:56 | 20:26 |
| Gilmerton, opp O'Donnel Road | 06:49 | 08:07 | 09:50 | 11:31 | 13:01 | 14:31 | 16:01 | 17:31 | 18:57 | 20:27 |
| Wester Hailes, after Clovenstone Roundabout | 07:04 | 08:22 | 10:05 | 11:47 | 13:17 | 14:47 | 16:17 | 17:47 | 19:12 | 20:42 |
| Wester Hailes Westburn Park (near) | 07:05 | 08:23 | 10:06 | 11:48 | 13:18 | 14:48 | 16:18 | 17:48 | 19:13 | 20:43 |
| Wester Hailes Westside Plaza (Stop 2) | 07:06 | 08:24 | 10:07 | 11:49 | 13:19 | 14:49 | 16:19 | 17:49 | 19:14 | 20:44 |
| Calders, after Calder Drive | 07:07 | 08:25 | 10:08 | 11:50 | 13:20 | 14:50 | 16:20 | 17:50 | 19:15 | 20:45 |
| Sighthill, after Wester Hailes Road | 07:08 | 08:26 | 10:09 | 11:51 | 13:21 | 14:51 | 16:21 | 17:51 | 19:16 | 20:46 |
| Sighthill Calder View (Mid Stop) | 07:09 | 08:27 | 10:10 | 11:52 | 13:22 | 14:52 | 16:22 | 17:52 | 19:17 | 20:47 |
| Hermiston Park & Ride (SW-bound) | 07:12 | 08:30 | 10:13 | 11:56 | 13:26 | 14:56 | 16:26 | 17:56 | 19:20 | 20:50 |
| Hermiston Walk (at) | 07:12 | 08:30 | 10:13 | 11:56 | 13:26 | 14:56 | 16:26 | 17:56 | 19:20 | 20:50 |
| Ratho, at Addistoun House | 07:15 | 08:33 | 10:16 | 11:59 | 13:29 | 14:59 | 16:29 | 17:59 | 19:23 | 20:53 |
| Ratho Dalmahoy (SW-bound) | 07:16 | 08:34 | 10:17 | 12:00 | 13:30 | 15:00 | 16:30 | 18:00 | 19:24 | 20:54 |
| Wilkieston, opp Burnwynd | 07:17 | 08:35 | 10:19 | 12:02 | 13:32 | 15:02 | 16:32 | 18:02 | 19:25 | 20:55 |
| Wilkieston, opp Post Office | 07:19 | 08:37 | 10:21 | 12:04 | 13:34 | 15:04 | 16:34 | 18:04 | 19:27 | 20:57 |
| East Calder, opp Jupiter Artland | 07:21 | 08:39 | 10:23 | 12:06 | 13:36 | 15:06 | 16:36 | 18:06 | 19:29 | 20:59 |
| East Calder, after Camps Industrial Estate | 07:22 | 08:40 | 10:24 | 12:07 | 13:37 | 15:07 | 16:37 | 18:07 | 19:30 | 21:00 |
| Calderwood, opp Sandilands Lane | 07:23 | 08:41 | 10:25 | 12:08 | 13:38 | 15:08 | 16:38 | 18:08 | 19:31 | 21:01 |
| Calderwood, after Adam Drive | 07:23 | 08:41 | 10:26 | 12:09 | 13:39 | 15:09 | 16:39 | 18:09 | 19:32 | 21:01 |
| Calderwood Mobility Hub (Westbound) | 07:25 | 08:43 | 10:28 | 12:11 | 13:41 | 15:11 | 16:41 | 18:11 | 19:34 | 21:03 |
| Calderwood, opp Shiel Lane | 07:26 | 08:44 | 10:29 | 12:12 | 13:42 | 15:12 | 16:42 | 18:12 | 19:35 | 21:04 |
| East Calder, opp Calderwood | 07:27 | 08:45 | 10:31 | 12:14 | 13:44 | 15:14 | 16:44 | 18:14 | 19:36 | 21:05 |
| East Calder, at St Theresa's Church | 07:28 | 08:46 | 10:32 | 12:15 | 13:45 | 15:15 | 16:45 | 18:15 | 19:37 | 21:06 |
| East Calder, at Scotmid | 07:29 | 08:47 | 10:33 | 12:16 | 13:46 | 15:16 | 16:46 | 18:16 | 19:38 | 21:07 |
| East Calder, opp Grove Public House | 07:30 | 08:48 | 10:34 | 12:17 | 13:47 | 15:17 | 16:47 | 18:17 | 19:39 | 21:08 |
| Mid Calder, at Torphichen Inn | 07:32 | 08:50 | 10:37 | 12:20 | 13:50 | 15:20 | 16:50 | 18:20 | 19:41 | 21:10 |
| Mid Calder, at Cunnigar House | 07:32 | 08:50 | 10:37 | 12:20 | 13:50 | 15:20 | 16:50 | 18:20 | 19:41 | 21:10 |
| Mid Calder, opp Ochiltree Crescent | 07:34 | 08:52 | 10:40 | 12:23 | 13:53 | 15:23 | 16:53 | 18:23 | 19:43 | 21:12 |
| Mid Calder, opp Caroline Park | 07:34 | 08:52 | 10:40 | 12:23 | 13:53 | 15:23 | 16:53 | 18:23 | 19:43 | 21:12 |
| Dedridge, after Lizzie Bryces Roundabout | 07:36 | 08:54 | 10:42 | 12:25 | 13:55 | 15:25 | 16:55 | 18:25 | 19:45 | 21:14 |
| Dedridge, opp Bankton Lane | 07:36 | 08:54 | 10:42 | 12:25 | 13:55 | 15:25 | 16:55 | 18:25 | 19:45 | 21:14 |
| Dedridge, after Ambrose Rise | 07:38 | 08:56 | 10:44 | 12:27 | 13:57 | 15:27 | 16:57 | 18:27 | 19:47 | 21:16 |
| Dedridge, opp Primary School | 07:38 | 08:56 | 10:45 | 12:28 | 13:58 | 15:28 | 16:58 | 18:28 | 19:48 | 21:16 |
| Dedridge Herald Rise (opp and after) | 07:40 | 08:58 | 10:46 | 12:29 | 13:59 | 15:29 | 16:59 | 18:29 | 19:49 | 21:18 |
| Livingston, at Bank of Scotland | 07:41 | 08:59 | 10:47 | 12:30 | 14:00 | 15:30 | 17:00 | 18:30 | 19:50 | 21:19 |
| Livingston Bus Terminal (Stance C) | 07:43 | 09:01 | 10:50 | 12:33 | 14:03 | 15:33 | 17:03 | 18:33 | 19:53 | 21:21 |
| 07:45 | 09:03 | 10:52 | 12:35 | 14:05 | 15:35 | 17:05 | 18:35 | 19:55 | 21:23 | |
| Livingston, at The Boulevard Bar & Grill | 07:45 | 09:04 | 10:53 | 12:36 | 14:06 | 15:36 | 17:06 | 18:36 | 19:56 | 21:23 |
| Livingston, opp Travelodge | 07:46 | 09:04 | 10:53 | 12:36 | 14:06 | 15:36 | 17:06 | 18:36 | 19:56 | 21:24 |
| Livingston, after Campus Roundabout | 07:47 | 09:05 | 10:54 | 12:37 | 14:07 | 15:37 | 17:07 | 18:37 | 19:57 | 21:25 |
| Livingston, at Almondvale Stadium | 07:48 | 09:06 | 10:55 | 12:38 | 14:08 | 15:38 | 17:08 | 18:38 | 19:58 | 21:26 |
| Livingston, at Quarrywood Court | 07:49 | 09:07 | 10:56 | 12:39 | 14:09 | 15:39 | 17:09 | 18:39 | 19:59 | 21:27 |
| Howden, after Braehead Junction | 07:50 | 09:08 | 10:57 | 12:40 | 14:10 | 15:40 | 17:10 | 18:40 | 20:00 | 21:28 |
| Howden, before St Johns Hospital | 07:51 | 09:10 | 10:59 | 12:42 | 14:12 | 15:42 | 17:12 | 18:42 | 20:02 | 21:29 |
| Howden, at St Johns Hospital | 07:52 | 09:11 | 11:00 | 12:43 | 14:13 | 15:43 | 17:13 | 18:43 | 20:03 | 21:30 |
Livingston St John's H - Edinburgh Royal Infirmary
| Howden, at St Johns Hospital | 05:28 | 06:37 | 08:12 | 09:45 | 11:15 | 12:45 | 14:15 | 15:45 | 17:15 | 18:40 |
|---|---|---|---|---|---|---|---|---|---|---|
| Howden, before Braehead Junction | 05:28 | 06:37 | 08:12 | 09:46 | 11:16 | 12:46 | 14:16 | 15:46 | 17:16 | 18:41 |
| Livingston, opp Quarrywood Court | 05:29 | 06:38 | 08:13 | 09:47 | 11:17 | 12:47 | 14:17 | 15:47 | 17:17 | 18:42 |
| Livingston, opp Almondvale Stadium | 05:30 | 06:39 | 08:14 | 09:48 | 11:18 | 12:48 | 14:18 | 15:48 | 17:18 | 18:43 |
| Livingston, before Campus Roundabout | 05:31 | 06:40 | 08:15 | 09:49 | 11:19 | 12:49 | 14:19 | 15:49 | 17:19 | 18:44 |
| Livingston, opp The Boulevard Bar & Grill | 05:32 | 06:41 | 08:16 | 09:51 | 11:21 | 12:51 | 14:21 | 15:51 | 17:21 | 18:46 |
| Livingston Bus Terminal (Stance F) | 05:34 | 06:43 | 08:18 | 09:53 | 11:23 | 12:53 | 14:23 | 15:53 | 17:23 | 18:48 |
| 09:55 | 11:25 | 12:55 | 14:25 | 15:55 | 17:25 | |||||
| Livingston, opp Bank of Scotland | 05:35 | 06:44 | 08:19 | 09:56 | 11:27 | 12:57 | 14:27 | 15:57 | 17:27 | 18:49 |
| Dedridge, before Herald Rise | 05:36 | 06:45 | 08:20 | 09:57 | 11:28 | 12:58 | 14:28 | 15:58 | 17:28 | 18:50 |
| Dedridge, after Primary School | 05:38 | 06:47 | 08:22 | 09:59 | 11:29 | 12:59 | 14:29 | 15:59 | 17:29 | 18:52 |
| Dedridge, opp Ambrose Rise | 05:39 | 06:48 | 08:23 | 10:00 | 11:31 | 13:01 | 14:31 | 16:01 | 17:31 | 18:53 |
| Dedridge, before Lizzie Bryces Roundabout | 05:40 | 06:49 | 08:24 | 10:01 | 11:32 | 13:02 | 14:32 | 16:02 | 17:32 | 18:54 |
| Mid Calder, after Caroline Park | 05:41 | 06:50 | 08:25 | 10:02 | 11:33 | 13:03 | 14:33 | 16:03 | 17:33 | 18:55 |
| Mid Calder, at Ochiltree Crescent | 05:42 | 06:51 | 08:26 | 10:03 | 11:34 | 13:04 | 14:34 | 16:04 | 17:34 | 18:56 |
| Mid Calder, opp Cunnigar House | 05:43 | 06:52 | 08:27 | 10:05 | 11:36 | 13:06 | 14:36 | 16:06 | 17:36 | 18:58 |
| Mid Calder, opp Police Station | 05:43 | 06:52 | 08:27 | 10:05 | 11:36 | 13:06 | 14:36 | 16:06 | 17:36 | 18:58 |
| Mid Calder Torphichen Inn (opp and before) | 05:44 | 06:53 | 08:28 | 10:06 | 11:37 | 13:07 | 14:37 | 16:07 | 17:37 | 18:59 |
| East Calder, at Grove Public House | 05:46 | 06:55 | 08:30 | 10:09 | 11:40 | 13:10 | 14:40 | 16:10 | 17:40 | 19:01 |
| East Calder, opp Scotmid | 05:46 | 06:55 | 08:30 | 10:09 | 11:40 | 13:10 | 14:40 | 16:10 | 17:40 | 19:01 |
| East Calder St Theresa's Church (opp and after) | 05:47 | 06:56 | 08:31 | 10:10 | 11:41 | 13:11 | 14:41 | 16:11 | 17:41 | 19:02 |
| East Calder, at Calderwood | 05:48 | 06:57 | 08:32 | 10:11 | 11:42 | 13:12 | 14:42 | 16:12 | 17:42 | 19:03 |
| Calderwood, after Shiel Lane | 05:50 | 06:59 | 08:34 | 10:13 | 11:44 | 13:14 | 14:44 | 16:14 | 17:44 | 19:05 |
| Calderwood Mobility Hub (Eastbound) | 05:52 | 07:01 | 08:36 | 10:15 | 11:46 | 13:16 | 14:46 | 16:16 | 17:46 | 19:07 |
| Calderwood, opp Adam Drive | 05:52 | 07:01 | 08:36 | 10:15 | 11:47 | 13:17 | 14:47 | 16:17 | 17:47 | 19:08 |
| Calderwood, after Sandilands Lane | 05:53 | 07:02 | 08:37 | 10:16 | 11:48 | 13:18 | 14:48 | 16:18 | 17:48 | 19:09 |
| East Calder, before Camps Industrial Estate | 05:54 | 07:03 | 08:38 | 10:17 | 11:49 | 13:19 | 14:49 | 16:19 | 17:49 | 19:10 |
| East Calder, at Jupiter Artland | 05:55 | 07:04 | 08:39 | 10:18 | 11:50 | 13:20 | 14:50 | 16:20 | 17:50 | 19:11 |
| Wilkieston, at Post Office | 05:57 | 07:06 | 08:41 | 10:21 | 11:53 | 13:23 | 14:53 | 16:23 | 17:53 | 19:14 |
| Wilkieston, at Burnwynd | 05:58 | 07:07 | 08:42 | 10:22 | 11:54 | 13:24 | 14:54 | 16:24 | 17:54 | 19:15 |
| Ratho Dalmahoy (NE-bound) | 06:00 | 07:09 | 08:44 | 10:24 | 11:57 | 13:27 | 14:57 | 16:27 | 17:57 | 19:17 |
| Ratho, opp Addistoun House | 06:01 | 07:10 | 08:45 | 10:25 | 11:58 | 13:28 | 14:58 | 16:28 | 17:58 | 19:18 |
| Hermiston Walk (after) | 06:05 | 07:14 | 08:49 | 10:29 | 12:02 | 13:32 | 15:02 | 16:32 | 18:02 | 19:22 |
| Hermiston Roundabout (before) | 06:05 | 07:14 | 08:49 | 10:29 | 12:02 | 13:32 | 15:02 | 16:32 | 18:02 | 19:22 |
| Hermiston Park & Ride (NE-bound) | 06:06 | 07:15 | 08:50 | 10:30 | 12:03 | 13:33 | 15:03 | 16:33 | 18:03 | 19:23 |
| Sighthill, opp Calder View | 06:10 | 07:19 | 08:54 | 10:34 | 12:07 | 13:37 | 15:07 | 16:37 | 18:07 | 19:27 |
| Calders, opp Calder Drive | 06:11 | 07:20 | 08:55 | 10:36 | 12:09 | 13:39 | 15:09 | 16:39 | 18:09 | 19:28 |
| Wester Hailes Westside Plaza (Stop 3) | 06:13 | 07:22 | 08:57 | 10:38 | 12:11 | 13:41 | 15:11 | 16:41 | 18:11 | 19:30 |
| Wester Hailes, opp Westburn Park | 06:13 | 07:22 | 08:57 | 10:38 | 12:11 | 13:41 | 15:11 | 16:41 | 18:11 | 19:30 |
| Wester Hailes, opp Healthy Living Centre | 06:13 | 07:22 | 08:57 | 10:38 | 12:11 | 13:41 | 15:11 | 16:41 | 18:11 | 19:30 |
| Wester Hailes, before Clovenstone Roundabout | 06:14 | 07:23 | 08:58 | 10:39 | 12:12 | 13:42 | 15:12 | 16:42 | 18:12 | 19:31 |
| Gilmerton, after O'Donnel Road | 06:27 | 07:36 | 09:11 | 10:53 | 12:26 | 13:56 | 15:26 | 16:56 | 18:26 | 19:44 |
| Gilmerton, at Drum Cottages | 06:28 | 07:37 | 09:12 | 10:54 | 12:27 | 13:57 | 15:27 | 16:57 | 18:27 | 19:45 |
| Gilmerton Drum Street (NW-bound) | 06:28 | 07:37 | 09:12 | 10:54 | 12:27 | 13:57 | 15:27 | 16:57 | 18:27 | 19:45 |
| Gilmerton, before Ferniehill Avenue | 06:29 | 07:38 | 09:13 | 10:55 | 12:28 | 13:58 | 15:28 | 16:58 | 18:28 | 19:46 |
| Gilmerton, o/s Ferniehill Place | 06:29 | 07:38 | 09:13 | 10:55 | 12:28 | 13:58 | 15:28 | 16:58 | 18:28 | 19:46 |
| Moredun, after Ferniehill Road | 06:30 | 07:39 | 09:14 | 10:57 | 12:30 | 14:00 | 15:30 | 17:00 | 18:30 | 19:47 |
| Moredun Fernieside Grove (near) | 06:31 | 07:40 | 09:15 | 10:58 | 12:31 | 14:01 | 15:31 | 17:01 | 18:30 | 19:48 |
| Moredun, at Fernieside Drive | 06:32 | 07:41 | 09:16 | 10:59 | 12:32 | 14:02 | 15:32 | 17:02 | 18:31 | 19:49 |
| Little France Road (after) | 06:33 | 07:42 | 09:17 | 11:00 | 12:33 | 14:03 | 15:33 | 17:03 | 18:32 | 19:50 |
| Edinburgh Royal Infirmary (Stop IN) | 06:35 | 07:44 | 09:19 | 11:03 | 12:36 | 14:06 | 15:36 | 17:06 | 18:35 | 19:52 |
Timetable data from the Traveline National Dataset (TNDS),
More information
Lothian Country Buses
- Website
- lothiancountry.co.uk