The 18-year-old has agreed a new deal that will keep him at Anfield until 2012.
Ayala made his first-team debut this season and has been more involved than it was expected, due to injuries at Anfield.
Ayala joined Liverpool from Sevilla in September 2007.