The agreement will permit William Hill the use of official NBA betting data across mobile platforms and sportsbooks in the US.
The operator will also be promoted across the league’s website, app and social media platforms.
William Hill is now live in 10 US states, including Nevada, Indiana and Iowa.
The operator announced a similar multi-year sports betting partnership with the NHL earlier this year.
The deal is the latest of the NBA’s sports betting partnerships, after similar agreements with MGM Resorts International and the Stars Group last year. The league also has betting data partnerships with Sportradar and Genius Sports.
Dan Shapiro, VP of Strategy and Business Development at William Hill, said: “We are proud of this creative partnership that benefits our customers and our partners nationwide while promoting legalised wagering on NBA events.
“We expect this to be the beginning of a long and mutually beneficial relationship with the league and its teams.”