Join millions of curious travelers.

Get early access to exclusive partner discounts, tips & user itineraries.

We promise not to spam you!
  • How It Works
  • Get Inspired
  • Pricing
  • Blog
  • Login
Get InspiredBlogTerms and ConditionsPrivacy Policy
© 2026 TravelPal, Inc.

Navigation

  • Blog
  • Destinations
  • Contact

Follow us

Terms & ConditionsPrivacy Policy
© 2026, TravelPal, Inc. All rights reserved.
0/200
Get InspiredEuropeUnited KingdomScotlandEdinburghCODE The Court

CODE The Court

GB
Hostel·Historic, Trendy, Social, Clean
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places
CODE The Court
Photo by CODE The Court from Google Places

CODE The Court reimagines the hostel experience within the walls of a 1690s courthouse in the heart of Edinburgh. This boutique accommodation is famous for its 'pod' beds, which provide guests with privacy curtains, individual power outlets, and a cozy atmosphere. Situated directly on the Royal Mile, it is steps away from major landmarks, pubs, and live music venues. Guests frequently praise the cleanliness of the facilities and the exceptionally helpful staff. Whether you're staying in a mixed or female-only dorm, the hostel offers a perfect balance of social interaction at the on-site bar and a peaceful night's sleep.

CODE The Court reimagines the hostel experience within the walls of a 1690s courthouse in the heart of Edinburgh. This boutique accommodation is famous for its 'pod' beds, which provide guests with privacy curtains, individual power outlets, and a cozy atmosphere. Situated directly on the Royal Mile, it is steps away from major landmarks, pubs, and live music venues. Guests frequently praise the cleanliness of the facilities and the exceptionally helpful staff. Whether you're staying in a mixed or female-only dorm, the hostel offers a perfect balance of social interaction at the on-site bar and a peaceful night's sleep.

You might want to ask

Address
1A Parliament Sqr, Edinburgh EH1 1RF, UK
Websitestaywithcode.com
Phone0131 297 6170
Hours
Open now
Open 24 hours

Highlights

  • Located in a beautifully converted 1690s courthouse.

  • Private pod-style beds with curtains and power outlets.

  • Prime location directly on the historic Royal Mile.

  • On-site bar offering drinks and a social atmosphere.

  • Dedicated female-only dorm options available.

Best For

Solo travelers and sightseers wanting a central, social base.

Occasion Tags

Solo, Tourists, Groups

Reviews

4.6
Excellent1,3 K reviews

CODE The Court earns high marks for its unbeatable location on Edinburgh's Royal Mile, with many guests rating it a perfect 10/10 for proximity to attractions. Reviewers are particularly impressed by the pod-style beds, noting that the curtains and individual charging ports offer a level of privacy and comfort rarely found in hostels. The staff are frequently singled out for being outstanding, friendly, and helpful during check-in and check-out. Cleanliness is a recurring theme, with both the dorms and bathrooms described as well-maintained. While the location involves a bit of a climb from the train station, guests find the value and atmosphere well worth the effort. The on-site bar and proximity to live music venues like Stramash add a vibrant social element to the stay.

Add dates for experiences

Location

Edinburgh, Scotland, United Kingdom
Open in Maps

Similar stays

Place
Place
Place
Place
Place

Ten Hill Place Hotel

4.6(1,7 K)
Edinburgh, Scotland
Stylish, Comfortable, Welcoming
Place
Place
Place
Place
Place

Kick Ass Grassmarket

4.3(1,6 K)
Edinburgh, Scotland
Lively, Social, Modern
Place
Place
Place
Place
Place

Kick Ass Greyfriars

4.2(1,5 K)
Edinburgh, Scotland
Lively, Youthful, Casual
Place
Place
Place
Place
Place

Castle Rock Hostel

4.7(3 K)
Edinburgh, Scotland
Lively, Social, Historic
Place
Place
Place
Place
Place

Safestay Edinburgh Cowgate

3.3(484)
Edinburgh, Scotland
Lively, Central, Basic
Place
Place
Place
Place
Place

a&o Hostel Edinburgh City

3.7(2,6 K)
Edinburgh, Scotland
Simple, Budget Friendly, Central
Place
Place
Place
Place
Place

High Street Hostel

4.3(1,1 K)
Edinburgh, Scotland
Social, Budget Friendly, Historic
Place
Place
Place
Place
Place

Fraser Suites Edinburgh

4.3(815)
Edinburgh, Scotland
Unpretentious, Quiet, Central

Food & drink near CODE The Court

Place
Place
Place
Place
Place

MUMS Great Comfort Food

4.4(4,7 K)
Edinburgh, Scotland
Bright, Retro, Casual
Place
Place
Place
Place
Place

Castlegate Cafe

4.7(780)
Edinburgh, Scotland
Cozy, Welcoming, Rustic
Place
Place
Place
Place
Place

Vittoria on the Bridge

4.6(6,6 K)
Edinburgh, Scotland
Warm, Welcoming, Family Run
Place
Place
Place
Place
Place

The Castle Arms

4.2(2,2 K)
Edinburgh, Scotland
Traditional, Cozy, Welcoming
Place
Place
Place
Place
Place

Oink Victoria Street

4.5(3,2 K)
Edinburgh, Scotland
Casual, Quick, Local
Place
Place
Place
Place
Place

The Elephant House

Edinburgh, Scotland
Casual, Classic, Welcoming
Place
Place
Place
Place
Place

The Witchery

4.3(4 K)
Edinburgh, Scotland
Opulent, Romantic, Historic
Place
Place
Place
Place
Place

Scotts Kitchen

4.5(1,5 K)
Edinburgh, Scotland
Casual, Stylish, Relaxed

Things to do near CODE The Court

Place
Place
Place
Place
Place

George Heriot's School

Edinburgh, Scotland
Stately, Historic, Academic
Place
Place
Place
Place
Place

The Kids Secret Garden

4.3(3)
Edinburgh, Scotland
Playful, Outdoor, Family Friendly
Place
Place
Place
Place
Place

Greyfriars Kirkyard Cemetery Edinburgh

4.7(2 K)
Edinburgh, Scotland
Historic, Serene, Thought Provoking
Place
Place
Place
Place
Place

National Museum of Scotland

4.8(55,8 K)
Edinburgh, Scotland
Bright, Modern, Educational
Place
Place
Place
Place
Place

The Three Sisters

4.1(5,7 K)
Edinburgh, Scotland
Lively, Energetic, Social
Place
Place
Place
Place
Place

The Scotch Whisky Experience

4.7(11 K)
Edinburgh, Scotland
Educational, Interactive, Cultural
Place
Place
Place
Place
Place

Camera Obscura & World of Illusions

4.6(15,5 K)
Edinburgh, Scotland
Interactive, Educational, Entertaining
Place
Place
Place
Place
Place

Gladstone's Land (National Trust for Scotland)

4.5(1 K)
Edinburgh, Scotland
Historical, Educational, Family Friendly