Is it illegal to gamble online in California? Effectively, yes. No state law authorizes online casinos, online poker, or online sports betting, and the statutes California uses to prohibit gambling are broad enough to cover internet play. The one exception is horse racing, which you can legally bet on through state-licensed advance deposit wagering platforms. Individual players almost never get prosecuted for using offshore gambling sites, but the activity is not legal, and operators face serious criminal exposure at both the state and federal level.
Why Online Gambling Is Illegal Under California Law
California’s gambling statutes were written before the internet, and they have never been updated to address it directly. Penal Code Section 330 prohibits playing or operating “any banking or percentage game played with cards, dice, or any device, for money, checks, credit, or other representative of value.”1California Legislative Information. California Penal Code 330 The language is broad enough to cover online casino games, but the words “internet,” “online,” and “electronic” appear nowhere in the statute. Prosecutors have rarely tested that ambiguity in court.
Penal Code Section 337a separately criminalizes bookmaking and accepting bets on contests of skill, speed, or chance. That covers sports betting whether it happens online or in person. Enforcement against individual bettors, though, has been virtually nonexistent. Californians routinely use offshore gambling sites without facing charges, even though those sites operate illegally under state law.
Penalties for Playing at an Unlicensed Online Site
If you are charged under Penal Code Section 330 for playing a prohibited banking or percentage game, you face a fine between $100 and $1,000, up to six months in county jail, or both.1California Legislative Information. California Penal Code 330 This is the statute most likely to apply to someone playing at an unlicensed online casino. Prosecutions of individual players are extremely rare in practice, but the exposure exists on paper.
Sports bettors face Penal Code Section 337a instead. The statute reaches anyone who places bets with an unlicensed bookmaker, though again, actual prosecution of casual bettors is uncommon.
Penalties for Running an Illegal Online Gambling Operation
Operators face much heavier consequences than players. A first offense under Penal Code Section 337a is punishable by up to one year in county jail or state prison, a fine up to $5,000, or both. Because the statute allows state prison time, prosecutors can charge it as either a misdemeanor or a felony depending on the circumstances. Operators running unlicensed online gambling sites aimed at California residents are the primary target, especially when the operation involves large sums of money.
Federal law adds another layer. Under 18 U.S.C. § 1955, anyone who conducts, finances, manages, or owns part of an illegal gambling business faces up to five years in federal prison, a fine, or both, and the government can seize any property or money used in the operation.2Office of the Law Revision Counsel. 18 U.S. Code 1955 – Prohibition of Illegal Gambling Businesses When federal prosecutors get involved, they often stack additional charges like money laundering or wire fraud, which push potential sentences much higher.
The One Legal Form: Online Horse Racing
Horse racing is the only form of gambling California allows online. The California Horse Racing Board licenses advance deposit wagering platforms that let you fund an account and bet on races from your computer or phone. Authorized platforms include TVG, TwinSpires, Xpressbet, and several others.3California Horse Racing Board. Advance Deposit Wagering This carve-out exists partly because of the federal Interstate Horseracing Act, which allows interstate pari-mutuel wagering when both the sending and receiving states consent.
Nothing else legal in California extends online. Tribal casinos, card rooms, and the state lottery are all in-person only. You must be at least 18 to buy lottery tickets, while most other forms of legal gambling in the state require you to be 21.4California State Lottery. Play Responsibly If a website offers casino games, poker, or sports betting to California residents and it isn’t a horse racing ADW platform, it is not operating legally under state law.
Daily Fantasy Sports: The Real Gray Area
Daily fantasy sports platforms like DraftKings and FanDuel operate in California, but not because any law explicitly permits them. The California Department of Justice issued a legal opinion acknowledging that existing law does not clearly address daily fantasy sports, and the DOJ emphasized it lacks authority to make new law — only the Legislature and voters can do that.5California Department of Justice. Legal Opinion on Daily Fantasy Sports
Fantasy sports advocates argue these contests are games of skill, not chance, which would place them outside California’s anti-gambling statutes. That distinction has never been tested in a California court, so the legal status remains genuinely uncertain. Multiple bills to regulate or explicitly legalize daily fantasy sports have been introduced without reaching the Governor’s desk. For now, the platforms continue operating on the theory that no one has told them to stop.
Sweepstakes Casinos Are No Longer a Loophole
For years, sweepstakes casino platforms operated in a gray zone. These sites let users buy virtual currency and redeem winnings for cash prizes, arguing they were promotional sweepstakes rather than gambling. That let companies offer slot-like and table-game-like experiences to California residents without holding a gambling license.
That loophole closed in October 2025. Governor Newsom signed Assembly Bill 831, which made it unlawful to operate, conduct, or offer an online sweepstakes game in California.6California Legislative Information. AB 831 – Gambling: Operation of a Contest or Sweepstakes The new law, codified as Penal Code Section 337o, applies to any simulated gambling program where players pay to participate and can win cash or cash equivalents. Violators face a misdemeanor charge carrying a fine between $1,000 and $25,000, up to one year in county jail, or both. The law targets operators and platforms rather than individual players, but its broad language covers anyone who “operates, conducts, or offers” a covered sweepstakes game.
Taxes on Gambling Winnings
Whether you win money at a tribal casino, through an offshore website, or on a horse racing platform, the IRS expects you to report it. All gambling winnings are taxable as ordinary income, and you are required to report them on your federal return even if no one hands you a tax form.7Internal Revenue Service. Topic No. 419 – Gambling Income and Losses
Starting in 2026, casinos and gambling operators must issue a Form W-2G when your winnings reach $2,000, up from the previous $600 threshold. Federal income tax is automatically withheld at 24 percent when winnings exceed $5,000. California also taxes gambling income at your regular state income tax rate, which can run as high as 13.3 percent for top earners. You can deduct gambling losses against your winnings on your federal return, but only if you itemize and only up to the amount you won. You cannot use gambling losses to create a net deduction.
The tax rules apply regardless of whether the site you played on was legal. Winnings from an offshore casino are still reportable income, and failing to report them creates a separate legal problem on top of any gambling-related exposure.