1919, from en- (1) "make, put in" + code. Computing sense is from 1955, usually shortened colloquially to code. Related: Encoded; encoding.