In this paper, we investigate a class of multi-term implicit fractional differential equation with boundary conditions. The application of the Schauder fixed point theorem and the Banach fixed point theorem allows us to establish the criterion for a solution that exists for the given equation, and the solution is unique. Afterwards, we give the criteria of Ulam–Hyers stability and Ulam–Hyers–Rassias stability. Additionally, we present an example to illustrate the practical application and effectiveness of the results.