The 39-year-old, who has been remanded in custody since 20th January, appeared in court at his own request, giving a brief statement to the judge in which he admitted the pair had sexual relations but said it was consensual, judicial sources said.
The former Barcelona and Paris Saint-German star is under investigation for the alleged crime of sexual assault - which in the Spanish penal code includes rape.
Police said they received a complaint from a young woman on 2nd January, with a source close to the investigation confirming Alves was accused of rape. The incident reportedly took place in the bathroom of a popular Barcelona nightclub in late December.
The player, who initially denied knowing her, changed his story several times, later saying they had consensual relations, sources close to the case said.