An Indian man was attacked with a machete and beheaded, allegedly after an argument with another man at a motel in the US city of Dallas.

The accused, Yordanis Cobos-Martinez, was arrested and has been charged with capital murder of 50-year-old Chandra Nagamallaiah.

A witness reportedly said she and Cobos-Martinez worked at the motel and were cleaning a room when Nagamallaiah approached and told the accused not to use the washing machine that was broken.

According to local media reports, she said Cobos-Martinez, 37, was upset that Nagamallaiah was speaking to the witness to translate communication instead of speaking directly to him.