The history of Peebles spans nine centuries, so it is inevitable that there is a wealth of history in which to delve for nuggets of interest. David I of Scotland used to visit Peebles Castle in the late 1100s to hunt, the Parish Church of St. Andrew was founded in 1195 and the town was made into a Royal Burgh by David II in 1367 and granted a charter by King Robert the Bruce to hold fairs. The River Tweed did not have a bridge at Peebles until 1467, just a few years after Burgh records were started during the reign of James II. In the 16th century, the town was surrounded by a wall with defensive bastel houses, remains of which can still be seen.
The social history changed dramatically with the arrival of the railways in the 19th century as woollen mills took advantage of both the fast flow of the river and easy transportation of goods; the trains also brought flocks of tourists to the picturesque setting, establishing Peebles as a holiday location.