The carob tree has been grown since antiquity in most countries of the Mediterranean basin, usually in mild and dry places with poor soils . Its value was recognized by the ancient Greeks, who brought it from its native Middle East to Greece and Italy and by the Arabs, who disseminated it along the North African coast and north into Spain and Portugal.
It was spread in recent times to other Mediterranean-like regions such as California, Arizona, Mexico, Chile and Argentina by Spanis h , to parts of Australia by Mediterranean emigrants and to South Africa and India by the English.
The carob tree is an important component of the Mediterranean vegetation and its cultivation in marginal and prevailing calcareous soils of the Mediterranean region is important environmentally and economically .
As a food source, carob pods could be stored and transported long distances . In most of the Mediterranean region wild and naturalized carobs are distributed in more or less the same geographic and climatic belt as the cultivated.
Forms of spontaneous carobs are particularly common at low altitudes along the Spanish Mediterranean coast, southwest Spain, southern Portugal, the Balearic Islands, southeast France, the shores of southern Italy including Sicily, the Adriatic coast of Croatia , the Aegean region and Crete in Greece and Turkey, along the northern and southern ranges of the isle of Cyprus, in the islands of Malta, in the maritime belt of Lebanon and Israel, the north and south of Morocco and the coastline in Tunisia.