The integration of solar steam generation and the hydrovoltaic effect is a promising strategy for simultaneously solving water scarcity and energy crises. However, it is still a challenge to attain a high water evaporation rate and a strong output of electricity in a single device. Here, we report a three-dimensional (3D) hierarchical Cu