To minimize the impacts of large losses and optimize the emergency response when a large earthquake occurs, an accurate early warning of an earthquake or tsunami is crucial. One important parameter that can provide an accurate early warning is the earthquake’s magnitude. This study proposes a method for estimating the magnitude, and some of the source parameters, of an earthquake using genetic algorithms (GAs). In this study, GAs were used to perform an inversion of Okada’s model from earthquake displacement data. In the first stage of the experiment, the GA was used to inverse the displacement calculated from the forward calculation in Okada’s model. The best performance of the GA was obtained by tuning the hyperparameters to obtain the most functional configuration. In the second stage, the inversion method was tested on GPS time series data from the 2011 Tohoku Oki earthquake. The earthquake’s displacement was first estimated from GPS time series data using a detection and estimation formula from previous research to calculate the permanent displacement value. The proposed method can estimate an earthquake’s magnitude and four source parameters (i.e., length, width, rake, and slip) close to the real values with reasonable accuracy.