Today, the textile industry offers a vast and diverse range of fabrics that cater to a multitude of requirements and preferences. From natural fibers like cotton, silk, and wool, to synthetic materials such as polyester, nylon, and spandex, there is a fabric available for every purpose and occasion. These fabrics serve a multitude of applications, including clothing, home textiles, technical textiles, and industrial applications (Yetisen, Qu et al. 2016).Smart textile fabrics have been developed for various applications, including anti-microbial(El-Nahhal, Elmanama et al. 2018),UV protection (Sricharussin, Threepopnatkul et al. 2011), embedded sensor(Sedighi, Montazer et al. 2014),Supercapacitors(Selvam and Yim 2023),Li Ion batteries (Praveen, Sim et al. 2021), hydrophobicity(Jeyasubramanian, Hikku et al. 2016) and dye degradation(Baruah, Downer et al. 2019). In recent times, there has been a growing significance attributed to self-cleaning fabrics, which possess the remarkable ability to effectively remove dirt, stains, and other foreign substances from their surface. The development and utilization of self-cleaning textile fabrics offer a promising opportunity to decrease the reliance on surfactants during fabric washing, thereby contributing to the mitigation of water pollution(Ahmadi and Igwegbe 2018). Self-cleaning fabrics play a pivotal role in the textile industry today, as they significantly reduce both washing time and water pollution. One effective approach in the production of self-cleaning fabrics involves fabricating photocatalytic materials and coating them onto textile surfaces. The TiO2 (Doganli, Yuzer et al. 2016, Fan, Hu et al. 2017, Hu, Zhao et al. 2019, Özdemir, Caglar et al. 2022),ZnO(Zhu, Shi et al. 2017, Pal, Mondal et al. 2018, Ji, Li et al. 2022), CuO(Sarwar, Bin Humayoun et al. 2021),BiVO4(Chen, Li et al. 2022) and CuO (Vasantharaj, Sathiyavimal et al. 2019), semiconductors coated fabrics were reported for the self-cleaning and dye degradation application. The anti-microbial properties of heterogeneous photocatalyst coated fabrics such as CuO/BiVO4(Ran, Chen et al. 2019),Ag/ZnO/Cu(Hassabo, El-Naggar et al. 2019), Ag–Cu2O (Seth and Jana 2022), MnO2/ZnO(Lam, Lim et al. 2021) ,TiO2/Ag(Hebeish, Abdelhady et al. 2013), Cu(II)/TiO2 (Yuzer, Aydın et al. 2022)was investigated. The successful application of photocatalysts onto fabric surfaces is crucial for the development of self-cleaning fabrics. However, this process presents certain technical challenges that need to be overcome. Both direct and indirect methods of coating photocatalysts onto fabric have their limitations.One of the primary concerns is the effect of various parameters on the coating process. Factors such as coating temperature, solvent selection, and coating atmosphere can significantly influence the properties of the fabric. The temperature at which the coating is carried out needs to be carefully controlled to prevent any adverse effects on the fabric, such as changes in texture, color, or mechanical properties. Similarly, the choice of solvent plays a vital role in achieving uniform coating and avoiding damage to the fabric's structure. The coating atmosphere, including humidity and oxygen levels, can also impact the adhesion and stability of the photocatalyst coating.Another challenge lies in the limited range of light absorption exhibited by many photocatalysts. Traditionally, most photocatalysts primarily absorb ultraviolet (UV) light, which comprises only a small portion of the solar spectrum. This limited absorption range restricts the photocatalytic activity of the coated fabric to specific lighting conditions, such as direct exposure to UV light sources. To overcome this limitation, researchers have been exploring innovative approaches to enhance the light absorption capabilities of photocatalysts, particularly by expanding their absorption into the visible light range. Out of many visible light active photocatalyst, a Carbon Nitrite (CN) semiconductor has played an emerging role in many applications such as photocatalyst(Ong, Tan et al. 2016),sensing(Idris, Oseghe et al. 2020), energy conversion and storage (Chen, Liu et al. 2016, Luo, Yan et al. 2019, Wang and Wang 2022). While CN is a well-known material for its broad light absorption spectrum, its photocatalytic activity is mostly restricted by photoelectron hole recombination (Zeng, Quan et al. 2018) and poorer charge transfer reaction at the surface (Chang, Zheng et al. 2018), which limits its broader textile-related application. To overcome this issue, coating a conducting polymer as a co-catalyst over CN would enhance its photocatalytic efficiency (Meganathan, Subbaiah et al. 2022).. Polypyrrole (Wu, Sun et al. 2014)and polypyrrole blended metal oxide (Jain, Jadon et al. 2017) semiconductors have been extensively studied and reported for various applications such as actuation (Liao, Huang et al. 2013), adsorbents (Feng, Li et al. 2014), energy storage (Ma, Wen et al. 2015), electrocatalyst (Peng, Qiu et al. 2012) and sensors (Wilson, Radhakrishnan et al. 2012). Incorporating a polypyrrole conducting polymer over CN could reduce electron hole recombination and improve charge transfer reaction. In this work, a conducting polypyrrole (PPY) polymer acts as a co-catalyst and binder to robustly fix the CN over cotton fabric, which is anticipated to enhance the photocatalytic efficiency for self-cleaning and antimicrobial activity in textile applications. To the best of our knowledge and literature survey, this is the first report on a CNPPY-based nanocomposite coating over cotton fabrics for photocatalytic self-cleaning in textile-based applications.