Bartra won 37 caps for Spain at youth level all categories comprised, including 16 for the under-21s.
He made his debut for the full side on 16 November 2013, playing the entire 2–1 friendly win in Equatorial Guinea.
This game was later annulled by FIFA as they had not been notified early enough that the referee would be from Equatorial Guinea, and his first valid appearance took place on 8 September 2014 as he came on as a 68th-minute substitute for Sergio Ramos in a 5–1 home triumph against Macedonia for the UEFA Euro 2016 qualifiers.

On 17 May 2016, Bartra was named in Vicente del Bosque's provisional squad of 25 for the finals in France, and he also made it to the final list of 23.
As the tournament ended at the round of 16, he was an unused member.

Bartra scored his first goal for his country on 11 October 2018, contributing to a 4–1 friendly defeat of Wales at the Millennium Stadium.
Bartra won 37 caps for Spain at youth level all categories comprised, including 16 for the under-21s. He made his debut for the full side on 16 November 2013, playing the entire 2–1 friendly win in Equatorial Guinea. This game was later annulled by FIFA as they had not been notified early enough that the referee would be from Equatorial Guinea, and his first valid appearance took place on 8 September 2014 as he came on as a 68th-minute substitute for Sergio Ramos in a 5–1 home triumph against Macedonia for the UEFA Euro 2016 qualifiers.
On 17 May 2016, Bartra was named in Vicente del Bosque's provisional squad of 25 for the finals in France, and he also made it to the final list of 23. As the tournament ended at the round of 16, he was an unused member.
Bartra scored his first goal for his country on 11 October 2018, contributing to a 4–1 friendly defeat of Wales at the Millennium Stadium.
Marc Bartra