Wilson was born in Sale, Greater Manchester and was educated at Harrow School and Oriel College, Oxford. During the war he served in the Royal Army Ordnance Corps in Great Britain, Egypt and Iraq. While at Oxford he wrote revues for the Oxford University Experimental Theatre Club and then attended the Old Vic Theatre School on a production course.
Most of his work for the stage was material for revues, such as Hermione Gingold's Slings and Arrows, Laurier Lister's Oranges and Lemons, and See You Later, starring such performers as Peter Cook. He wrote the book, music and lyrics for The Boy Friend for the Players' Theatre in 1953. Its success resulted in a longer version being produced in the West End at Wyndhams Theatre. After its opening in January 1954, over 2,000 performances were put on there. It opened on Broadway in 1954, at the Royale Theater, and introduced Julie Andrews in her Broadway debut. The show ran on Broadway for over 480 performances.
Wilson wrote the musical Valmouth in 1958, based on a Ronald Firbank novel set in a seaside resort. In 1964 he wrote Divorce Me, Darling!, a sequel to The Boy Friend. His last work was a version of Aladdin (1979) for the Lyric Theatre, Hammersmith.
His autobiography, published in 1975, is titled I Could Be Happy.
In 1999, Wilson donated his papers to the Harry Ransom Center. The papers include produced and unproduced plays, mostly musicals but also plays for stage and TV, as well as drafts of Wilson's published and unpublished works including an autobiography, illustrated book, novels, articles, and short stories, along with correspondence.
- Stevens, Christopher (2010). Born Brilliant: The Life Of Kenneth Williams. John Murray. pp. 364/5. ISBN 1-84854-195-3.
- Daniel E. Slotnik, "Sandy Wilson, Composer and Writer of ‘The Boy Friend,’ Dies at 90", New York Times, 31 August 2014
- Freedland, Michael and Michael Coveney. "Sandy Wilson obituary", The Guardian, 27 August 2014, accessed November 10, 2017
- Beck, Andy and Fisher, Brian. Broadway for Two, Alfred Music Publishing, 2007, ISBN 0-7390-4477-X, p. 82
- "Sandy Wilson:A Preliminary Inventory of His Papers at the Harry Ransom Humanities Research Center" utexas.edu, retrieved 9 March 2010