We prove an asymptotic expansion of Riemann-Siegel type for Dirichlet series associated to cusp forms. Its derivation starts from a new integral formula for the Dirichlet series and uses sharp asymptotic expansions for partial sums of the Fourier series of the cusp form.