The Bible makes reference to various pharaohs (kings of Egypt). These include unnamed pharaohs in the accounts of the Israelite settlement in Egypt, the subsequent oppression of the Israelites, and during the period of the Exodus, as well as a number of later rulers.
Historical pharaohs: Taharqa, Necho and Apries/Hophra
Taharqa offering to Falcon-god Hemen (close-up)
2 Kings 19:9 and Isaiah 37:9 mention Taharqa (reigned 690-664 BC) as the opponent of Sennacherib of Assyria. He is called King of Ethiopia, and hence is not given the title pharaoh which he bears in Egyptian documents.
2 Kings 17:4 says that king Hoshea sent letters to "So, King of Egypt". No pharaoh of this name is known, but it is possible that the biblical writer has confused the king with his city and means Tefnakht, who ruled from Sais, also written as So. At the time of Hoshea (about 730 BC), Egypt had three dynasties ruling at the same time: 22nd at Tanis, 23rd at Leontopolis, and the 24th at Sais. Thus, the most logical candidate for So would be Osorkon IV of Tanis (730-715 BC).
Pharaohs in the book of Genesis
The passages Genesis 12:10-20 narrate how Abraham moves to Egypt to escape a period of famine in Canaan. The unnamed pharaoh hears of the beauty of Abraham's wife Sarah and - being told she was Abraham's sister - summons her to become his own wife, for which Abraham is paid with cattle and slaves. After discovering Sarah's true relationship to Abraham the pharaoh releases her and her husband and orders them to leave Egypt. Abraham does not return the payment he had received.
The book of Exodus tells how the Israelites are enslaved in Egypt and eventually escape under the leadership of Moses. At least two pharaohs are involved, the "pharaoh of the oppression" who enslaves the Israelites, and the "pharaoh of the exodus", during whose rule the Israelites escape. The biblical story does not name either, nor does it give enough information to identify the period in which the events are set, with the result that there have been many suggestions as to which of Egypt's many rulers was involved. Candidates put forward for the role include:
Ramesses II (c.1279-1213 BC) Also known as Ramesses the Great, he is the most commonly imagined figure in popular culture, but there is no documentary or archaeological evidence that he had to deal with the Plagues of Egypt or anything similar or that he chased Hebrew slaves fleeing Egypt. Ramesses II's late 13th century BC stela in Beth Shan mentions two conquered peoples who came to "make obeisance to him" in his city of Raameses or Pi-Ramesses but mentions neither the building of the city nor, as some have written, the Israelites or Hapiru. Additionally, the historical Pithom was built in the 7th century BC, during the Saite period.
Merneptah (c.1213-1203 BC): Isaac Asimov in his "Guide to the Bible" makes a case for him to be the Pharaoh of the Exodus.