Etymology of Lahore

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.

Variant transcriptions
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.

Etymological theories
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.