Sir Robert Ainslie, 1st Baronet (c. 1730 – 21 July 1812) was a British ambassador to the Ottoman Empire (Ottoman Porte), orientalist and numismatist. He was a Member of Parliament (MP) for the rotten borough of Milborne Port in Somerset between 1796 and 1802.