Born in Dundee,[1] Gourlay spent his early career with Dundee, signing his first contract with the club in summer 2014.[2] Gourlay appeared for the Dundee under-20 side in a 2–1 defeat against Cove Rangers in the Scottish Challenge Cup.[3][4][5] In March 2017, he joined Scottish League Two club Clyde on a development loan until the end of the season.[6] He made his senior debut on 1 April in a 1–0 defeat away to Cowdenbeath.[3] He appeared in 6 league matches for Clyde,[3] and signed a new contract with Dundee in May 2017.[7]
On 19 October 2017, he joined Scottish League One club Airdrieonians on an emergency loan until January 2018.[8][9] He made his debut for Airdrieonians on 28 October 2017 in a 2–2 draw at home to Albion Rovers[10] and made a further two appearances for them.[3] In January 2018, Gourlay returned to Clyde on loan for the remainder of the season.[11] He played three times for Clyde[3] and signed a one-year contract extension in May 2018.[12]
In summer 2018, Gourlay joined Scottish League Two side Elgin City on loan until January 2019.[13][14] He made his debut against Ross County in the Scottish League Cup in July 2018, before making his league debut the following month.[3] In January 2019, his loan was extended until the end of the season, having already played 20 times for Elgin City.[15] He made a total of 38 appearances.[3] He was released by Dundee at the end of the 2018–19 season.[16]
Having had trials with Queen of the South and AFC Bournemouth,[17] he signed a one-year contract with Hamilton Academical in July 2019.[18] In May 2020 he signed a one-year extension to his contract.[19][20] Gourlay made his first competitive appearance for Hamilton in a 3–2 defeat at Hibernian on 2 October, after regular goalkeeper Ryan Fulton was ruled out due to COVID-19.[21] On 19 May 2021 it was announced that he would leave Hamilton at the end of the season, following the expiry of his contract.[22]
He signed for Cove Rangers in June 2021 on a two-year deal.[23]
In May 2023 following the completion of his contract with Cove, Gourlay signed with Scottish League One club Kelty Hearts.[24] He signed a new two-year contract in March 2024,[25] but on 3 July 2024, Kelty confirmed that Gourlay had left the club after accepting an offshore job which made him unable to continue with the club.[26] He re-joined the club in November 2025.[3]