About

CODE The Court is a unique social hostel set inside a former courthouse and jail in the heart of Edinburgh's Old Town. Combining historic character, privacy pods, daily social events and modern communal spaces, it's the perfect base for travellers looking to explore the city and meet new people

LOCATION. Stay in the heart of Edinburgh's Old Town, just off the Royal Mile behind St Giles’ Cathedral. Within walking distance of Edinburgh Castle, nightlife, restaurants, cafés, train and bus stations and the city's top attractions.

FREE DAILY EVENTS. Meet travellers from around the world through our daily programme of events and experiences including free walking tour, local beer sampling, Ceilidh introduction, paint & sip, and much more!

PRIVACY PODS. Our custom-designed pods offer the best of both worlds: the social atmosphere of a hostel and the privacy of your own space. Each pod includes a charging point, reading light and secure storage to help you enjoy a comfortable night's sleep.

NEW COMMON AREAS. Discover The Pend, our newly opened common area, featuring a shared kitchen, co-working space, cinema room and quiet library.

UNIQUE & HISTORICAL BUILDING. Stay inside a former courthouse and jail transformed into one of Edinburgh's most unique hostels. Sleep in our signature pod dorms or in one of the original holding cells.

COMFORT. Free Wi-Fi, quality mattresses, free linen, secure access, clean facilities and a friendly team ready to help you make the most of your time in Edinburgh.

CODE The Court Conditions:

Cancellation policy: 72h before arrival, 100% charge
Check in from 15:00 to 23:00 .
Check out before 11:00 .
We do not accept Diners card.
Taxes included.
Breakfast not included.
No curfew.
Non smoking.
Under-aged guests have to be accompanied by an adult and a private room should be booked.
No pets.

Different terms and conditions apply for groups of 8 or more guests:
Please note: CODE will not accommodate school groups. hen/stag or similar parties.

Group payment policies:

A non-refundable deposit of 20% will be charged in order to secure the reservation.
The remaining balance is due 28 days prior to the arrival date.
If we are unable to charge the card the reservation may be cancelled.

Cancellation policies for groups:

If the whole reservation is cancelled up to 28 days before the arrival date, the accommodation deposit (20% of the reservation) will not be refunded.

The group reservation can be amended free of charge up to 28 days prior to arrival. If due to the amendments the value of the reservation falls below the original deposit amount, then we will not be able to refund the difference.

If you cancel your group reservation less than 28 days before your day of arrival, no refund will be given and the outstanding amount will be due.

If you are booking within 28 days of the arrival date the full amount will be due immediately, no refund will be given for any cancellation or amendments.

Upon arrival a code of conduct needs to be signed by a group leader and a damage deposit taken. (£300 pre-authorisation on a valid credit card.)

Please note: CODE will not accommodate school groups. hen/stag or similar parties.

House Rules

Check In

15:00 - 23:00

Check Out

until 00:00

  • Taxes Included
  • No children
  • No curfew
  • No smoking
  • No pets
View House Rules

Facilities

  • Free City Maps
  • Free WiFi
  • Free Internet Access
  • Free City Tour
  • Free Security Lockers
  • Free Luggage Storage
  • Meeting Rooms
  • Coworking Space
View all facilities

Reviews

9.4Superb(1975)
  • Value for Money
    9.0
  • Security
    9.6
  • Atmosphere
    9.2
  • Cleanliness
    9.1
  • Staff
    9.5
  • Location
    9.9
  • Facilities
    9.2
Summary of traveller reviews

CODE - The Court in Edinburgh is praised for its unbeatable location, friendly and helpful staff, and clean, comfortable pod-style beds. It's particularly recommended for solo travellers seeking a safe and convenient base for exploring the city.

Stayed in Nov 2026
7.4
A
Ashlee
Female, 18-24, Australia
Great location, very central to all of the old town Edinburgh sights as well as good access to public transport. The hostel puts on free walking tours daily which are definitely worth it! The hostel tries to put on other social events but they didn't exactly draw a crowd. I would say if your more looking for a base and aren't really interested in the social aspect this place would be perfect. We stayed in the 8 bed mixed dorm and it was clean and tidy, wouldn't suit the pod if you are over 6ft
Stayed in Nov 2026
10
C
Charlotte
Female, 18-24, Australia
I LOVED IT HERE!! I was in the pods which were extremely private and homely!! The showers were clean as were the rooms. The location is also fabulous as you’re right in the heart of everything. Would definitely recommend this hostel!!!
Stayed in Nov 2026
10
T
Teresa
Female, 41+, England
Truly excellent - I loved it. I was here for work while visiting my daughter at University. I was able to get two good nights’ sleep in a comfortable pod in a dorm, work in the cafe while enjoying delicious porridge and coffee, and easily get to both the office and University campus. The whole place was clean, friendly and welcoming (even though I am no longer a young backpacker) and I would wholeheartedly recommend it. The showers were also very nice and hot and the lockers a good size.
View all reviews

Location

1A Parliament Square, Edinburgh, Scotland
0.6km from city centre