Extracting lipids from a feedstock includes contacting a feedstock including water, lipids, and solid organic matter with an organic solvent to yield a mixture separating the mixture to yield a solid and a liquid and desolventizing the solid to yield a solid product and a fluid product. The lipids in the mixture are in the liquid state. The solid product has a lipids content of 20 wt % or less. In some cases, the number-weighted particle size distribution of the solid organic matter has a mean dimension of 1 mm or less, the lipids content of the feedstock is at least 20 wt %, the water content of the feedstock is 10 wt % or less, or a combination thereof.