Karim Benzema opened the scoring for Madrid with a great run into the area, getting past a defender with a quick touch before sending a low shot into the far corner. It was also his first league goal. The French striker was returning from injury.
Striker Jorge Molina equalized for the hosts early in the second half. Replays showed Molina was offside.
Getafe also conceded late goals in home losses to Sevilla and Barcelona. It dropped to 14th in the 20-team standings.
"We can't allow this to keep happening," Molina said of the late goals. "Maybe we shouldn't have stayed only on defense, maybe we could have pressed a little bit more."