A Brisbane resident has accused his housemate and another man of torturing him on numerous different occasions over an extended period of time.

The 25-year-old man told Beenleigh Police on Sunday afternoon that he had been assaulted and held against his will for a number of months.

The two men were charged with torture and assault and are due to appear in court later today.