Jeffery Schlupp's injury-time equaliser for Brentford means Notts County are not totally safe from relegation yet.
Karl Hawley twice went close for the hosts early on before Lewis Grabban and Schlupp both forced saves from home keeper Stuart Nelson.
County were awarded two penalties in five minutes, Craig Westcarr saw his saved before Lee Hughes notched his after Robbie Simpson's handball.
That looked to have given them the win before Schlupp slammed home.
The Magpies are five points clear of the drop zone with two games left.
Notts County manager Martin Allen told BBC Radio Nottingham:
"It was a fantastic point for our club and a fantastic atmosphere. Obviously it was going to be a bit edgy in a game that everyone knew we had to get something from.
"Krystian Pearce coming back was a bonus after a long time out. He wasn't quite match fit but he did a job. Alan Judge coming back was also a bonus - he hasn't played any reserves games - I just put him back in because he's decent.
"What a great occasion."
Brentford boss Nicky Forster told BBC London 94.9:
"It was a test of character after a wrong decision changed the whole manner of the game.
"I know referees have a difficult job, but I think they lost control of the game today, and there was no precedence set with a card.
"We lost our composure and perhaps we didn't respond to the first penalty decision in the right way To raise ourselves and score an equaliser was a credit to the boys."