Vinicius Junior assisted on both goals.
Neymar, seeking his first major title with Brazil, stayed at 75 goals for the national team, two shy of Pelé's scoring record.
He was tackled hard a few times and appeared to hurt his ankle in the second half. He was limping at one point, and according to Brazilian media, was crying on the bench after being substituted in the 79th.
Brazil coach Tite started with an attack-minded squad that included four forwards — Neymar, Vinicius Junior, Raphinha and Richarlison. Attacking midfielder Lucas Paqueta played alongside Casemiro, the lone defensive midfielder.
But Serbia had several players back and were able to keep Brazil from creating many significant opportunities. Neymar tried to control the pace but struggled to find space up front. He, Vinicius Junior and Raphinha all squandered chances early on.
Brazil’s best chance before Richarlison’s opening goal had been a low long-range shot by Alex Sandro that hit the post in the 60th. Neymar had his best opportunities with a free kick in the 50th and a shot from near the penalty spot in the 55th.
The 30-year-old Neymar arrived to his third World Cup as Brazil’s main attraction. He helped the “Seleção” win the 2013 Confederations Cup and their first Olympic gold medal at the 2016 Rio de Janeiro Games, but has yet to win a major title with the national team.
Brazil, trying to win their first World Cup in two decades, are unbeaten in their last 20 opening games, with 17 victories. They have finished first in their group in the last 10 World Cups.
Brazil and Serbia also played in the group stage in 2018, with Brazil also winning 2-0 to reach the next stage at Serbia’s expense.
Since competing as Serbia in 2010, the country have not advanced to the knockout rounds of the World Cup.
As it happened in the Group H 2022 Fifa World Cup clash between Brazil and Serbia: