The 24-year-old has signed a three-year contract with Mainz and will not return to Getafe next summer.
“Mainz is an excellent club for me,” said the midfielder. “Next year, we will move to a fantastic brand new stadium and I feel very happy in the region with my family.
“I am really glad to have completed this transfer so soon as this gives me room to plan beyond next summer.”