Consider a complete hyperbolic surface which can be partitioned into countably many pairs of pants whose boundary components have lengths less than some constant. We show that any infinite ergodic invariant Radon measure for the horocycle flow is either supported on a single horocycle associated with a cusp, or corresponds canonically to an extremal positive eigenfunction of the Laplace–Beltrami operator.