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.01 g g-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 (40‒60% 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.