MXenes are rising sensing supplies because of their metallic conductivity and wealthy floor chemistry for analytes; they, nevertheless, undergo from poor stability. Incorporation with practical polymers can largely forestall the efficiency decay and improve the sensing efficiency. Herein, we show a core–shell composite, Ti3C2Tx@croconaine (poly(1,5-diaminonaphthalene-croconaine), PDAC) ready by a facile in situ polymerization response, appropriate for NH3 detection. In comparison with pristine Ti3C2Tx, the sensor made from a Ti3C2Tx–polycroconaine composite displays a considerably enhanced sensitivity of two.8% ppm−1 and an estimated achievable restrict of detection of fifty ppb. The improved sensing efficiency might be attributed to the presence of PDAC facilitating the adsorption of NH3 and altering the tunneling conductivity between Ti3C2Tx domains. Density practical principle (DFT) calculations reveal that the adsorption vitality of NH3 on PDAC is the best among the many examined gases, which helps the selectivity of the sensor to this analyte. Benefiting from the safety conferred by the PDAC shell, the composite has a dependable operation interval of at the very least 40 days. As well as, we demonstrated a versatile paper-based sensor of the Ti3C2Tx@PDAC composite, with out attenuated efficiency upon mechanical deformation. This work proposed a novel mechanism and a possible methodology to synthesize MXene–polymer composites with improved sensitivity and stability for chemical sensing.