Adam Birchall's first-half strike was enough to end Macclesfield's four-game winning league streak. Barnet, buoyed by their FA Cup win over Colchester in midweek, were confident in the early stages with Birchall going close with a fierce shot.
But the Bees broke the deadlock on stroke of half-time when Bailey's pass sprung the offside trap and Birchall coolly slotted low past David Rouse.
Barnet dominated the break with Jason Puncheon and Barry Cogan going close.
Barnet: Harrison, Hendon, Yakubu, King, Nicolau, Cogan, Bailey, Sinclair, Graham, Birchall (Grazioli 90), Puncheon (Hatch 78).
Subs Not Used: Flitney, Hessenthaler, Warhurst.
Booked: Nicolau.
Goals: Birchall 40.
Macclesfield: Rouse, Regan, Morley, Jennings, McIntyre, Heath (Reid 78), Murray (Hadfield 58), Tolley, Bullock, Tipton (Miles 57), Murphy.
Subs Not Used: Legzbiens, Swailes.
Booked: Morley, Regan.
Att: 2,018.
Ref: K Friend (Leicestershire).