This paper presents the development of synthetic ground motion at specific sites in Yogyakarta town. In the 2019 Indonesian Seismic Code [1] provides an alternative method in the analysis of building structures by applying the dynamic time history analysis. At least 11-pairs of earthquake recordings must be used in the analysis. Synthetic ground motion utilizing the Method of Probability Seismic Hazard Analysis (PSHA) was used in this study. A selected site in Yogyakarta town was chosen as a pilot study considering that there were many fatalities and building damage caused by the 2006 Yogyakarta earthquake. The Uniform Hazard Spectra (UHS) based on the shallow crustal earthquake source is higher than the Megathrust. The risk targeted spectrum demand MCEr has been considered, which on average 12.3% greater than the UHS. The synthetic ground motions (SGM) are accordingly based on the shallow crustal earthquakes. The dominant magnitude and distance are MD = 6.5 and RD = 14.5 km. They show that the contribution of the Opak River fault to the hazard in Yogyakarta town is very dominant because the distance is very close. Based on the obtained MD and RD, spectral matching, and testing significant duration D595, the 12-synthetic ground motions were successfully developed.