Two errors from Barnet goalkeeper Nick Jupp handed Macclesfield Town their first victory in four games.
The Bees went close to scoring when Keanu Marsh-Brown's free-kick was tipped onto the bar by Rhys Taylor.
But the hosts went ahead when Jupp failed to keep hold of Paul Turnbull's free-kick and Chris Holroyd was able to scramble in from close range.
Danny Whitaker then looped Jupp's poor clearance over the keeper's head from 40 yards out to make it 2-0.
Sorry, we were unable to load match stats, please try again.