In this paper, by using a new identity we establish some trapezoidal type inequalities for functions whose modulus of the first derivatives are \( \left( s,m\right)\)-preinvex via Caputo fractional derivatives.