In this paper, we deal with the nonlocal Cauchy problem for a class of two-term time fractional differential equations in Banach spaces. By constructing a suitable measure of noncompactness on the space of solutions, we prove the existence of a compact set containing decay mild solutions to the mentioned problem.