A man has appeared in court accused of keeping a woman "prisoner" in a Brisbane home where he repeatedly drugged and raped her over two weeks.

The 29-year-old, who can't be named for legal reasons, faced Brisbane Magistrates Court on Saturday charged with 28 offences, including deprivation of liberty and six counts of rape.

Police allege he initially drugged the victim in the Brisbane CBD with the tranquilliser benzodiazepine on January 18 before taking her to a Fig Tree Pocket home, where she was held against her will until January 31.

"In short, the defendant has kept a young lady prisoner and a sex slave for (a number of) weeks, drugging her and raping her repeatedly, with previous inclinations that would suggest the behaviour is something of a pattern," police prosecutor Mark Gorton told the court.

AAP