Varamin is believed to be the ancient city of Varena, which is mentioned in Avesta. The four-cornered citadel near the city is known as Citadel of Iraj by locals, Iraj was son of Thraetaona and that improves the city's relation to the ancient Varena.
After the destruction of Ray by the Mongols and Teimoorians, a group of the inhabitants migrated to a neighboring area known as Varamin. Varamin is considered to be one of the historical cities of Iran. The mausoleum of Imamzadeh Yahya, a relic of the 8th century AH. and the Jame' Mosque, a relic of the Eilkhani Abu Saeed are located here.
Carpets and rugs of Varamin are among most famous carpets in the world. Many rug and carpet experts see Varamins as purer Persian carpets. They have geometric patterns with repeated medallions, especially on runners. They are made by tribal people who either live in or pass by Varamin.