We propose trace abstraction modulo probability, a proof technique for verifying high-probability accuracy guarantees of probabilistic programs. Our proofs overapproximate the set of program traces using failure automata, nite-state automata that upper bound the probability of failing to satisfy a target speci cation.We automate proof construction by reducing probabilistic reasoning to logical reasoning: we use program synthesis methods to select axioms for sampling instructions, and then apply Craig interpolation to prove that traces fail the target speci cation with only a small probability. Our method handles programs with unknown inputs, parameterized distributions, in nite state spaces, and parameterized speci cations. We evaluate our technique on a range of randomized algorithms drawn from the di erential privacy literature and beyond. To our knowledge, our approach is the rst to automatically establish accuracy properties of these algorithms.common weaknesses: they are mostly restricted to closed programs with xed inputs and nite state spaces, and support for properties with symbolic parameters remains limited.In this paper, we start from established automated veri cation techniques for non-probabilistic programs and extend them to the probabilistic se ing. Our logic-based approach yields several bene ts. By reasoning symbolically instead of numerically, we can (i) directly establish properties for all inputs rather than requiring xed inputs, (ii) handle programs that sample from distributions with unknown parameters, possibly over in nite ranges, and (iii) prove parametric accuracy properties, making it possible to automatically establish tradeo s between accuracy and failure probabilities, and capture the dependence on other input parameters.