CODE - The Court, Edinburgh
Pods on Parliament Square: 90 seconds from the Castle, 90 seconds from the Cowgate
Wonderful
7,869 reviews




Check availability & prices
Compare prices for CODE - The Court, Edinburgh in Edinburgh
72%
Solo travelers
88%
Would stay again
54%
Made friends here
2.2 nights
Avg. stay
Our Honest Take
From the Hostelpedia team. No BS, just real advice
CODE - The Court is the most-central hostel address in Edinburgh, and the only one that makes any sense if you're here for less than 48 hours and want to be at the Castle, Royal Mile and Cowgate on foot in under five minutes. The pods are better-engineered than Princes Street Hostel's pods, the 8.8 rating is earned, and the breakfast is included โ a rare combo at this price point in Old Town. Pick it when you want curated-social (pub crawl, quiz night) rather than chaos. Skip it if you want dorm bunks and a shared kitchen to cook your own pasta; CODE has no guest kitchen, only a toaster at breakfast.
๐ฏ Insider Tips
- 1Ask at check-in for a pod on floor 2 or 3 โ floor 1 pods hear the basement bar through the floor on weekends. The top floor pods are quietest but a 45-second stair climb with a rucksack.
- 2The 9 pm pub crawl meets in the basement bar and hits Maggie Dickson's, Biddy Mulligan's and Dropkick Murphys; entry to The Hive is included. Cheaper than doing it solo and they skip the queues.
- 3Breakfast is served until 10 am sharp โ if you're hungover get down by 9:45 or you pay ยฃ8 at Pret on Lawnmarket.
- 4Walk to Arthur's Seat the back way: exit onto Cowgate, straight down Holyrood Road, up the grass path on the left โ 35 minutes, skips the Queen's Gallery tourist queue entirely.
๐ฅ Why We Love It
The only Edinburgh hostel where you can walk to the Castle Esplanade in 90 seconds
Pods are genuinely engineered for sleep โ privacy curtain plus double-glazed walls
Vaulted basement bar was actually part of the old court cellars (unique Edinburgh space)
Breakfast included is rare at this price point for Old Town addresses
Tour desk books Arthur's Seat sunrise tours, ghost tours, Highlands day trips direct
๐ The Full Story
CODE - The Court sits on Parliament Square in Edinburgh Old Town, wedged between St Giles' Cathedral and the working Court of Session โ the building was literally court chambers before the conversion in 2019. You cannot sleep closer to the Castle without buying a timeshare: it's a 90-second walk up the Royal Mile to the Esplanade, and the same 90 seconds down West Bow to the Grassmarket pub circuit.
Beds are pods, not bunks. Each pod has a proper mattress (not the foam slabs you get in budget pods elsewhere), a reading light, two USB sockets, a UK three-pin socket, a privacy curtain, and noticeably better soundproofing than the CODE Loft sister property on Rose Street. The mixed-gender pod dorms run from 8 to 24 beds; there are female-only pod rooms and a handful of twin pods for couples who want cheaper than a hotel but with some privacy.
The vaulted basement bar is the social core โ built into the original court cellars, stone walls, house DJ on weekends, nightly pub-crawl meetup at 9 pm led by in-house staff, breakfast included until 10 am (cereal, toast, porridge, filter coffee โ not gourmet but it saves you ยฃ8 at Pret). Upstairs there's a quiet lounge with Wi-Fi strong enough to actually work from.
Reviewers flag two things: the common room can fill up on weekends, which means if you check in late there's nowhere quiet to sit without going back to your pod, and the building has strict 11 pm noise rules in corridors (you're next to working court chambers โ the police enforce). It's not a party hostel in the Kick Ass Grassmarket sense; CODE is for solo travelers and couples who want pod luxury, the best Old Town address in the city, and a curated crawl rather than a free-for-all.
โจ The Vibes
๐ฌ What Travelers Say
Louis
๐ซ๐ท France ยท March 2026
โnice staff, clean, many facilities, exactly at the center and near all the most iconic placesโ
Emma
๐ณ๐ฑ Netherlands ยท April 2026
โIt was very clean the showers were great and I slept like a baby in the pod.โ
Josh
๐บ๐ธ USA ยท February 2026
โI most loved the social opportunities hosted every day! The staff was incredibly friendly and helpful.โ
Beatriz
๐ต๐น Portugal ยท January 2026
โYou can't beat the location especially if you like to do touristic stuff at the Royal Mile. The pods are comfy and the basement bar is a great place to meet people.โ
๐ What's Nearby
Edinburgh Castle Esplanade
90 seconds walk
Cowgate pub circuit (Bannerman's, Sneaky Pete's)
2 min walk
Grassmarket
3 min walk
Waverley Station (trains, Airlink 100)
6 min walk
Arthur's Seat trail entrance
15 min walk
Princes Street shops
8 min walk
๐ House Rules
- โขCheck-in from 3 pm, check-out by 10 am
- โข18+ only in mixed-pod dorms; 16+ with parent in twin pods
- โขยฃ10 card pre-authorisation at check-in (released at checkout)
- โขQuiet hours 11 pm to 7 am enforced by keycard access logs
- โขNo cooking in pods (no guest kitchen on site)
- โขLuggage storage free on check-in day and check-out day
From
โฌ42/night
Compare prices across booking sites
Room Types
Pod in 24-pod mixed dorm
โฌ36
Cheapest bed at CODE โ pod with privacy curtain, reading light, two USB + one UK plug, under-pod locker. Basement floor closest to the bar.
24
Pod in 8-pod mixed dorm
โฌ42
Mid-tier โ same pod build, quieter floor, fewer bunkmates. Most common booking.
8
Pod in female-only dorm
โฌ42
Same pod build, women-only floor. Separate keycard-access corridor.
6
Twin pod room (private)
โฌ98
Two pods in a single private room โ works for couples who want a hotel feel on a hostel budget.
2
๐ Amenities
๐จ Other hostels in Edinburgh

Castle Rock Hostel
8.7 ยท From โฌ28/night

Princes Street Hostel
8.4 ยท From โฌ32/night

Royal Mile Backpackers
8.4 ยท From โฌ30/night

Kick Ass Grassmarket
8.4 ยท From โฌ29/night

CODE - The Loft, Edinburgh
8.4 ยท From โฌ38/night

High Street Hostel
8.3 ยท From โฌ26/night

Haystack Hostel
8.3 ยท From โฌ30/night
Don't sleep on this one
CODE - The Court, Edinburgh is one of the most popular hostels in Edinburgh. Beds fill up fast, especially during peak season. Lock in your dates now.
Check Availability Now ๐ฅ