The minimum flight time of spacecraft rendezvous is one of the fundamental indexes for mission design. This paper proposes a rapid trajectory planning method based on convex optimisation and deep neural network (DNN). The time-optimal trajectory planning problem is reconstructed into a double-layer optimisation framework, with the inner being a convex optimisation problem and the outer being a root-finding problem. The thrust properties corresponding to time-optimal control are analysed theoretically. A DNN-based rapid planning method (DNN-RPM) is put forward to improve computational efficiency, in which the trained DNN provides a high-quality initial guess for Newton’s method. The DNN-RPM is extended to search for the optimal entering angle of natural-motion circumnavigation orbit injection problem and the minimum reconfiguration time of spacecraft swarm. Numerical simulations show that the proposed method can improve the computational efficiency while ensuring the calculation accuracy.