Airbnb Inc. is in discussions to buy home-sharing site Xiaozhu.com, one of its largest competitors in China, according to a person familiar with the matter.

A deal would give the San Francisco startup a rapid boost in its effort to expand in the world’s most populous country. Further details about the discussion—including the price Airbnb would pay—couldn’t be learned.

The...