We report the first site-specific genetic encoding of photocaged tyrosine into proteins in mammalian cells. By photocaging Tyr701 of STAT1 we demonstrate that it is possible to photocontrol tyrosine phosphorylation and signal transduction in mammalian cells.