The State Assembly this week passed a ban against doctors who try to change a child's sexual orientation through therapy.
Lawmakers passed the bill 86 to 28.
It prohibits licensed psychologists, psychiatrists, social workers, mental health practitioners and physicians from using conversion therapy on anyone under 18.
Religious leaders are not included in the legislation.
Similar laws are already in effect in New Jersey and California.
Opponents of the ban say it may impose on a person's freedom of speech. But the American Psychological Association says there is no proof the so-called gay conversion therapy even works.
The bill has been sent to the Republican-led Senate for consideration.