Earthquake swarms present a challenge for operational earthquake forecasting because they are driven primarily by transient external processes, such as fluid flow, the behavior and duration of which are difficult to predict. In this study, we develop a swarm duration model to estimate how long a swarm is likely to last based on actuarial statistics of previous swarms in a given region. We demonstrate this approach using swarms that have been identified in the Salton trough in southern California, finding that swarms last an average of days and have a relatively constant 15%–16% chance of terminating each day for the first 14 days of the swarm. Cataloged swarm durations are exponentially distributed, so we use a Poissonian model for swarm termination to encapsulate and extend the actuarial statistics. We then show how using the swarm duration model would have affected the earthquake forecast that was released during the 2016 Bombay Beach swarm. The earthquake forecast is substantially improved by incorporating a probabilistic model for how long the swarm is likely to last.