Ayr Burghs was a district of burghs constituency of the House of Commons of the Parliament of Great Britain from 1708 to 1800 and of the House of Commons of the Parliament of the United Kingdom from 1801 to 1950.
It elected one Member of Parliament (MP), using the first-past-the-post voting system.
The British parliamentary constituency was created in 1708 following the Acts of Union 1707 and replaced the former Parliament of Scotland burgh constituencies of Ayr, Campbeltown, Inveraray, Irvine and Rothesay.
The list of parliamentary burghs represented by the constituency changed in 1832 and again in 1918: When the Ayr Burghs constituency was abolished in 1950, the Ayr and Prestwick burghs were merged into the county constituency of Ayr.
Sir Thomas was elected, in 1950, as the first MP for the then new constituency of Ayr Kennedy was appointed as a Lord Commissioner of the Treasury, requiring a by-election.