In nature, sensory photoreceptors underlie diverse spatiotemporally precise and generally reversible biological responses to light. Photoreceptors also serve as genetically encoded agents in optogenetics to control by light organismal state and behavior. Phytochromes represent a superfamily of photoreceptors that transition between states absorbing red light (Pr) and far-red light (Pfr), thus expanding the spectral range of optogenetics to the near-infrared range. Although light of these colors exhibits superior penetration of soft tissue, the transmission through bone and skull is poor. To overcome this fundamental challenge, we explore the activation of a bacterial phytochrome by a femtosecond laser emitting in the 1 μm wavelength range. Quantum chemical calculations predict that bacterial phytochromes possess substantial two-photon absorption cross sections. In line with this notion, we demonstrate that the photoreversible Pr↔Pfr conversion is driven by two-photon absorption at wavelengths between 1170 and 1450 nm. The Pfr yield was highest for wavelengths between 1170 and 1280 nm and rapidly plummeted beyond 1300 nm. By combining two-photon activation with bacterial phytochromes, we lay the foundation for enhanced spatial resolution in optogenetics and unprecedented penetration through bone, skull and soft tissue.