We consider the quasi-periodic solutions bifurcated from a degenerate homoclinic solution. Assume that the unperturbed system has a homoclinic solution and a hyperbolic fixed point. The bifurcation function for the existence of a quasi-periodic solution of the perturbed system is obtained by functional analysis methods. The zeros of the bifurcation function correspond to the existence of the quasi-periodic solution at the non-zero parameter values. Some solvable conditions of the bifurcation equations are investigated. Two examples are given to illustrate the results.