Netflix has stemmed the bleeding. The streaming juggernaut overcame its rare moment of weakness from last quarter to add 6.8 million new customers this quarter, the company reported on Wednesday, with 520,000 of them in the United States.

The rebound, after a loss of 126,000 customers domestically earlier in the year, helped Netflix recover some investor confidence as it faces an onslaught of new streaming competitors.

Still, the results for the September period were slightly lower than the company’s forecast and presage the coming competition in a field it has dominated. Netflix had been expected to add about seven million customers, with 800,000 in the United States.

The company also reported a large jump in profit, to $665 million, on $5.2 billion in revenue, handily beating Wall Street’s income estimates of about $470 million. Netflix stock jumped more than 8 percent in after-hours trading Wednesday. The company’s market value had dropped sharply since its last earnings announcement in July, with shares having traded down more than 20 percent before the most recent report.