Kevin Doyle is about to be congratulated by Liam Lawrence after scoring the Republic's second goal at the Aviva Stadium
The Republic of Ireland made it two wins from two games in the Euro 2012 qualifiers but had to struggle for periods in the victory over Andorra.
Kevin Kilbane headed the Republic ahead on 14 minutes and Kevin Doyle lashed in a glorious second on 41.
But Christian Martinez replied for the minnows before the break and the Irish appeared rattled after half-time.
Robbie Keane's deft finish on 54 minutes eased Republic nerves before the contest petered out.
The Republic took only 14 minutes to open the scoring at the Aviva Stadium against the world's 201st ranked side after the lively Aiden McGeady's trickery had forced a corner.
From the set-piece, Liam Lawrence delivered a superb ball which was glanced in at the near post by Kilbane for his eighth international goal.
The goal was the fitting reward for a purposeful opening by the Irish.
McGeady was tormenting the Andorran defence while the Republic were varying their attacking tactics to good effect with a mixture of precise passing and long balls which were troubling goalkeeper Josep Anton Gomez.
However, the Republic lost their way in the aftermath of Kilbane's goal.
Sergi Moreno tested Shay Given in the 17th-minute with a long-range shot which the safety-first Irish keeper pushed away for a corner.
The home side's fluency disappeared until the 30th minute when Lawrence was inches away from adding a second goal as he chipped into the side-netting from close range after another McGeady run.
The Irish appeared to be firmly back in business 11 minutes later when the wonderfully industrious Doyle lashed in a glorious goal with his left foot from the right angle of the penalty area.
Lawrence had dispossessed Moreno just outside the penalty area but little appeared on before Doyle curled in the glorious strike.
The goal appeared set to round off a satisfactory first half for the Irish but there was a shock in store before the break as Martinez struck in a superb half-volley to the net after the home defence appeared to switch off.
The home side still appeared rattled in the nine minutes after the break as misplaced passes allowed the visitors to make a few forays into the Irish half.
But home nerves were considerably eased in the 54th minute as Keane dinked delightfully into the net after McGeady had played a wonderful one-two with Paul Green before playing the Spurs striker into space in the box.
Keane's splendid finish represented his 44th international goal in 102 internationals.
Doyle appeared to be denied a blatant penalty in the 67th minute after being bundled over by Andorra skipper Ildefons Lima but the Irish were distinctly unimpressive for the remainder of the game.
Nevertheless, six points out of six puts the Irish on top in Group B and represented a good week's work by Giovanni Trapattoni's squad.
Rep of Ireland: Given, O'Shea (Kelly 74), St. Ledger, Dunne, Kilbane, Lawrence, Whelan (Gibson 61), Green, McGeady, Doyle (Keogh 82), Keane. Subs Not Used: Westwood, Fahey, Cunningham, Long.
Andorra: Josep Anton Gomez, Bernaus, Christian Martinez, Lima, Pujol (Sonejee 86), Escura, Sebastia Gomez, Ayala (Andorra 71), Vieira, Moreno, Silva. Subs Not Used: Pol, Rubio, Jimenez, Mejias, Lorenzo.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.