While gambling laws vary from one state to another, in most jurisdictions you will have to be 21 years or older to play online casinos, place wagers on online sportsbooks, or play online poker. When it comes to lotteries, participants usually need to be 18+ to play.