The referendum asked whether the flag which includes the Union Jack should be replaced by a design called Silver Fern, which won an earlier ballot.
The results show 56.6% voted for no change, while 43.1% opted for the new design. Just over 2.1m votes were cast.