The invention mainly aims to provide a method for treating wood/bamboo. By the method, anticorrosive, mildew-proof, anti-cracking and mothproof treatment can be well performed on the raw wood/bamboo material. In order to fulfill the purposes, the invention adopts the technical scheme that the method comprises the following steps of: a, soaking the raw wood/bamboo material into water; b, dehydrating the raw wood/bamboo material soaked into the water; c, drying the dehydrated wood/bamboo; and d, finally soaking the dried wood/bamboo into edible vegetable oil. According to the treatment method, after the raw wood/bamboo material is soaked into the water, dehydrated, dried and soaked into the edible vegetable oil, the purposes of dehydrating, degreasing and avoiding deformation of the wood/bamboo are fulfilled; and meanwhile, all pores in the semi-finished product are closed by the edible vegetable oil, so that the semi-finished product forms a whole, and the purposes of resisting corrosion, mildew, cracking and moths are fulfilled.