The invention discloses a method for preparing copper indium selenium sulfur powder or thin film used in a thin-film solar cell. The method comprises the following steps: firstly copper chloride and indium chloride are dispersed in an organic solvent and subjected to ultrasonic dispersion to obtain dispersion liquid; after being added with sodium sulfide and selenium powder, the dispersion liquid is stirred to be uniform to obtain a mixed solution; then the mixed solution is transferred to a reactor to perform reaction after completion of the constant volume and the sealing, after the reaction is completed, suction filtration is performed, residue is washed by deionized water and anhydrous ethyl alcohol sequentially, then is dried in volume to obtain CuIn (S, Se)2 powder; or the mixed solution is transferred to the reactor, then a glass substrate is added into, liquid phase deposition is performed after the completion of the constant volume and the sealing, the deposited glass substrate is washed by deionized water and anhydrous ethyl alcohol sequentially, and then is dried in volume to obtain CuIn (S, Se)2 thin film. According to the method, adopted devices are simple, the prepared CuIn (S, Se)2 powder or thin film is excellent in performance, and good in stability; the industrial production can be realized; a band gap of the CuIn (S, Se) 2 can be continuously adjustable within the range of 1.21-1.45 eV by controlling the content of an S element.