David Lloyd (1656 – April 6, 1731) was an American lawyer and politician from Chester, Pennsylvania. He was the first Attorney General of the Province of Pennsylvania and a member of the popular party. He served 9 terms in the Pennsylvania General Assembly, including 9 terms as its Speaker, and 14 years as Chief Justice of the Pennsylvania Supreme Court.