Live prices for your dates · free cancellation on many rooms

EN

Hostel · Edinburgh · Edinburgh

Code - The Court, Edinburgh

A 4-star hostel on Parliament Square, steps from the Royal Mile and The Real Mary King's Close.

  • Central Old Town location near the Royal Mile
  • Pod beds with privacy curtains and personal lockers
  • 24-hour reception and luggage storage
8.8 Great 7924 reviews Booking.com 8.8 · 7924 reviews

About

Code - The Court, Edinburgh

Code - The Court, Edinburgh sits on Parliament Square, directly behind St Giles' Cathedral and a short walk from The Real Mary King's Close. The 4-star hostel blends private rooms with dormitory-style pods, all wrapped in a modern, secure package.

Guests here get more than a bed: there's a shared kitchen, a lounge with board games, a bar area, and a breakfast spread that regulars mention as a highlight. The staff rate highly for approachability, and the lockers and key-code access add a layer of comfort for solo travelers.

  • No smoking on site
  • Wi-Fi
  • Safe deposit box
  • 24-hour reception
  • No pets allowed
  • Security

In brief

What works, what to weigh

+

Strengths

4 reasons to book
  • Central Old Town location — On Parliament Square, behind St Giles' Cathedral, and a short walk from The Real Mary King's Close. Guests mention being steps from the Royal Mile and most attractions.
  • High staff ratings — Guests describe the staff as friendly, helpful, and approachable across multiple reviews.
  • Clean and modern facilities — Spotless rooms and shared bathrooms, with powerful showers and never a wait, per several reviews.
  • Secure and private pod beds — Privacy curtains, personal lockers, and key-code access are called out as reassuring for solo travelers.

Worth weighing

4 to weigh
  • No on-site parking — The property doesn't list parking, which fits its central Old Town address—guests arriving by car will need to find public lots or use public transport.
  • No pets allowed — The policy is strict on pets, so travelers with animals will need to look elsewhere.
  • Check-in window ends at 23:59 — While the 24-hour reception is convenient, the stated check-in hours end just before midnight—late arrivals after that may need to arrange in advance.
  • Dormitory-style rooms are shared — For those not used to hostels, shared dorms mean less privacy and potential noise, though reviews suggest the pods mitigate this.

01 — Rooms

Rooms & rates

High season: summer dates usually book out a few weeks ahead.

Deluxe Double Room

  • 1 King-size bed,1 Double bed,2 Single beds
  • Shower

Shared Bathroom Double Room

  • 1 Double bed,1 King-size bed
  • Shower
  • Heating
  • Air conditioning

Twin Room

  • 2 Single beds
  • Shower
  • Heating
  • Air conditioning

Ensuite Double Room

  • 1 Double bed
  • Shower
  • Heating
  • Air conditioning

10 Bed Dormitory Room Dormitory Room Mixed

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

Dormitory Room Female only

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

Dormitory Room Mixed

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

12 Bed Dormitory Room Dormitory Room Mixed

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

Private 8 Bed Dormitory Room Dormitory Room

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

Private Dormitory Room

  • 1 Bed in shared room
  • Shower
  • Heating
  • Air conditioning

Private Bathroom Quadruple Room

  • Sleeping arrangements for 4 persons
  • Private bathroom

02 — Amenities

Services & amenities

Everything included at this stay — the facilities and essentials, at a glance.

Essential

  • Wi-Fi
  • 24-hour reception
  • Luggage storage
  • Safe deposit box
  • No smoking on site

Comfort

  • Heating
  • Sitting area
  • Curtains

Food & Drink

  • Bar/ Lounge area

Activities

  • Board games
  • Tours/Ticket assistance

Safety & Security

  • Security
  • Smoke detectors
  • Fire extinguishers
  • Locker room

03 — Reviews

What guests say

Recent verified reviews from guests who stayed here.

8.8
Great 7924 reviews

Guest-rated 8.8/10 from 7,924 reviews

Booking.com · 8.8 · 7924 reviews
8.8Verified guest

“The location was perfect for sightseeing, right on the Royal Mile. Rooms were spotless, and the shared kitchen and bathrooms were modern. Showers had great pressure, beds were comfy, and the personal lockers were a plus. Staff were friendly and genuinely helpful.”

8.8Verified guest

“Unbeatable central location. Staff always friendly, and the room had everything I needed. The shared kitchen was handy for meals, and the lounge was great for relaxing. Board games, TV room, luggage storage, and 24-hour reception were all solid.”

8.8Verified guest

“Fantastic location in the heart of Old Town, close to historic sites. Staff were helpful, and the dorm basics—lockers, heater, and privacy—were great. Breakfast with pancakes and music was a nice touch.”

8.8Verified guest

“Great spot in the historic district, on a lively street. Rooms were comfortable with bright windows, and the dorms offered good privacy. Breakfast was a highlight, with yummy pancakes and a fun vibe.”

8.8Verified guest

“My Christmas stay was amazing. The blue and white pod lights created a calming atmosphere. Location was perfect, within walking distance of major attractions and public transport.”

8.8Verified guest

“The location couldn't have been better, close to all the main sights and great restaurants. Rooms and common areas were clean, and staff were always ready to help. Breakfast had plenty of options and non-stop coffee.”

04 — Location

Getting around Edinburgh

The property sits in Edinburgh.

On your doorstep: You're on Parliament Square, just behind St Giles' Cathedral. The Royal Mile runs past, and The Real Mary King's Close is within a short walk. Most of the Old Town's historic sites are reachable on foot.

Getting around: Public transport connections are nearby, and many attractions are within easy walking distance. For longer trips, the city's bus network and tram stop are a reasonable walk away.

Food and drink: The hostel has a bar and lounge area, and the surrounding streets are full of restaurants and pubs. Guests mention a range of dining options just outside the door.

1A Parliament Square, Edinburgh, Edinburgh, EH1 1RF, United Kingdom

Open in Google Maps

05 — Good to know

Policies & conditions

Hotel details are shown for reference. Final rate terms are confirmed on the partner’s site at booking.

Check-in
From 15:00-23:59
Check-out
By 11:00
Cancellation
Free cancellation on many rates — terms on booking page
Payment
Pay-at-hotel available on many rates; final terms at booking
Pets
Not allowed
Property
255 rooms

06 — Questions

Frequently asked

What are the check-in and check-out times?

Check-in is from 15:00 to 23:59, and check-out is by 11:00. There is a 24-hour reception, but the stated arrival window ends just before midnight.

Is there parking at the property?

No parking is listed on-site. Given the central Old Town address, it's best to plan for public parking or use public transport.

Are pets allowed?

No, pets are not allowed at Code - The Court, Edinburgh.

What breakfast options are available?

Guests mention a breakfast with pancakes and music on, and some reviews note a good variety of options and plenty of coffee.

Is there luggage storage?

Yes, luggage storage is available on-site, along with lockers in the rooms for personal belongings.

What room types are offered?

The property has private rooms (deluxe, superior, ensuite, and more) as well as shared dormitories, including female-only and mixed options. All rooms come with shower access.

The bottom line

For travelers who want to be in the thick of Edinburgh's Old Town without paying hotel prices, Code - The Court delivers a clean, secure, and social base. The pod beds and locker system make it especially good for solo visitors, while private rooms cater to couples and families. Just be clear on the check-in window and find parking elsewhere before you arrive.

8.8A well-run hostel that leans into its unbeatable address.

Ready to book Code - The Court, Edinburgh?

Tap through and we’ll open our booking partner’s site, with live prices and availability for your exact dates.

No payment on this site — you complete the booking on our partner’s site.