American Public Education (APEI) reported Q1 net income late Monday of $0.41 per diluted share, compared with the loss of $0.06 a year earlier.
Analysts polled by FactSet expected earnings of $0.14.
Revenue in the three months ended March 31 rose to $164.6 million from $154.4 million a year earlier.
Analysts surveyed by FactSet expected $161.7 million.
American Public Education expects a Q2 loss per share of $0.04 to $0.13 on revenue of $160 million to $162 million. Analysts expect earnings of $0.14 a share on revenue of $160 million.
The company expects 2025 revenue of $650 million to $660 million. Analysts expect $654 million.