Gibson said: "I am delighted to have agreed a long-term deal with my hometown club.
"I did not expect to play as much as I did last season and to get picked for England was a real bonus. I played in some different positions and I think I went okay.
"Having been in the first team and played for England; that has definitely whetted my appetite and I hope I can at least match that this season. I have definitely raised my expectations of myself and I am challenging myself to raise the bar again.
Rhinos boss Tony Smith added: "Ashley is a very talented young player who has shown he can play at the highest level.
"I am looking forward to coaching him in the future and seeing him continue to work hard and develop as a player.
"We are proud that we are a club who give our young players the chance to reach their full potential and I am delighted Ashley has agreed this new contract."