The microlocalization of Ras proteins to different microdomains of the plasma membrane is critical for signaling specificity. Here we examine the complex membrane interactions of H-ras with a combination of FRAP on live cells to measure membrane affinity and electron microscopy of intact plasma membrane sheets to spatially map microdomains. We show that three separable forces operate on H-ras at the plasma membrane. The lipid anchor, comprising a processed CAAX motif and two palmitic acid residues, generates one attractive force that provides a high-affinity interaction with lipid rafts. The adjacent hypervariable linker domain provides a second attractive force but for nonraft plasma membrane microdomains. Operating against the attractive interaction of the lipid anchor for lipid rafts is a repulsive force generated by the N-terminal catalytic domain that increases when H-ras is GTP loaded. These observations lead directly to a novel mechanism that explains how H-ras lateral segregation is regulated by activation state: GTP loading decreases H-ras affinity for lipid rafts and allows the hypervariable linker domain to target to nonraft microdomains, the primary site of H-ras signaling.