1590s, from Middle French esprit "spirit, mind," from Old French espirit, from Latin spiritus "spirit" (see spirit).
For initial e-, see especial. Esprit de corps first recorded 1780. French also has the excellent phrase esprit de l'escalier, literally "spirit of the staircase," defined in OED as, "a retort or remark that occurs to a person after the opportunity to make it has passed." It also has espirit fort, a "strong-minded" person, one independent of current prejudices, especially a freethinker in religion.