The state General Assembly and Senate overwhelmingly passed the bill Monday. It now goes to Gov. Chris Christie.
It would require anti-bullying programs in public schools and language in college codes of conduct to address bullying. The measure would update a law on the books since 2002.
The bill has been in the works for some time but gained attention after the high-profile suicide of Rutgers University freshman Tyler Clementi. He killed himself in September after his roommate allegedly spied on his liaison with a man on a webcam.
The Republican governor has not said whether he would sign the bill, but he spoke out against bullying after Clementi's death.