PDZ domains can dimerize or bind to the carboxyl termini of unrelated proteins. Crystallographic studies demonstrate the structural basis for these interactions, which contribute to the ability of PDZ domains to create networks associated with the plasma membrane.