The origins of Lahore's name are unclear. Lahore's name had been recorded by early Muslim historians as Lōhar, Lōhār, and Rahwar.Al-Biruni referred to the city as Lohā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. Medieval 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. 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 by his twin brother Prince Kusha, Historic record shows, however, that Kasur was founded by Pashtun migrants in 1525.