A male detainee at Villawood Detention Centre has died, the Australian Border Force has confirmed.

Footage shot inside the detention facility in Sydney's west this evening showed angry detainees shouting at guards as they surrounded the building the man's body was in.

Villawood Detention Centre. (AAP)

"We express our condolences to the man’s family and friends," a Border Force spokesperson said in a statement shortly before 8.30pm AEDT.

"The matter has been referred for investigation by appropriate agencies, including the NSW Coroner.

"As this matter will be subject to further investigation, it would not be appropriate to comment further."

Readers seeking support can contact Lifeline on 13 11 14 or beyond blue on 1300 22 4636.

*Suicide Call Back Service 1300 659 467.