The Koreans, ranked 85th in the world, kept Brazil at bay for 55 minutes until Maicon's cross-cum-shot swerved in at the near post and the three points were assured by a rare moment of magic as Robinho laid a second goal on a plate for former Manchester City team-mate Elano, although Ji Yun-nam gave them a late scare by halving the deficit.
The win took Brazil top of Group G, above Portugal and the Ivory Coast who drew 0-0, but they did not particularly live up to their tag of joint World Cup favourites alongside Spain.
The North Koreans were the first to have a shot on target after 10 minutes when Japan-born striker Jong Tae-se bustled past two markers and drilled in a left-footed shot which Julio Cesar was able to gather.
Brazil – exponents of 'the beautiful game' – were dominating possession but struggling to pick the final pass and the Koreans were not purely sitting back as Cha Jong-hyok got forward to blast a left-footed shot wide after 15 minutes.
The South Americans threatened when Luis Fabiano slotted the ball through to Robinho in the box. The forward, on loan at Santos from Manchester City, was able to make room for a shot but North Korea goalkeeper Ri Myong-guk got well behind it.
The lack of genuine width seemed to be causing Brazil problems as North Korea's five-man defence ganged up on Kaka, Luis Fabiano, Robinho and Elano in a congested attacking third and Kim Jong-hun's team were content to burst forward in small numbers on the break.
Goalkeeper Ri parried away Maicon's drive at his near post in the 28th minute, Brazil's best effort up to that point.
The North Koreans were making a fight of it and, following a corner, Pak Chol-jin cut the ball back to Ri Kwang-chon but the defender scuffed a presentable shooting chance wide from 25 yards.
Not much was going Brazil's way as Michel Bastos's shot deflected off Pak Chol-jin and looped over the crossbar with Hungarian referee Viktor Kassai wrongly awarding a goal-kick, and Ri Kwang-chon made a vital header clear under pressure from Luis Fabiano as the half ended goalless.
The second half started in much the same vein as the first and Michel Bastos blasted a free-kick wide from just outside the box after Pak Chol-jin was penalised for a foul. The Real Madrid star then chested the ball down for Robinho to shoot from 26 yards but his right-footed effort was again wayward.
A goal finally came on 55 minutes when Elano played the ball into the box for the overlapping Maicon and his shot beat Ri at the near post, with the goalkeeper seemingly expecting the Inter Milan full-back to cut the ball back rather than shoot.
Brazil added a second in the 72nd minute as Robinho slipped a perfect through-ball to Elano advancing into the box on the right and the Galatasaray man made no mistake with a cool side-footed finish. The goalscorer was immediately substituted, with Dani Alves coming on.
Nilmar, on for Kaka, drove in a right-footed shot which Ri gathered at the second attempt with 12 minutes left and he also had to field a Felipe Melo effort shortly afterwards.
Juan had to make a last-ditch tackle to deny Jong a late chance and Ji then burst through to score, sparking a wild celebration, although the points remained with Brazil.