Around 50 people have been evacuated from a residential building in Texas after partygoers caused an apartment floor to collapse.

A video shared to Twitter by someone at the party in Denton shows a group of people jumping up and down to loud music moments before the floor gives way.

A handful of people were treated for minor injuries. (Supplied)

The floor collapse caused damage to water pipes which leaked onto the storey below. (Supplied)

The dancers are seen falling, screaming, with the floor into the apartment below, in a cloud of dust.

Amazingly, only a handful of people were treated for minor injuries.

The incident happened at around 1.45am local time at an apartment building said to be exclusively for students, NBC reports .

A fire marshal said water pipes were damaged when the floor collapsed, causing water to leak into the second storey of the building.

Around 50 people living in the building were evacuated while experts are brought in to inspect it.