Matthew Barnes-Homer's scored an 85th-minute penalty as Macclesfield came from behind to beat Braintree 2-1 at Moss Rose.
Silkmen midfielder Arnaud Mendy grazed the bar with two shots from distance early on, before the visitors took the lead against the run of play after 21 minutes.
Michael Gash was brought down by Nathaniel Brown inside the area, allowing Brad Quinton to drill home his third goal of the season from the penalty spot.
Their advantage lasted only four minutes as Barnes-Homer played in John Paul Kissock to guide the ball past Danny Naisbitt to equalise.
Dan Holman tried a shot from the edge of the area two minutes before the break, but Macclesfield goalkeeper Lance Cronin was up to the test.
Steve King's men pressed for a late victory and were finally able to earn all three points when Barnes-Homer blasted home a penalty after Quinton handled in the box.