Myocardin is a cardiac- and smooth muscle-specific SAP domain transcription factor that functions as a coactivator for serum response factor (SRF), which controls genes involved in muscle differentiation and cell proliferation. The DNA binding domain of SRF, which interacts with myocardin, shares homology with the MEF2 transcription factor, which also controls muscle and growth-associated genes. Here we show that alternative splicing produces a cardiac-enriched isoform of myocardin containing a unique peptide sequence that confers the ability to interact with and stimulate the transcriptional activity of MEF2. This MEF2 binding motif is also contained in a previously unknown SAP domain transcription factor, referred to as MASTR, which functions as a MEF2 coactivator. This unique protein-protein interaction motif expands the regulatory potential of myocardin, and its presence in MASTR reveals a new mechanism for the control of MEF2 activity.