The chapter opens with the rules for a Hebrew servant: he serves six years and goes free in the seventh without paying anything. If he came in single, he leaves single; if he came in married, his wife leaves with him. If the servant declares that he loves his master and does not want to go, his ear is pierced at the doorpost and he stays for life. The chapter also covers a daughter sold as a servant, who may not be treated as an ordinary slave and keeps her rights to food, clothing and marital relations.
A series of cases about violence follows. Whoever strikes another with intent to kill must die, while one who kills without intending it may flee to a place God will appoint. Striking or cursing a father or mother and kidnapping a person are also capital offenses. If two men fight and one is hurt but does not die, the aggressor must compensate for lost time and pay for healing. A master who beats a servant to death is punished, and one who damages a servant's eye or tooth must set him free.
The text then takes up the case of a pregnant woman injured in a fight, and the principle of an eye for an eye and a tooth for a tooth, which limits revenge to an equivalent penalty. It ends with the law of the goring ox: an animal that kills a person must be put to death, and if its owner knew it was dangerous and failed to keep it in, he answers with his own life or with a ransom. Rules are added for an uncovered pit and for an ox that kills another ox.