The presence of surfactants may have profound effects on the transport of organic contaminants in multiphase systems. It is a common practice, however, to model the subsurface migration of liquids independently of the aqueous phase composition. As such, transport in these systems may not be adequately characterized. This study investigates the impact of pH on interfacial tension, wettability, and the drainage capillary pressure-saturation relationship in air-water-quartz and o-xylenewater-quartz systems containing dodecylamine, an organic base. In these systems, three mechanisms, speciation, partitioning, and sorption, are important in determining the interfacial tension and contact angle, and consequently, important in determining the capillary pressure. By adjusting the pH above and below, the pK a of the base, the relative importance of these mechanisms was altered. Below dodecylamine's pK a of 10.6, the base was primarily in a cationic form resulting in minimal partitioning into the nonaqueous liquid and greater sorption at the quartz surface. Above the pK a , the base was primarily in a neutral form which did not sorb to the quartz, and, furthermore, partitioned into the organic liquid phase where its surface activity was minimized. The combination of these processes caused the capillary pressure to change in a manner consistent with pore-scale theory of capillarity. The utility in this approach lies in the possibility of predicting transport properties in multiphase systems while incorporating the direct effects of solution chemistry.