SCOTLAND has a strong connection with the Harry Potter franchise with the famous books having been written in Edinburgh.

The country has also starred extensively in the movies with iconic places making it onto the big screen over the years.

If you've ever wanted to visit some of Scotland's most magical Harry Potter filming locations, here are some of the most beloved.

The most magical Harry Potter filming locations you can visit in Scotland

Dumbarton and Vale of Leven Reporter: Rannoch Moor featured in the Deathly Hollows Part 1Rannoch Moor featured in the Deathly Hollows Part 1 (Image: Getty)

Check out some of the most magical Harry Potter filming locations across Scotland.

Rannoch Moor

Recognised by fans everywhere, Rannoch Moor is well-known for its starring role in The Deathly Hallows Part 1.

It was used as the backdrop for a scene involving a Death Eater raid on the Hogwarts Express.

With a number of scenic viewpoints off the A82, the rugged and breathtaking location is worth a visit.

Glenfinnan Viaduct and Jacobite Steam Train

Perhaps the most beloved spot among Harry Potter fans, the Glenfinnan Viaduct and its accompanying steam trains have been used throughout the film franchise.

The Jacobite Steam Train runs between early April and late October.

Dumbarton and Vale of Leven Reporter: The Glenfinnan Viaduct was often used to show the Hogwarts ExpressThe Glenfinnan Viaduct was often used to show the Hogwarts Express (Image: Getty)

Loch Shiel

Playing an important part in the fictional school's campus, Hogwarts Lake, also known as the Black Lake or Great Lake, is best known for being the setting of the Triwizard Tournament in the Goblet of Fire.

The real-life loch is known as Loch Shiel and is situated close to Fort William and the Glenfinnan Viaduct.

Glen Coe

One of the most famous places in Scotland, Glen Coe, unsurprisingly is another location known for its role in Harry Potter.

Fans may recognise the area for its use across the series such as in the Prisoner of Azkaban.

Dumbarton and Vale of Leven Reporter: Glen Coe featured in the Prisoner of AzkabanGlen Coe featured in the Prisoner of Azkaban (Image: Getty)

 

Steall Falls - Glen Nevis

Located in the outstanding Ben Nevis area, Steall Falls is the second-highest waterfront in Scotland.

The falls made an appearance in a few of the Harry Potter films with the protagonist fighting against a dragon during a Quidditch match in the Goblet of Fire here.

Lochs Arkaig, Etive, and Eilt

These three lochs are all featured in the last two films of the franchise (The Deathly Hallows Part 1 and 2) and are used when Harry, Ron and Hermione escape from Gringotts on the back of a dragon.