The origin of Lahore's name is unclear. The first document that mentions Lahore by name is the Hudud al-'Alam ("The Regions of the World"), written in 982 CE.
Lahore's name had been recorded by early Muslim historians as Al-Ahwar, A'lahwur, Luhawar, Là «hÃÂr, and Rahwar. The Iranian Polymath and Geographer, Abu Rayhan Al-Biruni, referred to the city as LuhÃÂwar in his 11th century work, Qanun, while the poet Amir Khusrow, who lived during the Delhi Sultanate, recorded the city's name as LÃÂhanà «r. Yaqut al-Hamawi records the city's name as Lawhà «r, mentioning that it's famously known as LahÃÂwar. Al Idrisi in his 12th century work the Nuzhatulmushtak-fi-Iftikharul Afak, also writes of a city named Lohawar. Later Rajput sources recorded the city's name as Lavkot.
One theory suggests that Lahore's name is a corruption of the word RavÃÂwar, as R to L shifts are common in languages derived from Sanskrit. RavÃÂwar is the simplified pronunciation of the name IravatyÃÂwar - a name possibly derived from the Ravi River, known as the Iravati River in the Vedas. The suffix"Awar" is a corruption of the Sanskrit word Awarna, meaning fort, and is affixed to many place names in the Subcontinent, such as Peshawar, Sanawar, Bijawar.
Another theory suggests the city's name may derive from the word Lohar, meaning "blacksmith."
According to Hindu legend, Lahore's name derives from Lavpur or Lavapuri ("City of Lava"), and is said to have been founded by Prince Lava, the son of Sita and Rama. The same account attributes the founding of nearby Kasur, which was actually founded by Afghans in the Mughal period, to his twin brother Kusha. In the Deshwa Bhaga, Lahore is called Lavpor, which at once points to its origin from Lav, the son of Rama whose Lava temple built during the Sikh era in the 19th century, is located empty inside the Lahore Fort, while in the ancient annals of Rajputana the name given is Loh Kot, meaning âÂÂthe fort of Loh,â which, again, has reference to its mythical founder, RamaâÂÂs son.