Desiccants play vital roles in dehumidification and atmospheric water harvesting; however, current desiccants have mediocre hygroscopicity, limited recyclability, and high energy consumption. Herein, we report a wood-inspired moisture pump based on electrospun nanofibrous membrane for solar-driven continuous indoor dehumidification. The developed moisture pump with multilayer wood-like cellular networks and interconnected open channels is composed of a desiccant layer and a photothermal layer. The desiccant layer exhibits an unprecedented moisture absorption capacity of 3.01gg(-1) at 90% relative humidity (RH), fast moisture absorption and transport rates, enabling atmospheric water harvesting. The photothermal layer shows a high solar absorption of 93%, efficient solar thermal conversion, and good moisture permeability, thus promoting water evaporation. The moisture pump efficiently reduces the indoor relative humidity to a comfort level (4060% RH) under one-sun illumination. This work opens the way to develop new-generation, high-performance nanofibrous membrane-based desiccants for energy-efficient humidity control and atmospheric water harvesting. Desiccants are important for dehumidification, but application is hindered by limited hygroscopicity, recyclability, and energy efficiency. Here, the authors report a moisture pump comprised of an electrospun nanofibrous memebrane for solar-driven continuous indoor dehumidification.