Founded probably in the 14th century as a property of the Służewski family (Radwan Coat of Arms), the village retained much of its rural character until the 1990's, most of its inhabitants being farmers or workers at Warsaw factories. However, since then it remains a notable reserve of free space for new residential areas, mostly villas for upper-middle-class Varsovians.
Before World War II, Pyry was also the seat of the Polish General Staff's Cipher Bureau, the institution that broke the German Enigma cipher.