On 7 September 2020, Gil agreed to a four-year contract with RCD Espanyol, recently relegated from the top tier, after the club activated his €500,000 buyout clause.