A boundary element formulation having discontinuous curved quadratic elements is presented for 2D elastodynamics. The first fundamental solution for static case is subtracted from and added to the first fundamental solution for dynamic case. As both kernels have the same order of singularity, the integral involving the regular expression arising from the subtraction can be calculated. H matrix is calculated by employing the well-known rigid-body motion technique. The formulation is performed in Fourier transform space. Based on the formulation presented in this study, a general purpose computer program is developed for elastic or visco-elastic 2D elastodynamic problems. The program performs the analysis in Fourier transform space and can also be used for static analysis by assigning a very small value close to zero for the frequency. The results of some elastodynamic and dynamic soil-structure interaction problems obtained using the present study are compared with those in the literature. (c) 2007 Elsevier Ltd. All rights reserved.