Saudi Arabian officials arrested a partner at consulting giant McKinsey & Co. in the fall of 2017 and have been holding him in detention since then, people familiar with the matter say. In recent months, he has been repeatedly beaten, two of those people said.

A McKinsey spokesman said that as of early this year the consultant, Hani Khoja, is no longer a McKinsey employee.

The...