Mascarenhas, who replaced Shane Bond in the role last March, on Friday said he will leave at the end of the season to spend more time with his family.
Head coach Mike Hesson said he was sorry to be losing Mascarenhas but "we understand that family comes first and the demands of the international calendar are not always compatible with that."
New Zealand Cricket said it will immediately begin the search for a replacement.