How old do you have to be to purchase lottery tickets in the US?

you have to be 18 years old to purchase a lottery ticket on the us