Scotland is home to some of the greatest scenery the UK has to offer making it an absolute must to explore by train.

The country has featured in the Harry Potter franchise, as the Hogwarts Express snaked through the hills and lakes crossing the famous Glenfinnan viaduct. It is not just the film buffs that will get a kick out of visiting the nation by train as there are a host of interesting and picturesque routes that rival the best in the world.

Here are a selection of some of the most scenic lines in Scotland.

Glasgow to Mallaig

Commonly known as the West Highland Line, the route between the major city of Glasgow and the rural Mallaig provides a host of sights for passengers. It connects the hubbub of Scotland's second city to the Highlands and people can venture even further by jumping on a ferry to the nearby Isle of Skye.

It snakes out of the urban metropolis moving into the Scottish countryside passing over viaducts and moors, weaving through mountains and glens. Passengers will be able to catch a glimpse of Gare Loch and Loch Lomond.

One of the highlights of this route is the northbound climb to Glenfinnan passing over the famous viaduct, as seen in the Harry Potter franchise..

Kyle of Lochalsh to Inverness

The Scottish Highlands are one of the true gems the UK has to offer and this route will provide all the dramatic scenery a passenger could ask for. Setting off at the tip of the country at Kyle of Lochalsh, the Kyle Line heads through the likes of Achanalt, Achnashellach, Plockton and Duncraig.

It offers some great views as it makes its way to Dingwall, where people can move on to the likes of Muir of Ord and River Ness before making the final destination of Inverness. The bustling city is a must for any tourist and somewhere they can pick up some Scottish whisky and shortbread.

Inverness to Wick

This route can take passengers to the very tip of Scotland where the next stop any further north would be Iceland or the Faroe Islands. This single-track route is the most northerly railway in the entire UK and again takes in some great sights along the way. Due to the sparsely populated area there is miles of untouched countryside.

Large parts of the route offer historical value as the train weaves its way up the line to reach Thurso and then moving on to Wick.

Dalmeny to North Queensbury

While this route between two small towns on the outskirts of Edinburgh does not seem like an instant choice, the trip between Dalmeny and North Queensbury offers one special piece of scenery – the Forth Bridge.

The stations part of the Fife Circle linking the capital with Fife and once the trains leaves Dalmeny it enters the world-famous bridge. This amazing feat of engineering is a must-see and is an extra delight for people travelling between Edinburgh and Aberdeen.

It was first opened in 1890, spanning a huge 2,500 metres over the River Firth.