A method for the determination of N,N-dimethylformamide and chloroform by gas chromatography was set up using XP-1701 capillary column and hydrogen flame ionization detector.N-butanol is used as the internal standard material.Ethanol is used as solvent.The results showed the peak area of DMF and chloroform is linear with mass fraction.The correlative coefficients are more than 0.9994,the recovery of DMF and chloroform is 101.8%-109.3% and 93.9%-102.9% respectively,and the relative standard deviation is 0.98% and 0.87% respectively.This method is suitable for the quantitative analysis of DMF and chloroform.