We present in this paper a time parallel algorithm for $${\dot{u}}=f(t,u)$$ with initial-value $$u(0)=u_0$$ , by using the waveform relaxation (WR) technique, and the diagonalization technique. With a suitable parameter $$\alpha $$ , the WR technique generates a functional sequence $$\{u^k(t)\}$$ via the dynamic iterations $${\dot{u}}^k=f(t,u^k)$$ , $$u^k(0)=\alpha u^k(T)-\alpha u^{k-1}(T)+u_0$$ , and at convergence we get $$u^{\infty }(t)=u(t)$$ . Each WR iterate represents a periodic-like differential equation, which is very suitable for applying the diagonalization technique yielding direct parallel-in-time computation. The parameter $$\alpha $$ controls both the roundoff error arising from the diagonalization procedure and the convergence factor of the WR iterations, and we perform a detailed analysis for the influence of the parameter $$\alpha $$ on the method. We show that the roundoff error is proportional to $$\epsilon (2N+1)\max \{|\alpha |^2, |\alpha |^{-2}\}$$ ( $$N=T/\varDelta t$$ and $$\epsilon $$ is the machine precision), and the convergence factor can be bounded by $$|\alpha |e^{-TL}/(1-|\alpha |e^{-TL})$$ , where $$L\ge 0$$ is the one-sided Lipschitz constant of f. We also perform a convergence analysis at the discrete level and the effect of temporal discretizations is explored. Our analysis includes the heat and wave equations as special cases. Numerical results are given to support our findings.