Reactivation of the fetal cardiac gene program is a characteristic feature of hypertrophied and failing hearts that correlates with impaired cardiac function and poor prognosis. However, the mechanism governing the reversible expression of fetal cardiac genes remains unresolved. Here we show that neuron-restrictive silencer factor (NRSF), a transcriptional repressor, selectively regulates expression of multiple fetal cardiac genes, including those for atrial natriuretic peptide, brain natriuretic peptide and alpha-skeletal actin, and plays a role in molecular pathways leading to the re-expression of those genes in ventricular myocytes. Moreover, transgenic mice expressing a dominant-negative mutant of NRSF in their hearts exhibit dilated cardiomyopathy, high susceptibility to arrhythmias and sudden death. We demonstrate that genes encoding two ion channels that carry the fetal cardiac currents I(f) and I(Ca,T), which are induced in these mice and are potentially responsible for both the cardiac dysfunction and the arrhythmogenesis, are regulated by NRSF. Our results indicate NRSF to be a key transcriptional regulator of the fetal cardiac gene program and suggest an important role for NRSF in maintaining normal cardiac structure and function.