1680s, djen, from Arabic jinn, collective plural, "demons, spirits, angels." The proper singular is jinni. Cf. genie.