Barnet's Izale McLeod scored an injury-time equaliser to ruin Gillingham's winning start to the League Two season.
Danny Spiller tapped in Charlie Lee's long throw to give the visitors a first-half lead.
McLeod scored his first of the night with a header from Tommy Fraser's ball into the box, before Jack Payne's 30-yard strike put Gillingham ahead again.
Four minutes into injury time, McLeod turned in Anwar Uddin's free-kick to give Barnet a share of the points.
VIEWS FROM THE DRESSING ROOM
Barnet boss Lawrie Sanchez told BBC London 94.9:
"It's a strange one, I'm pleased we didn't lose, but we had our chances at 1-1 to take the lead. I'm a bit confused whether I'm pleased or disappointed.
"We have three forwards who are of a class above, we need to stop conceding goals now.
"If we work on certain aspects of our game I think we can be decent."
Gillingham boss Andy Hessenthaler told BBC Radio Kent:
"The boys are devastated, we all are. But we've still got to defend from the free-kick.
"It looked like we were going to see the game out, bitterly disappointed but we have to learn from that.
"A cracking goal from Jack (Payne) was worthy of winning the game for us.
"Places like this are not easy places to come but we've thrown two points away."