Fleshy fruits are generally hard and unpalatable when unripe; however, as they mature, their quality is transformed by the complex and dynamic genetic and biochemical process of ripening, which affects all cell compartments. Ripening fruits are enriched with nutrients such as acids, sugars, vitamins, attractive volatiles and pigments and develop a pleasant taste and texture and become attractive to eat. Ripening also increases sensitivity to pathogens, and this presents a crucial problem for fruit postharvest transport and storage: how to enhance pathogen resistance while maintaining ripening quality. Fruit development and ripening involve many changes in gene expression regulated by transcription factors (TFs), some of which respond to hormones such as auxin, abscisic acid (ABA) and ethylene. Ethylene response factor (ERF) TFs regulate both fruit ripening and resistance to pathogen stresses. Different ERFs regulate fruit ripening and/or pathogen responses in both fleshy climacteric and non-climacteric fruits and function cooperatively or independently of other TFs. In this review, we summarize the current status of studies on ERFs that regulate fruit ripening and responses to infection by several fungal pathogens, including a systematic ERF transcriptome analysis of fungal grey mould infection of tomato caused by Botrytis cinerea. This deepening understanding of the function of ERFs in fruit ripening and pathogen responses may identify novel approaches for engineering transcriptional regulation to improve fruit quality and pathogen resistance.