<p>A method and apparatus for continuously treating a moist biomass feedstock is disclosed. The method includes treating a biomass feedstock with a swelling agent in a pressurized first vessel, transferring the feedstock to a second vessel at a lower operating pressure than the first vessel such that the biomass fibers rupture. At least portions of the swelling agent, and/or the moisture are recycled in the process.</p>