Chinese e-commerce major JD.com Inc. said it was exploring a spinoff of its internet finance unit to facilitate the expansion of the business in its home market as it reported a third-quarter loss.

JD.com, China’s second-largest online retailer, is aiming to selling its whole stake in JD Finance to Chinese investors, including the parent company’s chairman, Richard Liu, it said Tuesday in a statement.

JD’s...