Foreigners in Peru who applied for a visa - correctly who applied for a change of their immigration status (cambio de calidad migratoria) or a change of their visa type (cambio de clase de visa) - as well as those who applied for an extension of their residence visa can only leave the country during the processing time of their application with a special travel permit (Permiso especial de viaje, officially as well called Autorización de estadía fuera del país).
While for years those that had to or wanted to travel outside Peru during the processing time of their application had to pay the Migraciones office in Peru a visit to apply for the permit in person before their travel, in March 2018 the application process was simplified and now can be easily done online.
So, if the approval of your visa or of the extension of your residence visa is still in process and you have or want to leave the country, first pay S/ 29.90 for the administrative procedure "Autorización de estadía fuera del país" under code 07562 at any branch of the Banco de la Nacion or on pagalo.pe. Keep the receipt safe!
!!!Please note!!! Since the introduction of the new immigration law in July 2021, not only did some procedures and requirements change but also lots of codes needed to pay Migraciones fees. Until now pagalo.pe isn’t updated and it’s not possible – at least at the moment – to pay online. So unfortunately, you have to pay all Migraciones related fees at the counter of a Banco de la Nacion branch.
Then open the Migraciones Agencia Virtual. Choose "Extranjero" and enter the data requested. Enter your personal data exactly as in your passport. On the next page you find under "Permisos" the point "Especial de viaje". Then follow the steps as indicated. Have your flight ticket on hand as you might be asked to upload it and the receipt from the bank as you must enter some data from it - if you don't know where to find the requested numbers on your receipt, click on the question mark. At the end of the process, you either directly get the travel authorization or first a confirmation of your application and usually within 48 - 72h later the authorization is send to you. Either way download the documents and / or print them and keep them safe!
Migraciones suggests applying for the travel permit 48 - 72h before you travel outside the country.
The Permiso especial de viaje / Autorización de estadía fuera del país is valid for 30 days counted from the departure date you indicated and can’t be extended. If you stay outside the country longer, the application of your visa or visa extension is canceled.
Be aware as well that the travel permit must be applied for before (!) your travel and only entitles the applicant to one (!) exit and re-entry.