Taiwanese Canadian businessman Joe Tsai is officially the new owner of the Brooklyn Nets basketball team, which is gearing up for a new season with star players Kevin Durant and Kyrie Irving.

Russian billionaire Mikhail Prokhorov on Friday announced that he sold his remaining 51 percent stake in the team to Tsai, co-founder and executive vice chairman of e-commerce company Alibaba. Prokhorov also sold Tsai the Barclays Center arena, where the Nets play ball.

The total cost of the transaction, including debt on the Barclays Center, was $3.38 billion, sources said.

Tsai — who is worth $9.4 billion, according to Forbes — already owned a 49 percent stake in the team, which be bought last year for $1 billion. He forked over another $1.35 billion for the remaining 51 percent stake.

The $2.35 billion he paid for the Nets marks a record for any sports team.

In the last two years, the Houston Rockets sold for $2.25 billion and the Los Angeles Clippers for $2 billion. Both, like the Nets, are in attractive markets.

The median value of an NBA team today is about $1.75 billion, sports bankers said. But Tsai paid a premium for the Nets even though the team barely makes a profit, sources said.

Tsai also paid about $700 million for Barclays Center, sources tell The Post. And he is also assuming a $325 million loan made against Barclays Center, bringing the total cost of the arena about $1.025 billion.

Tsai attended the Lawrenceville School in New Jersey, and after graduating Yale Law, he lived and worked in New York.

“New York is an incredible city. I have an affinity for New York,” Tsai told The Post in May. “My first job after law school was in New York [at Sullivan & Cromwell]. I met my wife, Clara, here. So New York to me is my second home.”

Brett Yormark, CEO of parent company BSE Global, will oversee the transition to new ownership before departing for a new role.