The R's sit second bottom on the Premier League table, seven points from safety, and on-loan Tottenham midfielder Townsend is well aware just how vital Monday night's trip to Craven Cottage is.
"We're confident we can get a result there," he told QPR's official website.
"The fact it's a local derby is an added incentive, but all we're focused on is returning to winning ways and getting another three points on the board."
On potentially avoiding relegation, Townsend added: "The gaffer (Harry Redknapp) has said he thinks 37 points might be enough and that's four wins and two draws, which we feel we are capable of achieving.
"That's what we're aiming for.
"We still believe and we'll be giving everything we can to stay up."