Who wrote each book of the Bible?

Old Testament

Books of Law
Genesis - Moses
Exodus - Moses
Leviticus - Moses
Numbers - Moses
Deuteronomy - Moses

Books of History
Joshua - Believed to be written by Joshua
Judges - Samuel
Ruth - Samuel
1 Samuel - Samuel and Isaiah
2 Samuel - Isaiah
1 Kings - Isaiah
2 Kings - Isaiah
1 Chronicles - Ezra
2 Chronicles - Ezra
Ezra - Ezra
Nehemiah - Nehemiah
Esther - Ezra

Books of Poetry/Wisdom
Psalm - King David, Moses, Hezekiah, Solomon, and others
Proverbs - Solomon, son of David
Ecclesiastes - Solomon, son of David
Song of Songs (Song of Solomon) - Solomon, son of David

Major Prophets
Isaiah - Isaiah
Jeremiah - Jeremiah
Lamentations - Jeremiah
Ezekiel - Ezekiel
Daniel - Daniel

Minor Prophets
Hosea - Hosea
Joel - Joel
Amos - Amos
Obediah - Obediah
Jonah - Jonah
Micah - Micah
Nahum - Nahum
Habakkuk - Habakkuk
Zephaniah - Zephaniah
Haggai - Haggai
Zechariah - Zechariah
Malachi - Malachi


New Testament


The Gospels
Matthew - Matthew
Mark - Mark
Luke - Luke the doctor
John - John the Baptist, cousin to Jesus

Book of History
Acts - Luke the doctor

Letters of Paul
Romans - Paul the Apostle
1 Corinthians - Paul the Apostle
2 Corinthians - Paul the Apostle
Galatians - Paul the Apostle
Ephesians - Paul the Apostle
Philippians - Paul the Apostle
Colossians - Paul the Apostle
1 Thessalonians - Paul the Apostle
2 Thessalonians - Paul the Apostle
Titus - Paul the Apostle
Philemon - Paul the Apostle

General Letters
Hebrews - Believed to be Paul. No evidence to prove true.
James - James, brother to Jesus
1 Peter - Peter
2 Peter - Peter
1 John - John, disciple to Jesus
2 John - John, disciple to Jesus
3 John - John, disciple to Jesus
Jude - Jude

Book of Prophecy
Revelation - John, disciple to Jesus