A financial lottery is a form of gambling where players pay for a ticket to win a prize if their numbers match those randomly drawn by machines. The lottery is often run by state or national governments. People play for a chance to win big prizes like cars, houses, or even college tuition. Many states use lotteries to raise money for public services such as schools and other educational programs. Lotteries are also a popular way to raise money for private charities and religious institutions.

While the casting of lots has a long history, state lotteries are relatively new in human society. They emerged from the European Low Countries in the 15th century to finance town fortifications and help poor citizens. Since then, they have grown into a major source of state revenue in most nations. Yet they still struggle to find a coherent policy. They are a classic case of piecemeal policymaking: Each state has its own lottery, and little coordination between the various lottery officials. The result is that lottery officials have few opportunities to take a broad view of the overall welfare implications of their policies.

Moreover, they are often at cross-purposes with the wider community interest. They promote a vice that disproportionately impacts low-income communities and can contribute to addiction. They are in the business of generating revenues, but they do so by targeting specific groups and by promoting a message that encourages people to spend beyond their means.