On 30 October 2012, Gayà appeared in his first official game with the main squad, playing the full 90 minutes in a 2–0 away victory over UE Llagostera in the round of 32 of the Copa del Rey. He made his first appearance in the UEFA Europa League on 12 December of the following year, in a 1–1 group stage home draw with FC Kuban Krasnodar.