David Mallet (or Malloch) (c. 1705–1765) was a Scottish poet and dramatist.
He was educated at the University of Edinburgh, and went to London in 1723 to work as a private tutor. There he became friendly with Alexander Pope, James Thomson, and other literary figures including Henry St John, Viscount Bolingbroke.
His best-known work was written in the same year: William and Margaret, adapted from a traditional ballad. In 1740, he collaborated with Thomson on a masque, Alfred, which was the vehicle for "Rule, Britannia!". His other plays and poetry (e.g. Amyntor and Theodora), popular at the time, are largely forgotten, but Bolingbroke's writings were edited and published by Mallet in 1754.