Photon upconversion (UC) from near-infrared (NIR) light to visible light has enabled optogenetic manipulations in deep tissues.H owever,m aterials for NIR optogenetics have been limited to inorganic UC nanoparticles.Herein, NIR-light-triggered optogenetics using biocompatible,organic TTA-UC hydrogels is reported. To achieve triplet sensitization even in highly viscous hydrogel matrices,aNIR-absorbing complex is covalently linked with energy-pooling acceptor chromophores,w hichs ignificantly elongates the donor triplet lifetime.T he donor and acceptor are solubilized in hydrogels formed from biocompatible Pluronic F127 micelles,a nd heat treatment endows the excited triplets in the hydrogel with remarkable oxygen tolerance.Combined with photoactivatable Cre recombinase technology,N IR-light stimulation successfully performs genome engineering resulting in the formation of dendritic-spine-like structures of hippocampal neurons.