Tuning the selectivity of CO2 electrohydrogenation to value-added products poses a challenge in CO2 mitigation and electrified chemical manufacturing. Now, a strategy to design and synthesize CO2 reduction electrocatalysts highly selective to either CO or CH4 for proton-conducting ceramic electrochemical cells is presented.