Morality, concern for the welfare of others, is an important criterion of how individuals treat others, including justice, fairness, and rights. Moral judgment is the process of evaluating the behavior of others and oneself according to social norms. Morality might affect social cooperation with others by entailing the belief that someone should be rewarded or punished. The ultimatum game is a classic paradigm that can be used to study the fairness behavior of social cooperation. Previous studies have shown that some social factors (e.g., social distance, social exclusion, and social evaluation) influence fairness behavior in the ultimatum game. Using the event-related potential (ERP) technique to examine the neural basis of the ultimatum game, studies found that feedback-related negativity (FRN) was modulated by social factors. This effect indicates that the influence of social factors mainly appears in the early stage of outcome evaluation. However, the influence of moral judgment on social cooperation and its neural mechanism remains unclear. The present study focused on whether moral judgment would affect fairness consideration in the early outcome evaluation stage. For this purpose, we used moral sentences within the ultimatum game to assess the influence of moral judgment and fairness of offers on decision-making. A total of 25 participants who acted as respondents completed the ultimatum game with blood donors, murderers, and unidentified individuals as proposers. A moral sentence (e.g., He is a blood donor) was given as a reminder of the moral identity of the players before each round. Participants were told that other players would gain ¥50, and proposers would make an allocation offer. There were five types of allocation offers: ¥5, ¥10, ¥15, ¥20 or ¥25. Participants were asked to accept or reject the offers. At the same time, the ERP was locked to the onset of the offers. The acceptance rate of each offer was included in the behavioral data. The dependent variable was the acceptance rate of the five allocation offers and moral primes were the independent variable when performing one-way ANOVAs. Regarding ERP data, ¥5 and ¥10 were considered as unfair offers and ¥20 and ¥25 as fair offers in order to analyze the amplitudes of FRN and P300. Two-way repeated measures ANOVAs (moral judgment, three levels; offer fairness, two levels) were performed to compare ERP data. Behavioral results showed that the acceptance rate of unfair offers from blood donors was significantly higher than that of murderers. Furthermore, the acceptance rate of fair offers from murderers was significantly lower than that of blood donors and unidentified individuals. ERP results revealed that the FRN amplitude was more negative-going in response to unfair than to fair offers. The fairness of offers modulated FRN amplitude only regarding blood donors, but not for murderers and unidentified individual conditions. P300 was larger for fair offers compared to unfair offers and was not affected by moral judgment. These results indicate that when moral judgment conflicts with the fairness criterion, individuals might rely on moral judgment to make decisions. People may have a higher expectation of fairness from individuals with high moral standards, while unfair behaviors could induce strong negative emotions. FRN represents unfair behaviors that violate social norms and shows that the early outcome evaluation stage is also modulated by moral judgment, while the late stage is independent of moral judgment.