Marriott had been politically active as an undergraduate, and in 1885 was adopted as the Conservative candidate for East St Pancras, although he later withdrew.
In 1917 he was elected unopposed under the war-time electoral pact to represent Oxford City in the by-election following the elevation to a UK peerage of Arthur Annesley.