The escaping ionising efficiency from galaxies, $f_ esc ion $, is a crucial ingredient for understanding their contribution to hydrogen reionisation, but both of its components, $f_ esc $ and $ ion $, are extremely difficult to measure. We measured the average escaping ionising efficiency $ esc ion of galaxies at $z=5$ implied by the mean level of ionisation in the intergalactic medium via the Lyman-alpha forest. We used the fact that $ N ion UV f_ esc ion $, the product of the ionising output and the UV density $ UV $, can be calculated from the known average strength of the UV background and the mean free path of ionising photons. These quantities, as well as $ UV $, are robustly measured at $z We calculated the missing factor of $ esc ion at $z=5$ during a convenient epoch after hydrogen reionisation had been completed and the intergalactic medium had reached ionisation equilibrium but before bright quasars began to dominate the ionising photon production. Intuitively, our constraint corresponds to the required escaping ionising production from galaxies in order to avoid over- or under-ionising the Lyman-alpha forest. We obtained a measurement of $ esc ion /$erg $ at $z=5$ when integrating the $ UV $ down to a limiting magnitude $M_ lim =-11$. Our measurement of the escaping ionising efficiency of galaxies is in rough agreement with both observations of early galaxies and with most models.