A copper-based MOF (Cu and 1,4-benzene dicarboxylic acid as metal nodes and linker, respectively) was in-situ grown into the fiber of cotton textile via a solvothermal procedure . CuBDC@Textile was investigated as a solid sensor and adsorbent for volatile organic compounds (VOCs). It offered selective detection of pyridine via the colorimetric method.