The deal will see Sky Sports broadcast more than 170 live games including a record number of live weekend games starting from 8.30pm UK time.
The partnership will also see live games and highlights of the Women’s National Basketball Association (WNBA) broadcast from May 2019 onwards.
Sky Business managing director David Rey said: “This is great news for our customers and for basketball fans in the UK and Ireland.
“We’re partnering with a really exciting sport that has a fascinating history and an even more compelling future.
“With some of the biggest stars in world sport, we know the NBA will bring drama and entertainment to our customers week after week.
“Our focus is to ensure that our customers can make their venues the home of sport and enjoy the best live sports experience, as we continue to invest in the content that matters most to their business, both now and in the future.
“The NBA partnership is a great way to attract a new and broader range of customers to pub premises.”
The NBA’s 73rd regular season gets underway at 1am tomorrow (Wednesday) morning, with Sky Sports Main Event airing an opening-night doubleheader featuring the Philadelphia 76ers visiting the Boston Celtics and the defending NBA Champion Golden State Warriors hosting the Oklahoma City Thunder.
BT Sport had previously held the UK rights to the NBA in the UK in a deal starting in the 2015/16 season.