The ability to regulate small molecule chemistry in vivo will enable new avenues of exploration in imaging and pharmacology. However, realization of these goals will require reactions with high specificity and precise control. Here we demonstrate photocontrol over the highly specific Staudinger-Bertozzi ligation in vitro and in vivo. Our simple approach, photocaging the key phosphine atom, allows for the facile production of reagents with photochemistry that can be engineered for specific applications. The resulting compounds, which are both stable and efficiently activated, enable the spatial labeling of metabolically introduced azides in vitro and on live zebrafish.