Dichlorosilane and trichlorosilane are dehydrogenated at elevated temperature in the presence of an ammonium or phosphonium salt as a catalyst, and a halogenated hydrocarbon or hydrogen halide. The method may be used to synthesize organochlorosilane.