A Queensland man accused of rape has had the charge dropped after a woman realised she forgot she had consented to having sex with him.

Justin Banham, 49, fronted Southport District Court on Wednesday, where he was charged with raping a woman following a fight on October 8, 2017.

The rape charge was supposed to go to trial this week, but was later withdrawn after it was revealed the woman forgot she had consented to having sex with him.

A Queensland man accused of rape has had the charge dropped after a woman realised she forgot she'd consented to having sex with him

The court heard the woman asked Banham over after they had a fight earlier in the day, but then forgot she'd invited him, The Gold Coast Bulletin reported.

Banham entered the woman's Helensvale home with a remote she had given him, and at one point pushed her 'backwards on to the couch, which hurt her back'.

Shortly afterwards, the pair had consensual sex, but the next day, the woman approached police and claimed she had been raped by the man.

Crown prosecutor Matthew Hynes, who withdrew the rape charge, told the court the pair met at a church event several years ago and met 'occasionally for sex'.

Mr Hynes said the woman had a history of post-traumatic stress and personality disorders.

He said as a result of her poor mental health 'incidences with men, whereby consensual sex can occur, she can transplant previous memories on to that'.

'She has a high-functioning alcoholism issue whereby she consumes a fair bit of alcohol every day, and that plays a part into her mental health and her mind and state and perception of things,' Mr Hynes said.

'It also plays a part in why she might forget things at times.'

Justin Banham, 49, fronted Southport District Court (pictured) on Wednesday, where he was charged with raping a woman following a fight on October 8, 2017

Judge Catherine Muir said the woman had a 'false impression' of what had happened.

After Mr Hynes withdrew the rape charges, Banham pleaded guilty to common assault - in relation to when he pushed the woman backwards onto the couch.

Banham's defence barrister, Peter Nolan, said his client had 'no recollection' of the assault but pleaded guilty to prevent the woman from having to face the witness box.

Mr Nolan said the charges had been 'extremely difficult' for Banham, who had no previous criminal history and had lost his job as an Uber driver.

Banham was given a $300 good behaviour bond for one year.