The NSW government will receive more than $7 billion from leasing half of state electricity network Endeavour Energy.
Australian-led consortium Advance Energy secured the 50.4 per cent stake for $7.6 billion, Premier Gladys Berejiklian announced on Thursday.
Endeavour Energy was the last of the state's electricity networks to be partially privatised as part of the government's 2015 election promise to sell off NSW's poles and wires to raise $20 billion for infrastructure.
Ms Berejiklian says the latest sale far exceeded her expectations.
"These transactions are complete and now we get on with the job of not just building the things we promised we would, but where possible, bringing those things forward," she told reporters in Sydney.
About $23 billion in net proceeds will flow from the state's overall electricity asset program, which included the $16.2 billion sale of the Ausgrid network and $10.2 billion sale of TransGrid.
The proceeds will help fund major rail and roads projects such as the Sydney Metro and Westconnex, as well as new schools, hospitals, and arts or sports centres.
One-third of the funds will flow to the regions.
The boost would provide "extra head-room" in the budget to fund other projects in the future, Ms Berejiklian said.