Snap stock shot up as much as 21 percent in after-hours trading on Tuesday after beating analyst expectations across the board.
The company posted a narrower-than-expected loss for the fourth quarter as it managed to stabilize its base and prevent more users from fleeing Snapchat, the company's social app.
Here's how the company did compared with analyst projections:
"We ended the year with user engagement stabilizing and have started rolling out the new version of our Android application to a small percentage of our community," CEO Evan Spiegel said on Tuesday in a statement.
Snap was able to maintain its user base at 186 million daily active users, flat from the previous quarter. Analysts were expecting the company's user base to continue shrinking as it had over the past two quarters.
The promising results come at a crucial time for the Los Angeles tech company, which had a rough fourth quarter.
The company saw rival Instagram emerge as the most popular social platform among teenagers, according to Piper Jaffray report in October. This change in ranking has coincided with a continued decrease in Snapchat's user base.
Snap this quarter also dealt with a number of key executive departures, including that of Chief Financial Officer Tim Stone, who the company announced last month will be leaving the company. Stone joined Snap less than a year ago.
Disclosure: CNBC parent NBCUniversal is an investor in Snap.