We investigated mechanisms for inhibition of B16 melanoma cell migration and invasion by sphingosine-1-phosphate (S1P), which is the ligand for the Edg family G protein-coupled receptors and also implicated as an intracellular second messenger. S1P, dihydro-S1P, and sphingosylphosphorylcholine inhibited B16 cell migration and invasion with the relative potencies expected as S1P(2) receptor agonists. The S1P(2)-selective antagonist JTE013 completely abolished the responses to these agonists. In addition, JTE013 abrogated the inhibition by sphingosine, which is the S1P precursor but not an agonist for S1P receptors, indicating that the sphingosine effects were mediated via S1P(2) stimulation, most likely by S1P that was converted from sphingosine. S1P induced inhibition and activation, respectively, of Rac and RhoA in B16 cells, which were abrogated by JTE013. Adenovirus-mediated expression of N(17)Rac mimicked S1P inhibition of migration, whereas C3 toxin pretreatment, but not Rho kinase inhibitors, reversed the S1P inhibition. Overexpression of S1P(2) sensitized, and that of either S1P(1) or S1P(3) desensitized, B16 cells to S1P inhibition of Rac and migration. In JTE013-pretreated, S1P(3)-overexpressing B16 cells, S1P stimulated cellular RhoA but failed to inhibit either Rac or migration, indicating that RhoA stimulation itself is not sufficient for inhibition of migration. These results provide compelling evidence that endogenously expressed S1P(2) negatively regulates cell motility and invasion through ligand dependent reciprocal regulation of cellular Rac and RhoA activities. In the presence of JTE013, S1P instead stimulated Rac and migration in B16 cells that overexpress either S1P(1) or S1P(3), unveiling counteractions between S1P(2) and S1P(1) or S1P(3) chemotactic receptor.