The Spanish giants opened their defence of the Champions League with a 3-1 win over Stuttgart at the Santiago Bernabeu on Tuesday night.
Kylian Mbappe opened the scoring seconds into the second half, with Deniz Undav scoring to level the match before Antonio Rudiger put the hosts ahead again.
Enrick, having come off the bench, then scored his first goal in Europe' elite competition with a powerful long-range strike into the bottom corner in stoppage time.
The Brazilian youngster's strike came after he ignored the option to pass to Mbappe or Vinicius Jnr, who were on either side of him.
He jumped over the advertising hoardings and celebrated with fans behind the goal after sealing a hard-earned win for Carlo Ancelotti's side.
The Brazil international told the media afterwards: 'I knew I had Kylian and Vini, but at that moment the best option was to shoot.'
Real boss Ancelotti heaped praise on the 18-year-old, saying: 'He has balls! Endrick had courage.
'It was the last move of the game. He was convinced he'd score. He went for the most difficult solution, but it went well.
Endrick's new model wife, Gabriely Miranda, was at the Santiago Bernabeu to watch him score his second goal of the season.
Endrick's new wife, Gabriely Miranda (pictured), was at the Santiago Bernabeu on Tuesday
Miranda, 23, was back on social media as Real Madrid began the defence of their European crown.
She posted several photos of herself posing in a Madrid shirt with the name 'Endrick' on the back in the stands ahead of kick-off.