Bangladesh bounced back to win the second ODI and even the three-match series at 1-1.
New Zealand were bowled out 198 batting first, as Nahid Rana grabbed a fivefor.
And the host got fifties from Tanzid Hasan and Najmul Shanto to secure the 8 wicket win over the Black Caps.