The lottery is a popular form of gambling in which numbers are drawn for prizes. Its popularity has grown in recent years, partly due to a shift toward smaller prizes and the availability of online gaming, which has lowered entry fees and increased prize amounts.

The word lottery is believed to be derived from Old Dutch lot, which is probably a diminutive of the word lottere “to draw” (literally, to put a number on). The earliest recorded public lotteries to award money prizes appeared in 15th-century Burgundy and Flanders with towns trying to raise funds to fortify defenses or aid the poor. Francis I of France permitted the establishment of lotteries for private and public profit in several cities from about 1520.

Often, players overestimate their ability to control the outcome of a lottery drawing. For example, they may think that choosing their own numbers increases their odds of winning and ignore the fact that the lottery is a game of chance. In reality, picking a single set of numbers has no more chance of winning than any other.

Lottery revenues typically expand dramatically after their introduction, but over time they level off or decline. Attempts to maintain or increase revenue have required innovations such as instant games, in which the public buys tickets for a drawing that takes place weeks or months in the future, and scratch-off tickets, which have much lower prize amounts but higher probabilities of winning.