Samuel Anderson Gilligan came from a family in which football was very much part of everyday life. His three brothers also played professionally, making the Gilligans a remarkable footballing family. Sam began his working life as an apprentice riveter in the shipyards before football took him away from his native Scotland. He began playing for Belmont Athletic, where he spent three seasons and helped the club win local competitions, including the Dundee Junior League. His performances attracted the attention of Dundee Violet, from where he progressed to Dundee in October 1902. Gilligan made an immediate impression, scoring twice for Dundee's reserve side in a match against Aberdeen, with the local press suggesting he could prove an acquisition not only for the reserves but potentially for the first team. He went on to establish himself at Dundee before Celtic came calling in September 1903. At Celtic, Gilligan enjoyed a productive, if relatively short, spell. He scored 13 goals in 14 league and Scottish Cup appearances during the 1903/04 season before moving south to Bristol City in 1904.
Gilligan quickly became one of Bristol City's most important players. His arrival was warmly welcomed by the local press, with the Bristol Times and Mirror describing him as a centre-forward of the type the club particularly needed if it was to mount a serious challenge for promotion. He didn't disappoint. Gilligan was more than simply a centre-forward. A contemporary Liverpool profile published in October 1910 described him as a player who had occupied almost every position in Bristol City's team except goalkeeper. He was particularly comfortable in the forward line, but his versatility made him a valuable option elsewhere on the pitch as well. During Gilligan's six years at Ashton Gate, Bristol City enjoyed some of the finest seasons in their history. They won the Second Division championship in 1905/06, finished runners-up in the First Division the following season and reached the FA Cup final in 1909. Gilligan was an important part of all three achievements. He scored more than 100 goals during his time at Bristol City, where he was the club's leading scorer in all but one season.
Gilligan joined Liverpool in April 1910 after six seasons at Bristol City. Liverpool had finished second in the First Division in 1909/10, and the experienced forward was brought in to strengthen the attack. He made an ideal start, scoring on his debut against Manchester City on 24 September 1910. He was also selected for the following match against Everton, but thereafter had to wait until February before being recalled to the first team. Once selected, however, he enjoyed a run of 13 consecutive appearances through to the end of the 1910/11 campaign. His opportunities became more regular during the following season, and he proved a useful contributor in Liverpool's attack. The defining moment of his Liverpool career came on 27 April 1912, when the Reds travelled to Boundary Park to face Oldham Athletic in the final match of the season. Liverpool were in serious danger of relegation and needed to win. Gilligan scored the decisive goal in the second minute, securing a 1–0 victory and ensuring Liverpool remained in the First Division. It was his 11th goal of the season from 23 league appearances, and arguably the most important of his Liverpool career. The goal became part of Liverpool folklore in the early years of the club, and Gilligan was remembered for it long afterwards. Goalkeeper Kenneth Campbell, writing about his Liverpool career in the Weekly News in 1921, recalled the tension surrounding the match: 'It was an anxious time for the Anfield people. I can remember poor old Tom Watson was in such a state of nerves that he went behind the stand when the match was on. He could not bear to look on.'
Gilligan appears to have been a popular character among his teammates, with contemporary recollections suggesting that he was as entertaining off the pitch as he was knowledgeable about football. Kenneth Campbell revealed in his 1921 autobiographical series: 'I had quite the happiest of times with the second eleven, or the ‘preserves,’ as Sam Gilligan would persist in calling is. The Dundee man was the life and soul of the party. There never was a dull moment when the Dundonian was about. I never knew a man who was so well up in football love. Sam knew every wrinkle of the game, and to listen to his exposition of transfers, agreements, and the sundry other intricacies connected with the affairs of football was a revelation. Of course, he was brought up in a good school. He had three brothers who had been through the mill, all well-known professionals in their day. All the family started their careers in Dundee. Alec, the elder brother, went ultimately to Bolton, Willie to Derby County, and Johnny to Partick Thistle, finishing up with a long term at Shawfield. To hear Sam dilate on the Gilligan family was a fair treat. He was an unconscious humourist, and if I could remember some of his tales I could make you laugh for a week,' Campbell said.
After leaving Liverpool in 1913, Gilligan became player-manager of Gillingham in the Southern League. He held the position from July 1913 until 1915, making 81 appearances and recording 22 wins, 17 draws and 42 defeats according to Gillingham's historical managerial records. He also continued to play during his managerial tenure. Following the First World War, Gilligan returned to Dundee. He was still turning out in football, including charity matches, and appeared for a Caledon Shipbuilding Yard side and a Masonic Select team in Dundee. In September 1918, he reportedly returned to Dens Park for a match against a Highland Light Infantry team, scoring in the game. In 1923, he emigrated to the United States, settling in Ohio, where he reportedly managed an art gallery. He continued playing football well into his forties, playing for and managing Mahoning Valleys, a team based in the Youngstown area, and winning district league and cup titles.