Robert Ainslie (January 13, 1766 – April 11, 1838) was a Scottish writer and a correspondent of Robert Burns, the poet.