Earth construction is a sustainable and environmentally friendly approach to building. In addition to their good thermal performance, earth materials are abundant, inexpensive, and readily available, reducing the need for resource-intensive materials like concrete and steel. Regarding the construction process of earth structures, which is based on compaction, there is often a difference between the laboratory compaction process and the onsite one. The energy consumed onsite to produce earth structures is still approximative and uncontrolled, which affects considerably the mechanical performances of earth walls. Then, the investigation of the optimal compaction energy is necessary. To optimize the on-site compaction energy used in rammed earth (RE), an experimental study is carried out to compare the dynamic compaction usually applied to produce RE walls to the static compaction using a mechanical press. By considering increasing dynamic and static energies, the physical and mechanical properties are analyzed for each case. The obtained results show that RE walls can be replaced by prefabricated pressed earth blocks where the compaction energy is reduced by 60% and the compressive strength is enhanced by 70% using static compaction, thus achieving 4 MPa without stabilization. This solution allows to reduce the execution time and to control the quality of earth buildings.