Controlling cellular processes with light can help elucidate their underlying mechanisms. Here we present zapalog, a small-molecule dimerizer that undergoes photolysis when exposed to blue light. Zapalog dimerizes any two proteins tagged with the FKBP and DHFR domains until exposure to light causes its photolysis. Dimerization can be repeatedly restored with uncleaved zapalog. We implement this method to investigate mitochondrial motility and positioning in cultured neurons. Using zapalog, we tether mitochondria to constitutively active kinesin motors, forcing them down the axon towards microtubule (+) ends until their instantaneous release via blue light, which results in full restoration of their endogenous motility. We find that one-third of stationary mitochondria cannot be pulled away from their position and that these firmly anchored mitochondria preferentially localize to VGLUT1-positive presynapses. Furthermore, inhibition of actin polymerization with latrunculin A reduces this firmly anchored pool. On release from exogenous motors, mitochondria are preferentially recaptured at presynapses.