Obtaining reliable data for nuclear reactions on unstable isotopes remains an extremely important task and a formidable challenge. Neutron capture cross sections-crucial ingredients for models of astrophysical processes, national security applications, and simulations of nuclear energy generation-are particularly elusive, as both projectile and target in the reaction are unstable. We demonstrate a new method for determining cross sections for neutron capture on unstable isotopes, using ^{87}Y(n,γ) as a prototype. To validate the method, a benchmark experiment is carried out to obtain the known ^{90}Zr(n,γ) cross section analogously. Our approach, which employs an indirect ("surrogate") measurement combined with theory, can be generalized to a larger class of nuclear reactions. It can be used both with traditional stable-beam experiments and in inverse kinematics at rare-isotope facilities.