MongoDB delivered a strong financial performance in its latest quarter, surpassing analysts’ projections on both earnings and revenue. The company reported adjusted earnings of $1.32 per share, significantly higher than the previous year’s $1.00 and well above Wall Street’s target of $1.19.

Revenue climbed 25% year-over-year to $687.6 million, comfortably exceeding the consensus estimate of $664.5 million. Notably, MongoDB swung from a net loss of $37.6 million in the same quarter last year to a net profit of $4.4 million, marking meaningful progress in its path to sustained profitability.

Looking ahead, the company set second-quarter guidance forecasting earnings between $1.51 and $1.61 per share with revenue of $729 million to $734 million, figures that again outpace analyst expectations of $1.29 earnings per share on $701 million revenue. MongoDB’s stock responded strongly, rising over 10% during regular trading and surging an additional 17% in after-hours, contributing to a more than 44% rally since its April low, despite remaining down year-to-date amid sector pressures.

MongoDB also raised its full-year forecast, now projecting adjusted earnings between $5.95 and $6.14 per share on revenue of $2.92 billion to $2.96 billion. This is an upgrade from its previous guidance and slightly above Wall Street’s estimates of $5.92 earnings per share on $2.9 billion in revenue.

The company attributes its strong performance to sustained demand for its multicloud database service, MongoDB Atlas, which integrates advanced features tailored to support artificial intelligence use cases. Although AI revenue is not yet a major contributor, growing customer adoption of the company’s AI-enabled capabilities like vector search is showing promising momentum.

Experts see MongoDB’s profitability turnaround as a positive indicator for its future growth potential. The company’s consistent quarter-over-quarter profit reflects effective execution by its sales teams amid robust end-market demand from enterprises embracing both traditional and emerging tech applications.