The 32-year-old goalkeeper, who has been linked with a summer move, is currently contracted to Real until 2017 and there is a clause which will see that extended by a further year if he plays 30 games or more in the final season of that deal.
Casillas is firmly of the belief that he can play until he is 40, and he admits he would love that to be with Real.
Casillas, who is a product of Real's own academy, has played over 600 games for the club since making his debut in 1999 and is also Spain's most capped player with over 150 appearances.
"I'm thinking more and more about what I'll do when I quit playing. I'd like to stay involved in football and help the club, if the circumstances allow it," he told Melodia FM,
"I can play on until I'm 40. If you look after yourself as a goalkeeper, you can carry on until that age.
"I'd love to be able to keep playing for Real Madrid until I'm 40, but a time will come when that's not possible. I'll consider my future at Real when my contract expires."
Casillas, who has won La Liga five times with Real and the Champions League twice, insists that silverware is still the thing that drives him.
"I'd like to keep winning trophies," he said.
"It's amazing to have the chance to win silverware and then go out and enjoy it with the fans on the street. It's a privilege".
Despite his success, Casillas concedes that he has had some good luck to get where he is.
"I think luck is like a story we sometimes hide behind. I remember things didn't go so well when I made my debut against Athletic, so I went back down to the B-team, but then Illgner got injured and I was promoted to the first team again," he said.
"Something similar happened in the World Cup in Japan and Korea. There are things that you think will never happen, but then they do. You never want anything bad to happen to a team-mate, but I seized my chance".