In this paper, an adaptive feedback controller is proposed to achieve the finite-time stability of dynamical system. In the proposed scheme, the feedback gain of the adaptive feedback controller is automatically tuned according to the adaptation law in order to stabilize unstable fixed points of the system. Based on the Lyapunov function method and the finite-time stability theory, we get a sufficient condition for the finite-time stability. Finally, simulation results show the effectiveness and feasibility of the proposed finite-time controller.