Iptycenes are common building blocks for the small-molecules or polymer-based chemosensors and fluorophores. In addition, iptycene derivatives are widely presented in polymers of intrinsic microporosity (PIMs) as materials for the separation and purification technologies. In this manuscript we wish to report a mechanochemical approach to pentiptycene-based polyesters and polycarbonates as, possibly, new representatives of PIMs. Our approach involves the polycondensation reaction between 5,7,12,14-tetrahydro-5,14:7,12-bis([1,2]benzeno)pentacene-6,13-diol (pentiptycene-6,13-diol) and triphosgene or oxalyl chloride under ball-milling conditions. The obtained polymers were characterized by means of 1H NMR- and IR-spectroscopy. As the last step, the fluorescence “turn-off” response of pentiptycene-6,13-diol and two pentiptycene-based polymers towards nitroanalytes (2,4-dinitrotioluene (DNT) and 2,4,6-trinitrophenole (picric acid, PA)) was investigated, and Stern-Volmer constants as high as 1o4 M–1 were observed.