Some of the most advanced techniques for deep-brain stimulation rely on chronic brain implants that can damage fragile tissues and induce adverse immune responses. Herein, researchers report a macromolecular construct as an injectable photothermal nanotransducer for neuromodulation that bypasses these limitations.