But the legislation, known as the Jaafari law, introduces rules almost identical to those of neighbouring Iran, a Shia-dominated Islamic theocracy.
While there is no set minimum age for marriage, the section on divorce includes rules for girls who have reached the age of nine.
Marital rape is condoned by a clause that states women must comply with their husband's sexual demands. Men are given guardianship rights over women and the law also establishes rules governing polygamous relationships.
Hanaa Edwar, the head of the charity Al-Amal ("Hope" in Arabic), has campaigned against the law as a setback for women's rights, saying: "It turns women into tools for sexual enjoyment. It deletes all their rights."
Supporters of the law, named after a Shia Muslim school of jurisprudence, say it simply regulates practices already existing in day-to-day life.