1580s, "allotted measure," from Middle French module (1540s) or directly from Latin modulus "small measure," diminutive of modus "measure, manner" (see mode (n.1)). Meaning "interchangeable part" first recorded 1955; that of "separate section of a spacecraft" is from 1961.