HONG KONG—Ride-hailing giant Didi Global Inc. is considering going private in order to placate authorities in China and compensate investors for losses incurred since the company listed in the U.S. in late June, according to people familiar with the matter.

The Beijing-headquartered company has been in discussions with bankers, regulators and key investors about how it could resolve some of the problems that emerged after Didi listed on the New York Stock Exchange on June 30, the people said. A take-private deal that would involve a tender offer for its publicly traded shares is one of the preliminary options being considered, they added.

Didi raised about $4.4 billion in its initial public offering after selling American depositary shares at $14 apiece, in the biggest stock sale by a Chinese company since the 2014 blockbuster listing of Alibaba Group Holding Ltd.

Its shares briefly topped $18 in their first days of trading, before the Cyberspace Administration of China stunned investors and the company on July 2 by launching a data-security probe into Didi and blocking its China business from adding new users. Two days later, the cybersecurity regulator told app-store operators to take down the company’s popular Chinese mobile app.

The crackdown worsened on July 9, when 25 more Didi apps—including ones used by drivers—were ordered to be removed from app stores, potentially crippling the company’s operations. China also said in early July that it would tighten rules for companies selling shares abroad, signaling its displeasure with recent listings by Didi and others.

The unexpected moves caused Didi’s shares to plunge below their IPO price. They closed at $8.87 on Wednesday, giving the company a market capitalization of about $43 billion, according to FactSet. Didi’s shares jumped as much as 35% in premarket trading on Thursday after The Wall Street Journal reported the privatization plan.

After Chinese ride-hailing giant Didi made its Wall Street debut, Beijing said it plans to tighten rules for homegrown companies looking to raise money overseas. WSJ’s Yoko Kubota takes a Didi ride to explain what the crackdown means for China’s tech titans and investors. Photo illustration: Ang Li The Wall Street Journal Interactive Edition

Numerous U.S. law firms that represent Didi shareholders who lost money have filed securities class-action lawsuits against the company, its IPO underwriters and board. The suits in many cases have alleged that false and misleading statements were made before the company’s IPO, which was led by units of Goldman Sachs Group Inc., Morgan Stanley and JPMorgan Chase & Co.

Weeks before Didi went public, China’s security watchdog suggested to the company that it delay its listing plans and conduct a thorough examination of its network security, the Journal reported. Despite the regulator’s suggestion—which the company never disclosed—Didi went ahead with its listing plans.

Didi started contemplating the go-private plan around mid-July after the regulatory actions escalated, according to people familiar with the matter.

A take-private offer could be funded partly or predominantly with money that Didi raised from U.S. and global investors in the IPO. The price that the company would offer to investors has yet to be determined, but it could be around or above the $14-per-share IPO price, one of the people said.

Didi has asked its major underwriters to gauge investors’ views regarding a privatization plan, as well as the pricing range that they would accept, the people said.

The plan is still under deliberation and would need approval from Didi’s board and major pre-IPO investors including SoftBank Group Corp.’s Vision Fund.

CAC, the cybersecurity watchdog, is supportive of the privatization plan in principle, according to one of the people. SoftBank is unlikely to help fund a deal, the person said. The Japanese conglomerate’s first Vision Fund previously poured about $12 billion into Didi and holds a 20% stake in the company.

Didi didn’t respond to a request for comment. After the Journal’s article was published, Didi said on its Weibo microblogging account in China that “rumors of Didi’s privatization are false.” The company added that it is cooperating with the cybersecurity investigation.

Representatives for SoftBank and J.P. Morgan declined to comment. The CAC, Goldman Sachs and Morgan Stanley didn’t comment.

Didi is also considering bringing in state-backed investors who could help finance the deal and help guide the company as it tries to remedy its data-security issues, according to people familiar with the matter.

The cybersecurity watchdog said earlier this month that there were serious problems involving the illegal collection of personal data by the company, and instructed Didi Chuxing, its China business, to address the issues to “ensure the safety of the personal information of users.”

Didi said at the time that it “sincerely accepts and firmly obeys the requirements made by relevant authorities.”

Write to Jing Yang at Jing.Yang@wsj.com