a prefix used freely in English and meaning "not, lack of," or "sham," giving a negative sense to any word, 14c., from Anglo-French noun-, from Old French non-, from Latin non "not, by no means, not at all, not a," from Old Latin noenum "not one" (*ne oinom, from PIE root *ne- "not" + PIE root *oi-no- "one, unique"). In some cases perhaps from Middle English non "not" (adj.), from Old English nan (see not). "It differs from un- in that it denotes mere negation or absence of the thing or quality, while un- often denotes the opposite of the thing or quality" [Century Dictionary].
mid-14c., "that is such by its essence," from Late Latin essentialis, from essentia "being, essence," abstract noun formed (to translate Greek ousia "being, essence") from essent-, present participle stem of esse "to be," from PIE root *es- "to be." Meaning "pertaining to essence" is from late 14c., that of "constituting the essence of something" is from 1540s; that of "necessary" is from 1520s. Essentials "indispensable elements" is from early 16c. Related: Essentially.
Others are reading
<a href="https://www.etymonline.com/word/non-essential">Etymology of non-essential by etymonline</a>
Harper, D. (n.d.). Etymology of non-essential. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/non-essential