The invention discloses a method for preparing one-dimensional porous tin dioxide nano-tubes on an electric conduction substrate based on an in-situ self-etching template mechanism, and belongs to the field of inorganic chemistry and material synthesis. The method comprises: washing an electric conduction glass, preparing a ZnO precursor solution, growing a ZnO/electric conduction glass, preparing a SnO2 precursor solution, and growing SnO2 nano-tubes. According to the present invention, the method is characterized in that the two-step template method for preparing the SnO2 nano-tubes through the in-situ etching based on the self-produced alkaline environment without strong acid/alkali is achieved, the experimental steps are simplified, the product size is uniform, the cost is low, and the advantages of energy saving and environment protection are provided; and the method has the simple operation and provides the new idea for the large batch preparation of the SnO2 nano-tubes, and the prepared tin oxide has the large specific surface area and has wide application prospects in the fields of photocatalysis, solar cells, and the like.