Townley was adopted as Conservative candidate for
Mid Bedfordshire on 18 November 1918, where he received the
Coalition Coupon in opposition to Sir
Arthur Black, incumbent MP for
Biggleswade who was a Liberal supporter of
H. H. Asquith. He won the seat with a majority of 1,721, In Parliament, Townley concentrated on agricultural issues on which he had professional knowledge; he was a member of a delegation from the Agriculture Committee of the House of Commons to see the prime minister in July 1919. When the
Agriculture Bill was before Parliament in 1920, Townley defended the inclusion of a clause giving compensation to agricultural tenants for disturbance by their landlords, arguing it would not harm any good landlord. He made it clear that his commitment to agriculture dominated other issues, joining a protest in July 1921 against the government's Corn Production Acts (Repeal) Bill which removed subsidy. Townley asked rhetorically what the government intended to do with ex-servicemen who had been encouraged to go into farming, and whether it was better "to spend money on British agriculture than to seek to make
Palestine a land fit for
Hebrews to live in?" He was within the mainstream of the Conservative Party in general, not joining with the right-wing in seeking to limit spending. He opposed making
British Summer Time permanent. ==Defeat==