The game seemed beyond New Zealand’s grasp when they were reduced to 218 for seven as they chased England’s 258 all out.
With two players injured, they needed 41 runs off the last 25 balls with effectively one wicket in hand.
Guptill finished on 27 with 24. McCullum, was unbeaten on 69 from 61 deliveries.
Photos: Shraddha Kapoor, Kim Sharma at 'Haseena Parkar' screening
Mumbai to Goa train: First look at the glass-top Vistadome coach
Shuttler Ashwini Ponnappa keeps it short and sexy on social media
Photos: Narendra Modi, others at Marshal Arjan Singh's funeral
Photos: Sussanne Khan and Nimrat Kaur spotted at a spa in Juhu