The CBI is attached to the Department of Personnel and Training (DoPT), which falls under the Ministry of Personnel, Public Grievances and Pensions.