The company first announced the sale in March, but did not identify the buyer or the purchase price at the time.
BlackBerry said the companies expect to close the sale of properties valued at approximately 80 per cent of the total later this month, with the remainder to be completed in the third quarter.
Under the deal, BlackBerry will sell more than three million square feet of space and vacant lands and lease back a portion of the properties.
BlackBerry has been cutting costs and restructuring its business in a bid to stay alive, including a plan to eliminate about 40 per cent of the company's workforce.
However, executive chairman and chief executive John Chen has said that BlackBerry is still committed to having a strong presence in Canada.