The paper contains the proofs of strong-type, weak-type, Lorentz-norm and stability estimates for the harmonic maximal operator on the real line, associated with an arbitrary Borel measure. The constants obtained are optimal in the special case of the Lebesgue measure.