Old English upriht, from up "up" + riht "right." Similar compounds are found in other Germanic languages (cf. Old Frisian upriucht, Middle Dutch oprecht, Old High German ufreht, German aufrecht, Old Norse uprettr). Figurative sense of "good, honest" is first attested 1520s. The noun in the sense of "something standing erect" is from 1742.