"I have to tell you how proud I am that we have finally passed this historic step together," Macron added.
Final results showed that 56.4 per cent chose to remain part of France while 43.6 per cent voted to leave -- a tighter result than some polls had predicted.
Turnout was about 81 per cent in this island that is one of UN's 17 "non-self governing territories" where the process of decolonisation has not been completed.
The vote was promised in a 1988 deal that put an end to a violent campaign for independence, the BBC reported.
Although the referendum passed peacefully but some unrest was reported post polls closed. Cars and a shop were set ablaze in the capital, Noumea, media reports said. The high commissioner's office said some roads were closed by protesters.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)