1808, "that part of the Vedas which contains hymns," from Sanskrit mantra-s "sacred message or text, charm, spell, counsel," literally "instrument of thought," related to manyate "thinks," from PIE root *men- (1) "to think." Meaning "sacred text used as a charm or incantation" is by 1900; sense of "special word used for yoga meditation" is recorded in English by 1956.