The invention discloses a method for preparing an agent for adsorbing and removing organic gas. The agent for adsorbing and removing the organic gas is prepared from tetraethyl orthosilicate, anhydrous ethanol, N,N-dimethylformamide, coconut shells, phenol, polyvinyl alcohol and other raw materials, and according to the method, porous carbon fiber which is obtained by performing multiple modification process treatment and has high mechanical strength and high adsorbability is prepared from the coconut shells; on the basis of the porous carbon fiber, loading of silica and activation of nitrogen-containing gas are achieved through the addition of the tetraethyl orthosilicate, and a large amount of a nitrogen element is introduced on the carbon fiber, so that a strong catalytic effect on sulfur-containing and nitrogen-containing compounds in the air is achieved, and stable and efficient adsorbability of benzene, toluene and other volatile toxic gas is achieved; the skeleton of the modified carbon fiber has strong adaptability to acid, alkali, high temperature and other environments, so that a long-term stable effect of adsorption and purification is achieved; and in addition, the usage mode is flexible, and good applicability to factories, homes and public places is achieved.