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 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 "Formulario PA-Autoriz./Permisos y control migratorio"" under code 07562 with concepto "Autorizacion por estadia afuera del pais por treinta (30) dias" at any branch of the Banco de la Nacion or on pagalo.pe. Keep the receipt safe!
You can find detailed explanations on how to pay, what you have to do and be aware of, how to register on the online payment platform pagalo.pe in our article "Paying administration charges and processing fees in Peru".
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 sent 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.