The invention discloses a method for determining the content of chloroethanol in a gelatin hollow capsule, which comprises the following steps: step 1, preparing a test solution, taking a proper amount of gelatin hollow capsule, cutting into pieces, weighing, placing in a headspace bottle, precisely adding n-hexane, sealing, dipping overnight, taking the subsequent filtrate as the test solution, and preparing a blank sample by using the n-hexane to perform a blank test; step 2, preparing a reference substance solution, taking a proper amount of a chloroethanol reference substance, precisely weighing, dissolving with n-hexane, and quantitatively diluting chloroethanol to prepare a solution; and step 3, determination: taking the test solution, the blank sample and the reference solution prepared in the step 1 and the step 2, and carrying out gas chromatograph detection on the test solution, the blank sample and the reference solution. The detection method provided by the invention is verified by a test, and a result shows that the method is strong in specificity, good in precision and high in accuracy, and the content of chloroethanol can be rapidly measured.