In this study, we examine two models of the scalar field, that is, a normal scalar field and a tachyon scalar field in F(R,T,X,ϕ) gravity to describe cosmic acceleration of the universe, where R, T and X are Ricci curvature scalar, trace of energy–momentum tensor and kinetic energy of scalar field ϕ, respectively. Using the minimal-coupling Lagrangian F(R,T,X,ϕ)=f(R)+βTn+f(X,ϕ), for both the scalar models we obtain a viable cosmological system, where β and n are real constants. While a normal scalar field gives a system describing expansion from the deceleration to the late-time acceleration, tachyon field together with Rσ in the system produces a quintessential expansion which is very close to de Sitter point, where we find a new condition 1<σ<1.005 for inflation.