This study investigates the finite-time synchronization of uncertain nonlinear complex dynamic networks with time-varying delay. For a class of complex network models with time-varying delay and uncertain system parameters, the time delay changes infrequently, uncertain terms are unknown but bounded, and the matching conditions are satisfied. The coupling relationship between nodes is a nonlinear function with time delay, and the function satisfies the Lipschitz condition. A new criterion for the finite-time synchronization of a class of complex dynamical networks with variable delay is obtained, and the upper bound of the time for the system to achieve synchronization is presented by constructing a suitable Lyapunov-Krasovskii function, designing a nonlinear controller, and combining analysis techniques, such as matrix inequality. Finally, the validity of finite-time synchronization is verified through computer simulation.