Walter Trail (died 1401; also spelled Trayl) was a late 14th-century bishop of St. Andrews, a historical religious figure in medieval Scotland.
According to the Wikipedia article on Walter Trail, he appears as an official in the Bishopric of Glasgow in 1378, holding the title of Magister Artium and a licentiate in canon and civil law. By 1380, he had obtained a doctorate in canon and civil law, and served as a Papal chaplain and auditor. In that year, Pope Clement VII (an "anti-Pope") granted him the deanery of the Bishopric of Dunkeld. He became treasurer of the Bishopric of Glasgow in either 1381 or 1382. On 29 November 1385, the Pope provided him to the vacant Bishopric of St. Andrews, which had become vacant following the capture and death of the previous bishop-elect, Stephen de Pa.
As a bishop, Trail was an active figure and an ardent defender of the rights of the church within Scotland. He constructed the castle at St. Andrews, where he died in 1401. His successor to the see was Thomas Stewart, following his predecessor Stephen de Pa.
The term "Walter Trail" is a well-established historical reference to this specific individual, and reliable encyclopedic sources exist documenting his life and ecclesiastical career. It does not refer to a geographic trail or path; any such interpretation would be a misunderstanding of the term, which is a personal name.