Swimmer Stephanie Rice has apologised after reportedly posting a homophobic slur on Twitter.

Following the Wallabies' last-gasp win over South Africa on Saturday night, Rice tweeted: ''Suck on that faggots!''

But the queen of the pool, who recently withdrew from next month's Commonwealth Games with a shoulder injury, has since apologised and deleted the posting.

Rice is reportedly dating Wallabies five-eighth Quade Cooper and interacts with him and a number of other Wallabies players on Twitter.