It now goes to Gov. Chris Christie for consideration. Christie has declined to answer questions about whether he will sign the measure.
Supporters of the ban said that it's damaging to young people and wrong to think that homosexuality is something that can or should be "cured.''
Opponents, mostly social conservatives, said the bill restricts what counselors can do and interferes with the rights of parents to do what they believe is best for their children.
The idea of what is sometimes called "conversion therapy" has increasingly drawn criticism.
Last November, four gay men sued a Jersey City group for fraud, saying its program included making them strip naked and attack effigies of their mothers with baseball bats.
Last year, California became the first state to ban the practice, but a judge halted implementation amid arguments about the law's constitutionality.
You May Also Be Interested In These:
(TM and © Copyright 2013 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2013 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)
for more features.