An epigram is a brief, interesting, memorable, and sometimes surprising or satirical statement. Derived from the Greek: ἐπίγραμμα epigramma "inscription" from ἐπιγράφειν epigraphein "to write on, to inscribe", this literary device has been employed for over two millennia.
The presence of wit or sarcasm tends to distinguish non-poetic epigrams from aphorisms and adages, which may lack them.
The Greek tradition of epigrams began as poems inscribed on votive offerings at sanctuaries – including statues of athletes – and on funerary monuments, for example "Go tell it to the Spartans, passersby...". These original epigrams did the same job as a short prose text might have done, but in verse. Epigram became a literary genre in the Hellenistic period, probably developing out of scholarly collections of inscriptional epigrams.
Though modern epigrams are usually thought of as very short, Greek literary epigram was not always as short as later examples, and the divide between "epigram" and "elegy" is sometimes indistinct (they share a characteristic metre, elegiac couplets); all the same, the origin of the genre in inscription exerted a residual pressure to keep things concise. Many of the characteristic types of literary epigram look back to inscriptional contexts, particularly funerary epigram, which in the Hellenistic era becomes a literary exercise. Many "sympotic" epigrams combine sympotic and funerary elements – they tell their readers (or listeners) to drink and live for today because life is short.
Epigrams are also thought of as having a "point" – that is, the poem ends in a punchline or satirical twist. By no means do all Greek epigrams behave this way; many are simply descriptive. Epigram is associated with 'point' because the European epigram tradition takes the Latin poet Martial as its principal model; he copied and adapted Greek models (particularly the contemporary poets Lucillius and Nicarchus) selectively and in the process redefined the genre, aligning it with the indigenous Roman tradition of 'satura', hexameter satire, as practised by (among others) his contemporary Juvenal. Greek epigram was actually much more diverse, as the Milan Papyrus now indicates.