Old English unfægr "unlovely, not beautiful, deformed, hideous, unlovable," from un- (1) "not" + fair (adj.). Similar formation in Old Norse ufagr, Gothic unfagrs. Meaning "wicked, evil, bad" is recorded from c.1300. Sense of "not equitable, unjust" is first recorded 1713. Related: Unfairly.