The Michigan city of Kalamazoo has passed an ordinance to protect gay, lesbian, bisexual and trans people from discrimination.

It means that they will be added to an existing ordinance banning discrimination in housing, employment, city contracts and public accomodations.

Sixty-two per cent of residents voted yes to the measure, compared with 38 per cent in opposition.

The move had been approved by city leaders but opponents were able to secure a voter referendum.

Jon Hoadley, campaign manager for gay group One Kalamazoo, told ABC affiliate WZZM: “The whole premise behind the ordinance is making sure everyone in Kalamazoo is treated fairly and equally.

“No one should be fired from their job just because they are gay or transgender, and so at its core this is really to make sure we are treating everyone the same in Kalamazoo.”