Real want to sign Alan initially for their Castilla squad this season.
"I received the offer before the game against Barcelona, they watched me in three games in a row when I played as a starter against Portuguesa, Coritiba and Crac," Alan told Globo Esporte.
"I am very happy, I am a reserve player and Real Madrid are interested in me.
"It's of a course a dream, but it's in God's hands. If I have to go now, I will. If not, I can go later."
For the big stories and the banter follow us on Twitter: @tribalfootball