Yahoo Inc. is withdrawing its remaining operations in China, laying off between 200 and 300 employees and shutting down its Beijing research center, according to a person familiar with the matter.

The company said it informed employees of the job cuts on Wednesday. The Beijing office, Yahoo’s only physical presence in mainland China, was mostly made up of engineers and functioned as a research and development center. “We will be consolidating certain functions into fewer offices, including to our headquarters in Sunnyvale,...