The Utah Legislature has approved marriage licenses for same-sex couples, but only for Utah residents.
The Senate approved the bill on Tuesday.
The measure also would ban same-gender marriage and allows same-faith marriages.
The bill, which passed in the House on Wednesday, was expected to be referred to the Senate and passed the chamber on a 52-48 vote.
It now heads to Gov.
Gary Herbert for his signature.
Utah already allows same sex marriages, but those couples have to live in the state.