From a Scottish surname meaning "Mack's stream", from the name Mack, a short form of the Scandinavian name MAGNUS, combined with Old English wella "stream". A famous bearer of the surname was James Maxwell (1831-1879), a Scottish physicist who studied gases and electromagnetism.