We introduce the one-sided local maximal operator and study its connection to the one-sided Ap conditions. We get a new characterization of the boundedness of the one-sided maximal operator on a quasi-Banach function space. We obtain applications to weighted Lebesgue spaces and variable-exponent Lebesgue spaces.