Tests showed Marcelo has a problem in his left adductor muscle and while Madrid have not given a recovery time, the Brazilian looks set to play no further part in the run-in.
Madrid’s last league game will be away at Leganes on July 19.
Ferland Mendy is Marcelo’s likely replacement, the Frenchman who has enjoyed an impressive opening year in Spain.
Marcelo will be hoping to regain fitness in time for Madrid’s Champions League last 16 second leg away at Manchester City on August 7. City won the first leg 2-1.