Scotland, comprised initially of the primary road, now known as the Royal Mile, and countless rear ways that opened it toward the north and south. Some of these prompt open patios and are hence called "courts". Others are open lane sufficiently wide for a horse and cart, and are called "wynds", a reference to the way they twist along. Be that as it may, a large portion of these back roads are called "closes", since they prompt private property and are henceforth gated and closed to the public.
Back in medieval times, Royal Mile was lined with individual plots of land with paths to gain access to the land behind. As each plot became built up over time, these paths or closes developed into narrow lanes connecting courtyards and streets behind the Royal Mile. Tall buildings on both sides gave many closes a canyon-like appearance and atmosphere. Most closes slope steeply down from the Royal Mile. For anyone walking down the long flights of stairs, it creates the impression of walking into the underground.
Closes originally had some form of gateway at the Royal Mile end, usually a large iron gate. In some cases you can still see the mounting points for these in the stone. At night, these gates would be closed and locked, allowing access only to those with a key. In many ways, Edinburgh Closes were an early example of gated communities.
Closes were usually named after a memorable occupant of one of the apartments reached by the common entrance, or a trade plied by one or more residents.
One of the most interesting closes and a wildly popular tourist attraction in Edinburgh is the Mary King's Close. It’s said that during a plague outbreak in the middle of the 17th century, Mary King's Close was used as a quarantine to contain the spread of the disease. The ghosts of those who died here is said to still haunt the place.
Another interesting close is the Brodie's Close, named after Deacon Brodie, who was a respected citizen by day and burglar by night. Deacon Brodie was the inspiration for Robert Louis Stevenson's “Dr Jekyll and Mr Hyde”.
Advocate's Close is particularly popular with tourists in the summer because of the great views it offers of the Scott Monument and some of Edinburgh's central buildings.
White Horse Close is another popular close that leads to a picturesque group of whitewash houses. Another one, the Dunbar Close, leads to a secluded garden.