To act on global warming, CO2 emissions must be reduced. This will require a reduction in the use of fossil fuels for transportation. Because of the large quantities of fossil fuels used in transportation, sources of renewable fuels other than biomass will have to be explored, such as electrofuels synthesized from CO2 using renewable electricity. Potential electrofuels include methanol and ethanol, which have shown promising results in SI engines. However, their low cetane numbers make these fuels unsuitable for CI engines because of their poor auto-ignition qualities. The main objective of this study was to evaluate the viability of using methanol and ethanol in CI engines at compression ratios of 16.7 and 20 with a pilot-main injection strategy in the PPC/CI regime. Single cylinder engine tests on a heavy duty engine were performed under medium load conditions (1262 rpm and 172 Nm). The higher compression ratio generated significantly better indicated thermal efficiencies, lower brake-specific NOx emissions, and less combustion noise. Soot emissions were well below current tailpipe emission limits in all cases.