Manager Richard O'Kelly was disappointed at the defeat to Accrington but says Hereford's focus is now on the six-pointer with Barnet.
It looked like the visitors would grab a much-needed point after a Will Evans goal and a superb performance from goalkeeper Dave Cornell. But Toto Nsiala's ball into the box five minutes from time was left by the Bulls defence and Padraig Amond pounced at the far post to head home.
Hereford travel to Barnet at the weekend and go into the game three points behind the London club.
O'Kelly said: "It's so disappointing as we have lost too many times to late goals this season. Our focus now has to be on recovery as we have a massive game at Barnet and we have to be fully prepared for that.
"We were indebted to Dave (Cornell) in the first half but it shows the spirit we have in the squad and hopefully that will take us through. We got to half-time goalless but then you want to roll from there but we conceded quickly after the break.
"But the lads showed a lot of energy and enthusiasm to battle back and it was a great free kick to draw level. It's frustrating with the late goal but all we can do is stick together and make sure we are right for Barnet."