The present invention pertains to a method for preparation of superhydrophobic timber on the basis of a sol-gel method, and the method is as follows: (1), silica sol synthesis, to be more specific, materials are prepared in the volume ratio of ammonia to anhydrous ethanol to ethyl orthosilicate of 1:15 to 17:1; (2), hydrophobic modification of monodispersed nano silica sol, to be more specific, hexadecyl trimethoxysilane, or triethoxysilane-1H, 1H, 2H, 2H-heptadecafluorodecyl silane is used for hydrophobic modification of the synthesized monodispersed nano silica sol, and the hydrophobic agent promotes mutual aggregation of nanoparticles to promote the formation of aggregates of silica nanoparticles; and (3) timber coating processing, to be more specific, the timber surface is coated with the hydrophobically modified silica sol solution by dipping or spraying process. Contact angles of the processed timber surface and water droplets are greater than 150 degrees, roll angles are less than 10 degrees, and a superhydrophobic film has good resistance to acid and alkali erosion and stability in high-humidity environment. The method is simple in operation, less demanding on equipment, and capable of scale production, and has wide market prospects.