Context. In recent years, the detection of organic molecules with increasing complexity and potential biological relevance is opening the possibility to understand the formation of the building blocks of life in the interstellar medium. One of the families of molecules of substantial astrobiological interest are the esters. The simplest ester, methyl formate (CH3OCHO), is rather abundant in star-forming regions. The next step in the chemical complexity of esters is ethyl formate, C2H5OCHO. Despite the increase in sensitivity of current telescopes, the detection of complex molecules with more than ten atoms such as C2H5OCHO is still a challenge. Only two detections of this species have been reported so far, which strongly limits our understanding of how complex molecules are formed in the interstellar medium. New detections towards additional sources with a wide range of physical conditions are crucial to differentiate between competing chemical models based on dust grain surface and gas-phase chemistry.