Alhambra Palace in Andalusia, southern Spain, plans to use a new ticketing system that allows tourists to book online in advance.
Visitors will be able to purchase tickets between three months and two hours before their planned visit, according to the Spanish Tourism Office.
The visitor will also be able to print his personal non-transferable tickets at home instead of taking them from the ticketing office.
All what visitors have to do is show tickets on arrival. The new system will enter into force on 1 January 2018.
Visitors will be required to present their passports or ID number when purchasing electronic tickets. According to the German News Agency (DPA), the tourism office said this request aims to prevent the resale of tickets.
Tickets will remain available at the ticketing office in Alhambra, but cash will not be accepted, and payments will only take place via credit card.
Booking in advance is recommended. Alhambra Palace attracts about 2.7 million visitors a year and is considered an important feature of the Moro architecture.
It is added on the World Heritage List of the United Nations Educational, Scientific and Cultural Organization (UNESCO).