A first-half strike by Ross Draper gave Macclesfield all three points in the derby game with Crewe.
The Railwaymen went close when Byron Moore fired into the side-netting and AJ Leitch-Smith forced a save from Silkmen keeper Jose Veiga.
Draper struck with a fine 25-yard effort to put the visitors ahead against the run of play.
Shaun Miller and Matt Tootle both hit the post for Crewe but the search for a leveller was ultimately fruitless.
VIEWS FROM THE DRESSING ROOM
Crewe manager Dario Gradi told BBC Radio Stoke:
"The facts are that they had a shot from outside the box that crept inside the post, and we had two that hit the post.
"We started very well, really lively and confident and they were hanging on a bit.
"We dominated most of the play without creating a bagful of chances. I don't think Steve Phillips had a shot to save other than the one that went in."
Macclesfield Town manager Gary Simpson told BBC Radio Manchester:
"We came here and matched them up but we had to change the system after 15 minutes and we started to dominate possession then.
"I said to them you have to come to places like this sometimes and do them sort of performances, and fair play to them.
"That's his (Ross Draper) range really, he doesn't get tap ins, and it's usually one he can run onto and hit."