The formation of membranes from two systems has been studied. In the system polyurethane-dimethylformamide-water, the mechanism for the formation of the sponge-like structure proves to be a liquid-liquid phase separation with nucleation and growth of the diluted phase. This mechanism has been confirmed for the system modified polystyrene-polyisoprene-polystyrene/o-dichlorobenzene/(methanol-water). Crystallization and gelation is discussed. The membranes prepared showed hyperfiltration activity. The mechanism proposed here is believed to be valid for other systems, too.