Edinburgh's tram system is to operate around the clock at weekends during the city's festival season.

During August, the system will run on Saturday nights between midnight and 5.30am.

The upgrade in service will see the tram services run every thirty minutes.

The festival season begins in two weeks, with the Fringe beginning officially on August 4, as well as the Edinburgh International Festival (EIF), and the Edinburgh International Book Festival begins on August 12.

Trams will run all night on August 5,12,19, and 26.

Sarah Singh, Edinburgh Trams service delivery manager, said: "This will be the first time we’ve run trams through the night during this world-renowned celebration of the arts, and these additional services are being introduced in response to feedback from customers who want an easy way to get around the city following late-night performances.

"The cost of travelling by tram at night will be the same as during the day, with a single ticket in the City Zone costing just £1.60 for adults."

She added: “As ever, this year’s festival is packed with events and performances to suit all tastes and the wrap will give people an idea of what to expect over coming weeks.

"Meanwhile the introduction of extra trams will help many night-owls enjoy themselves without worrying about how to get home, or back to their hotel, in the early hours."

Last year 5.6 million customer journeys were recorded on the capital's Trams, a growth of 10% and revenue growth of 12%.

This year's Fringe is the biggest to date, with more than 4,400 shows.

This year, the amount of shows in the programme is up 3.9%, to 3,398, with 300 venues listed, 2% up from last year.

There will be 53,232 performances in the festival, up nearly 6%, and artists from 62 countries are represented.

Both the Fringe and the EIF are celebrating 70 year anniversaries in 2017.

The EIF will open with Bloom, an outdoor, free light and music show in the city's St Andrew Square, on two nights on August 4 and 5.

Three sides of the square will be closed to traffic for Bloom, but not the side with the Tram tracks and the all night service.