Short answer
The Hebrew alphabet grew out of much older alphabetic writing. Its earliest ancestors date to roughly 1850 to 1550 BCE, and inscriptions in a recognizably Hebrew form of the script appear around the 10th century BCE. The exact dates are debated, so treat these ranges as approximate.
If you searched “when did Hebrew writing begin,” the same timeline answers that question: the alphabet came first, and the Hebrew-specific forms followed centuries later.
The earliest alphabet
The oldest known alphabetic script is called Proto-Sinaitic. It is known from a small number of inscriptions at Serabit el-Khadim in the Sinai Peninsula, plus two found at Wadi el-Hol in Egypt. Scholars still disagree about where it began, in Egypt or in Canaan, and that question is tied to the date they accept.
Proto-Canaanite writing, found in Canaan, falls roughly in the same period. Its signs also stand for single consonants, which is the feature that made the alphabet so useful.
Old Hebrew inscriptions
By about the 10th century BCE, the letters had taken forms that scholars call Old Hebrew or paleo-Hebrew. Two early examples are the Gezer calendar, a short inscribed list of agricultural seasons, and a small stone from Tel Zayit with a set of letters written out in order. Both are usually dated to around the 10th century BCE, though some scholars place them later.
A little later, the Mesha Stele, a Moabite inscription from about 840 BCE, shows a closely related script. It is not Hebrew, but it helps show how the letters looked in the same region.
Later changes
After the Babylonian exile in the 6th century BCE, Jewish writing gradually adopted the square script, which was derived from Aramaic. The older script was not wiped out. The Samaritans kept it, and coins from the Hasmonean period and from the Bar Kokhba revolt carry legends in the older letters.
Why the dates are uncertain
Few early inscriptions survive, and many are hard to date precisely. Experts date them using the stone or pottery they were found with, the style of the letters, and the wider archaeology of the site. Claims that go back further than that evidence are a matter of belief rather than settled history.
What this means for a learner today
You will read the square script in modern books, and the letters in it are the same family as the older forms. Knowing that the alphabet is very old can help you appreciate what you are learning, but the practical task is still to learn the 22 letters and their order.