Heart failure is a syndrome resulting from a complex genetic predisposition and multiple environmental factors, and is a leading cause of morbidity and mortality. It is frequently accompanied by changes in heart mass, size, and shape, a process known as pathological cardiac remodeling. At the molecular level, these changes are preceded and accompanied by a specific gene expression program characterized by expression of certain 'fetal' genes. This re-expression of fetal genes in the adult heart contributes to the development of the syndrome. Therefore, counteracting the gene expression changes occurring in heart failure could be a therapeutic approach for this pathology. One mechanism of gene expression regulation that has gained importance is epigenetics. This review gives an overview of the roles of some epigenetic mechanisms, such as DNA methylation, histone modifications, ATP-dependent chromatin remodeling, and microRNA-dependent mechanisms, in heart failure.