Rotten passion fruits, which are highly available in many countries during some periods of the year, can be used to efficiently produce CoFe 2 O 4 material with special structural and electrochemical characteristics for the hydrogen evolution reaction.