Wearing surgical masks or other similar face coverings can reduce the emission of expiratory particles produced via breathing, talking, coughing, or sneezing. Although it is well established that some fraction of the expiratory airflow leaks around the edges of the mask, it is unclear how these leakage airflows affect the overall mask efficiency at blocking emission of expiratory aerosol particles. Here, we show experimentally that the aerosol particle concentrations in the leakage airflows around a surgical mask are reduced compared to no mask wearing, with the magnitude of reduction dependent on the direction of escape (out the top, the sides, or the bottom). Because the actual leakage flowrate in each direction is difficult to measure, we use a Monte Carlo approach to estimate flow-corrected particle emission rates in all orientations, from which a flow-weighted overall efficiency is derived. The overall mask efficiency, accounting both for air that passes through the mask and for leakage flows, is reduced compared to the through-mask efficiency, from 93% to 70% for talking, but from only 94% to 90% for coughing. These results demonstrate that leakage flows due to imperfect sealing do decrease mask efficiencies for reducing emission of expiratory particles, but even with such leakage surgical masks provide substantial control.