In the near space, reentry trajectory optimization for hypersonic glide vehicle,a section optimization strategy based on the adaptive hp Radau pseudospectral method is proposed. Establish reentry trajectory optimization model, use the adaptive hp Radau pseudospectral method of reentry optimal control problems in discrete parameters,convert it to a nonlinear programming problem,and according to the location of the waypoint, for reentry trajectory fragmented to reentry gliding shortest time for the simulation to calculate the objective function. The simulation results show that this method can generate a high accuracy to meet the various constraints to optimize trajectory.