A semi-analytical method in time domain is presented for analysis of the transient response of nonuniform transmission lines. In this method, the telegraph equations in time domain is differenced in space domain first, and is transformed into a set of first-order differential equations of voltage and current with respect to time. By integrating these differential equations with respect to time, and precise computation, the solution of these differential equations can be obtained. This method can solve the transient response of various kinds of transmission lines with arbitrary terminal networks. Particularly, it can analyze the nonuniform lines with initial conditions, for which there is no existing effective method to analyze the time response so far. The results obtained with this method are stable and accurate. Two examples are given to illustrate the application of this method.