This study comprehensively investigates the source mechanisms associated with the mainshock and aftershocks of the Yogyakarta earthquake of magnitude Mw = 6.3 on May 27, 2006. Therefore, this study is to provide a more precise answer to the controversial source mechanism. This study uses moment tensor inversion to obtain fault plane parameters and joint inversion to obtain spatial and temporal slip distributions during an earthquake. The coseismic slip distribution is overlaid with the relocated aftershock distribution to see the stress field variations around the tectonic area of the study. Moment tensor inversion uses near-field data, and joint inversion uses near-field and teleseismic body wave data. The data is filtered by trial and error using a bandpass filter with frequency pairs and velocity models from several previous studies. The green's function for moment tensor inversion calculated using the extended reflectivity method and joint inversion computed using the Kikuchi and Kanamori methods. In this study, we apply the Akaike Bayesian Information Criterion (ABIC) method to obtain more stable inversion results. The results of the mainshock and aftershock moment tensor inversion show different fault types. The mainshock fault types are strike-slip and dip-normal types, while the 8th aftershock is of the same type as the mainshock, while the 9th and 16th June are strike slips. The joint inversion results show two asperities. The maximum slip is 0.78 m, with the first asperity 10 km south of the mainshock and the second asperity 10 km north of the mainshock. The obtained source parameters are total seismic moment M0 = 0.4311E + 19 (Nm) or Mw = 6.4, with a source depth of 12 km and a source duration of 28 seconds. Slip distribution overlay with aftershock distribution shows compatibility. The type of focus mechanism that results from this joint inversion is the oblique.