The winger's operation will keep him out for the rest of the season, the club confirmed in a brief statement.
Wright-Phillips, 31, tweeted to say that the operation had been a success.
"Had my ankle surgery this morning," he wrote, "all went well. Thanx 4 your kind wishes truly appreciate it all."
Wright-Phillips, who joined QPR in 2011, had featured in 20 Premier League games this campaign, scoring once.
- Sports & Recreation