James Barnett (c. 1760 – 1 October 1836) was an English banker and Whig politician who sat in the House of Commons variously between 1806 and 1820. Barnett was the son of Charles Barnett and his wife Bridget Clayton, daughter of Alexander Clayton. He became a banker.
Barnett was elected as a Member of Parliament (MP) for Rochester at the 1806 general election[1] and held the seat until 1807, when he did not contest the election. He was re-elected for Rochester at a by-election on 27 June 1816 but his election was declared void on 26 February 1817 because the poll had been closed early. He was elected unopposed at the subsequent by-election<[2] which was held on 6 March 1817 and held the seat until 1820,[3] when he did not contest that year's general election.
Barnett died aged around 76. His wife was named Ann. Their eldest recorded son Charles James Barnett was a cricketer and politician.