Yahoo posted profit of $99 million in the first three months of this year on revenue of $1.3 billion, as compared to posting a loss on $1.09 billion in revenue in the same period last year.
The California-based company said that it was continuing to work with Verizon on integrating Yahoo's core internet operations into the US telecommunication giant.
A price cut early this year kept Verizon on track to consummate the purchase of Yahoo's internet business, and share the costs from a pair of epic hacks that threatened to derail the deal.
Yahoo slashed the price of its core internet business by $350 million.
Under revised terms of the delayed deal, Verizon's purchase of Yahoo assets will total $4.48 billion.
Yahoo announced in September that hackers in 2014 stole personal data from more than 500 million of its user accounts. And in December it admitted to another cyber attack from 2013 affecting more than a billion users.
The deal with Verizon will end Yahoo's run of more than 20 years as an independent company.
Yahoo is selling its main operating business as a way to separate that from its more valuable stake in Chinese internet giant Alibaba (Berlin: AHLA.BE - news) , which will become a new entity, to be renamed Altaba, Inc., and will act as an investment company.
Yahoo boasted having more than a billion users monthly in 2016.
Yahoo chief Marissa Mayer will quit the company's board after the merger with Verizon that creates Oath, according to an SEC (Shanghai: 603988.SS - news) filing, though she is expected to remain with the core Yahoo business.
"As we enter our final quarter as an independent company, we are committed to finishing strong and planning for the best possible integration with Verizon," Mayer said in the earnings release.
Yahoo shares remained flat at $47.56 in after-market trades that followed release of the earnings figures after having ended the official trading day up less than half a percent.