In reliability-based topology optimization (RBTO), both quantification and maximization of structure reliability considering uncertainty of various quantities are essential. In this study, A novel gradient online learning and prediction (GoLap) method is proposed to accelerate the double-looped RBTO and reduce total computational time by using a one-hidden-layer neural networks (NN) and gradient and non-gradient based reliability quantification. The total computational time saving is achieved by (i) skipping the finite element analysis (FEA) runs and sensitivity analyses and (ii) updating the design and random variables using the gradients predicted by the NN model in selected inner and outer loops. 2D and 3D numerical examples, including an aircraft engine pylon, are presented to demonstrate the total computational time saving of up to 84.4%, and the prediction accuracy of the reliability of optimum structures for the GoLap implemented RBTO methods.