John Leslie Foster, FRS (c. 1781 – 10 July 1842) was an Irish barrister, judge and Tory Member of Parliament (MP) in the United Kingdom Parliament. In 1830 he was appointed a Baron of the Court of Exchequer of Ireland.
He was the son of William Foster, Bishop of Clogher (1744-1797) and nephew of John Foster, 1st Baron Oriel. He was educated at Trinity College, Dublin and St John's College, Cambridge.
After his father’s early death, his uncle, John Foster, oversaw his further education, encouraged him to travel and employed him (presumably part-time) as his private secretary in an office for the loss of which he was later compensated on the Union with Great Britain with an annuity of £10 5s
On 9 August 1814 he married Letitia Vesey-Fitzgerald, daughter of James Fitzgerald, with whom he had five sons and a daughter, including the Australian politician, John Foster Vesey-Fitzgerald.
In the summer of 1814 he acquired his family seat at Rathescar, Co. Louth, an estate where his uncle, John Foster had lived in the 1770s and where John Leslie Foster undertook substantial repairs and alterations.
John Leslie Foster was called to the Bar in Ireland in 1803 and was sometime a member of Lincoln's Inn. In 1804 he published an "Essay on the Principles of Commercial Exchanges, particularly between England and Ireland". He was one of the Commissioners appointed for improving the Bogs of Ireland.
From 1807 to 1812 he represented Dublin University, having first contested the seat in 1806. He returned to the bar in 1812, but in 1816 was brought back to Parliament at the instigation of the government as member for Sir Leonard Holmes' borough of Yarmouth on the Isle of Wight.