Energy shares have continued their recent revival and the ASX closed a little higher after investors enthused over the promising development of a coronavirus vaccine.

The S&P/ASX200 benchmark index closed up 13.9 points, or 0.21 per cent, to 6498.2 on Tuesday.

The All Ordinaries closed higher by 10.8 points, or 0.16 per cent, to 6697.8.

Energy shares finished 3.43 per cent better.

The indices rose to session highs in the first hour in response to US company Moderna’s claims it has a vaccine which is almost 95 per cent effective.

The momentum did not last, however, and the indices traded little changed for the rest of the session.

The Aussie dollar was buying 73.19 US cents at 1624 AEDT, higher from 72.89 US cents at Monday’s close.