a process for producing sulfonylimide compound is represented by the formula mn industrially easily at a low cost in an efficient manner comprising reactions of at least one sulfonyl halogenides represented by the formula r f so 2 x with anhydrous ammonia or an ammonium salt in the presence of a fluorine compound represented by the formula mf , in which x represents either f or cl among halogen elements of viib group in the periodic table , and m represents any one of li , na , k and cs among alkali metals of group ia in the periodic table , r f 1 and r f 2 , which may be the same or different , respectively represent any one of a straight chain or branched compound of a fluoroalkyl , perfluoroalkyl , fluoroallyl or fluoroalkenyl group having 1 to 12 carbon atoms , and r f in the formula represents the same group as r f 1 or r f 2 in the formula .