At wo-component self-sorting hydrogel based on acylhydrazidea nd carboxylic acid derivatives of 1,3:2,4-dibenzylidene-d-sorbitol (DBS-CONHNH 2 and DBS-COOH) is reported. Ah eating-cooling cycle induces the self-assembly of DBS-CONHNH 2 ,f ollowed by the self-assembly of DBS-COOH induced by decreasing pH. Although the networks are formed sequentially,t here is spectroscopic evidence of interactions betweent hem, which impact on them echanical properties and significantly enhancet he ability of these lowmolecular-weight gelators (LMWGs) to form gels when mixed. The DBS-COOH network can be switched "off" and "on" within the two-component gelt hrough ap Hc hange. By using ap hoto-acid generator,t he two-component gel can be prepared combining the thermal trigger with photoirradiation. Photo-patterned self-assembly of DBS-COOH within ap re-formed DBS-CONHNH 2 gel under am ask yields spatially controlled multi-domain gels. Different gel domains can have different functions, for example, controlling the rate of release of heparin incorporatedi nto the gel, or directing gold nanoparticle assembly.S uch photo-patterned multi-component hydrogels have potential applications in regenerative medicine or bio-nano-electronics.Supporting information and the ORCID identification number(s) for the author(s) of this articlecan be found under: https://doi.