Various forms of witchcraft and divination are mentioned in the Hebrew Bible (Tanakh or Old Testament), generally (but not always) in a disapproving tone.
Laws prohibiting various forms of witchcraft and divination can be found in the books of Exodus, Leviticus and Deuteronomy. These include the following (as translated in the King James Version):
The forms of divination mentioned in Deuteronomy 18 are portrayed as being of foreign origin. This is the only part of the Hebrew Bible to make such a claim. According to Ann Jeffers, the presence of laws forbidding necromancy proves that it was practiced throughout Israel's history.
The exact difference between the three forbidden forms of necromancy mentioned in Deuteronomy 18:11 is a matter of uncertainty; yidde'oni ("wizard") is always used together with ob ("consulter with familiar spirits"), and its semantic similarity to doresh el ha-metim ("necromancer", or "one who directs inquiries to the dead") raises the question of why all three are mentioned in the same verse. The Jewish tractate Sanhedrin makes the distinction that a doresh el ha-metim was a person who would sleep in a cemetery after having starved himself, in order to become possessed.
A prophetic passage in the Book of Micah states that witchcraft and soothsaying will be eliminated in the Messianic Age (Micah 5:12).