We present a novel theory of moral cognition organized around resource-rational contractualism. From a contractualist perspective, ideal moral judgments are those that would be agreed to by rational bargaining agents—an idea with widespread support in philosophy, psychology, economics, biology, and cultural evolution. As a practical matter, however, investing time and effort in negotiating every interpersonal interaction is unfeasible. Instead, we propose, people use abstractions and heuristics to efficiently identify mutually beneficial arrangements. We argue that many well-studied elements of our moral minds, such as reasoning about others’ utilities (“consequentialist” reasoning) or evaluating intrinsic ethical properties of certain actions (“deontological” reasoning), can be naturally understood as resource-rational approximations of a contractualist ideal.