How Well Do You Know English Slang?
1670s, "secret or private stories," from French anecdote (17c.) or directly from Greek anekdota "things unpublished," neuter plural of anekdotos, from an- "not" (see an-) + ekdotos "published," from ek- "out" + didonai "to give" (see date (n.1)).
Procopius' 6c. Anecdota, unpublished memoirs of Emperor Justinian full of court gossip, gave the word a sense of "revelation of secrets," which decayed in English to "brief, amusing stories" (1761).