In this paper, we investigate a class of fractional equations with nonlinear boundary condition. We establish a new comparison principle related to linear fractional equation and show the existence of extreme solution by using monotone iterative method and lower and upper solutions method.