A lot vs. Alot: 9 Grammatical Pitfalls
1769, "short pin passed through the eye of a rope," a nautical word of uncertain origin, perhaps a frequentative form of tog "tug." Meaning "a kind of wall fastener" is recorded from 1934. Toggle bolt is from 1794; toggle switch first attested 1938.
1836, from toggle (n.). Related: Toggled; toggling.