Sri Lanka and New Zealand shared their three-game one-day international series after bad light in Dambulla saw the hosts win by 36 runs on Duckworth/Lewis.
Rain meant the Black Caps were set 216 to win in 33 overs, but the gloaming forced the players off at a ground without lights when the tourists were 126 for six from 25 overs.
James Neesham and Brendon McCullum, with 42 and 35 respectively, had shared an unbroken 63 in six overs, although the hosts remained favourites on a pitch that aided slow bowling.
Two wickets each for spinners Sachithra Senanayake and Rangana Herath, who added Luke Ronchi for 23, had left New Zealand 26 for five in the 11th.
The tourists earlier won the toss in a match initially reduced to 43 overs a side, but rain at 132 for four in the 22nd over saw that limited further.
With 46 and 53 respectively, Mahela Jayawardene and Tillakaratne Dilshan put on 91 for the first wicket and a series of cameos then carried Sri Lanka to 211 for eight, which proved a winning score.