Scotland's top visitor attractions have 'outperformed' the rest of the UK for the sixth year running, according to analysis.

The Association of Leading Visitor Attractions found that Scotland's tourist destinations had a 'record-setting' 2017, with a 13.9 per cent increase in numbers through the doors compared to the previous calendar year.

This was up against the 7.3 per cent boost in visitor numbers recorded for sites across the UK as a whole.

For the first time in four years, the most visited attractions outside London were in Scotland, where two attractions welcomed more than two million visitors.

The National Museum of Scotland, which opened 10 new galleries in 2016, was the most visited attraction outside the UK capital.

It moved to 11th place in the overall UK list, with 2,165,601 visitors - a 20 per cent annual increase.

World-famous Edinburgh Castle was in 12th position with a 16 per cent increase in numbers to 2,063,709, making it the most visited paid-for attraction north of the border.

Visitor numbers across the four sites for National Galleries Scotland topped 2.5 million, with a 30 per cent increase at the Scottish National Gallery of Modern Art.

Mary King's Close on Edinburgh's Royal Mile experienced a nine per cent boost in numbers to almost a quarter of a million, while Inverewe Garden in Wester Ross, on the North Coast 500 route, enjoyed a 109 per cent rise.

Other strong increases were recorded at Glasgow Cathedral (36 per cent), Stirling Castle (18 per cent), People's Palace Glasgow (19 per cent), Culzean Castle (11 per cent), Crathes Castle (23 per cent) and Culloden (27 per cent).

Overall, 129,954,657 visits were made to the top 238 ALVA sites in the UK.

ALVA director Bernard Donoghue said: "2017 was a remarkable and record-setting year for Scottish attractions.

"The fact that Scottish visitor attractions are outperforming the rest of the UK in visitor growth reflects years of strong investment by central and local government in Scotland, and by organisations such as the Heritage Lottery Fund, in Scotland's visitor economy and cultural landscape."

He said 2018 promises to be an "exciting" year with the opening of the V&A in Dundee in September.

Tourism Secretary Fiona Hyslop said: "Scotland boasts high-quality attractions that, as these latest figures confirm, are continuing to draw increasing numbers of visitors.

"Our tourism sector is of vital importance to Scotland's economy. We have a rich heritage, a global reach and confident of our place in the world.

"We will continue to work with our tourism industry, including our visitor attractions, to make Scotland a world-class and welcoming visitor destination."