The challenge of heavy biofouling in complex sweat environments limits the potential of electrochemical sweat sensors for noninvasive physiological assessment. In this study, a novel semi-interpenetrating hydrogel of PSBMA/PEDOT:PSS was engineered by interlacing PEDOT:PSS conductive polymer with zwitterionic PSBMA network. This versatile hydrogel served as the foundation for developing an anti-fouling wearable molecular imprinting sensor capable of sensitive and robust detection of tryptophan (Trp) in complex sweat. The incorporation of PEDOT:PSS conductive polymer into the semi-interpenetrating hydrogel introduced diverse physical crosslinks, including hydrogen bonding, electrostatic interactions, and chain entanglement. This incorporation considerably boosted the hydrogel's mechanical robustness and imparted commendable self-healing property. At the same time, the synergistic coupling between the well-balanced charge of the zwitterionic network and the high conductivity of the PEDOT:PSS polymer facilitated efficient charge transfer. The formation of the desired molecular imprinting membrane of semi-interpenetrating hydrogel was triggered by self-polymerization of dopamine (DA) in the presence of Trp. The designed biosensor demonstrated good sensitivity, selectivity and stability in detecting the target Trp. Notably, it also exhibited exceptional anti-fouling abilities, allowing for accurate Trp detection in complex real sweat samples, yielding results comparable to commercial enzyme-linked immunoassay (ELISA).