21PSD-95 MAGUK family scaffold proteins are multi-domain organisers of synaptic transmission 22 that contain three PDZ domains followed by an SH3-GK domain tandem. This domain 23 architecture allows coordinated assembly of protein complexes composed of neurotransmitter 24 receptors, synaptic adhesion molecules, cytoskeletal proteins and downstream signalling 25 effectors. Here we show that binding of monomeric PDZ3 ligands to the third PDZ domain of 26 PSD-95 induces functional changes in the intramolecular SH3-GK domain assembly that 27 influence subsequent homotypic and heterotypic complex formation. We identify PSD-95 28 interactors that differentially bind to the SH3-GK domain tandem depending on its 29 conformational state. Among these interactors we further establish the heterotrimeric G protein 30 subunit Gnb5 as a PSD-95 complex partner at dendritic spines. The PSD-95 GK domain binds 31 to Gnb5 and this interaction is triggered by PDZ3 ligands binding to the third PDZ domain of 32 PSD-95, unraveling a hierarchical binding mechanism of PSD-95 complex formation. 33 2005). The MAGUK SH3 domain lost its function to bind proline-rich peptides; instead it forms 50 an intramolecular interaction with the GK domain (McGee et al., 2001). Similarly, the PSD-95 51 GK domain is atypical in that it is unable to phosphorylate GMP but has evolved as a protein 52 interaction domain (Johnston et al., 2011). Until now, binding of known interactors to the 53 GK domain typically involves residues of the canonical GMP-binding region (Reese et al., 54 2007; Zhu et al., 2011; Zhu et al., 2016b). This modular array of protein interaction domains 55 allows PSD-95 MAGUKs to function as bidirectional organisers of synaptic function. First, 56 neurotransmitter receptors can be incorporated or removed from postsynaptic membranes, 57 depending on molecular interactions with these sub-membrane scaffold proteins. Second, 58 together with other scaffold proteins at postsynaptic sites, they align downstream effectors and 59 cytoskeletal proteins. Accordingly, PSD-95 family MAGUKs are essential for the establishment 60 of long-term potentiation (LTP) by regulating the content of AMPA receptors at dendritic spines 61 (Ehrlich and Malinow, 2004; Opazo et al., 2012; Sheng et al., 2018). In line with this is the 62 observation that acute knockdown of PSD-95 MAGUKs leads to a decrease in postsynaptic 63 AMPA and NMDA receptor-mediated synaptic transmission as well as a reduction in PSD size 64 (Chen et al., 2015). Taken together, exploring protein complex formation directed by PSD-95 65 MAGUK family members is of central interest to understand synaptic regulation. We have 66 previously shown that synaptic MAGUK proteins oligomerise upon binding of monomeric 67 PDZ3 ligands (ligands that specifically bind to the third PDZ domain) (Rademacher et al., 2013) 68and speculated that ligand -PDZ3 domain binding induces conformational changes in the 69 C-terminal domains that lead to complex formation. Our initial observations of 70 (DTKNYKQASA, referred...