Partly verified

AFP or ONP as a foreign worker in Peru: must you join, and what happens to your fund when you leave?

Short answer

Yes, you must. Law 32123 says a foreigner in dependent employment joins the SNP (ONP) or the SPP (AFP) using the foreigner ID card or another permitted document. The exception is a social security treaty in force that covers your case. Peru has treaties with Argentina, Canada, Chile, Korea, Ecuador, Spain and Uruguay and applies the Ibero-American Multilateral Convention with more countries: with them you can combine years of contributions for a pension. If you are in an AFP and move abroad permanently, Law 27883 lets you transfer your fund to a foreign pension system.

VerificationPartly verifiedSee the sources ↓

  • 5sources cited
  • 4read at the official source
  • 4official institutions

Congress of Peru · El Peruano · Peruvian State portal (gob.pe) · cdn.aglty.io

Checked 29 Nov 2026Next review 28 Feb 2027

What is still unverifiedLaw 32123 was read in the Congress consolidated text and Law 27883 in the El Peruano page archived by Congress, read by OCR. The Law 27883 regulation, DS 154-2003-EF, could not be opened: the MEF server blocks the download and we did not find its El Peruano publication date, so it is not among our sources. The transfer requirements (36 months of contributions, the Migraciones document, legalisation and translation) therefore rest on one AFP's leaflet, which cites that decree, and not on the decree itself; we did not open the SBS procedure either. We did not review each treaty's conditions for exempting you from joining.

Foreign residentsWorkersBusinesses

Show it (in Spanish)

Yes: a foreigner on a payroll joins

Law 32123 has an express rule for foreigners. In dependent employment you join the ONP (SNP) or an AFP (SPP) with your foreigner ID card or another permitted document. The regulation adds that this applies if your immigration status is regular or you have a pending refuge application, that you have 10 calendar days from the start of your employment, and that you give your employer a copy of your affiliation certificate; the employer must ask you for it.

Choosing works as it does for a Peruvian: see AFP vs ONP.

The exception: a social security treaty

You need not join if you meet the conditions of a social security treaty in force in Peru. The law does not list those conditions; they are in each treaty, and we did not review them.

Per the ONP, Peru applies bilateral treaties with Argentina, Canada, Chile, Korea, Ecuador, Spain and Uruguay, and the Ibero-American Multilateral Convention, which also reaches Bolivia, Brazil, El Salvador, Paraguay, Portugal and the Dominican Republic.

Watch the word “treaty”: these are social security treaties and they count toward your pension. The ones that stop you paying tax twice are different, and the list is not the same: see double tax treaties.

For your pension: years in two countries add up

If you contributed in Peru and in a treaty country, you can claim a pension under the treaty. The ONP says this is also aimed at foreign members who work or have worked in Peru.

  • In Peru, the ONP serves you by video call.
  • If you live in the other country, you file with its liaison body.
  • Treaty documents need no consular legalisation: certification by the liaison body is enough.
  • The ONP answers within 30 calendar days; if it takes longer, it grants a provisional pension.

Leaving: moving your AFP fund

If you are in an AFP and emigrate to settle permanently abroad, you can ask for your fund to go to a pension fund there, provided you are affiliated to that system. No treaty between the two countries is needed. The transfer may not exceed 90 calendar days from your request.

The specific requirements are set by that law’s regulation, DS 154-2003-EF, and by the SBS. We could open neither. What follows comes from one AFP’s leaflet, which cites that decree:

  • enrolment in a mandatory pension system in the destination country that pays a pension until death;
  • at least 36 months of contributions to that system, before or after leaving Peru, or that country’s retirement age;
  • the last employer’s work certificate in Peru;
  • the Migraciones document authorising your permanent departure and cancelling your residence; with a temporary visa, the leaflet says the AFP accepts the permanent-exit stamp;
  • foreign documents legalised by the Peruvian consulate or apostilled, and translated if not in Spanish;
  • the member bears the cost of the transfer.

Confirm it with your AFP before relying on a deadline or a document.

We found no cash-out for leaving the country in Law 27883. If you are in the ONP, the law allows it only «previa transferencia» (after first transferring) to the SPP; we did not check how that works today.

Your case may change if…

  • A foreign employer posted you for a limited time: treaties usually have posted-worker rules, which we did not read.
  • You are self-employed and issue fee receipts: the law speaks of dependent employment, but its regulation also requires foreigners with fourth-category income to join if they start that activity from 1 January 2028.
  • Your country has no treaty: the Law 27883 transfer is still possible.
  • You lose your job: what then happens to your residency and your final settlement is on foreign worker who quits or is fired.

What we did not verify

  • Each treaty’s conditions for exempting you from joining.
  • The text of the Law 27883 regulation and the SBS procedure.
  • Extraordinary AFP withdrawal laws as applied to foreigners.

What this page does not cover

EsSalud, which is health and not pensions; the SCTR; the CTS; and the pension in your home country.

How to file

  1. Join with your foreigner ID cardOn a payroll, you join the ONP or an AFP with your carné de extranjería or another permitted document (Law 32123, Final Complementary Provision Eleven, a). The regulation sets the deadline: no later than 10 calendar days after your employment starts; you then give your employer a copy of your affiliation certificate, which the employer must ask you for (DS 189-2025-EF, article 22). Choosing and what happens if you never choose are on the AFP vs ONP page. Where: your employer, the AFP or the ONP.
  2. If your country has a treaty, check whether it exempts youForeigners who meet the conditions of a social security treaty in force in Peru are exempt (same provision, b). Ask your home institution for the certificate the treaty requires and give it to your employer. We did not review each treaty's conditions. Where: your country's social security institution.
  3. For retirement, combine your years of contributionsIf you contributed in Peru and in a treaty country, you can claim a pension that counts both. The ONP handles the application by video call; if you live in the other country, you file with its liaison body. The ONP answers within 30 calendar days and, if it takes longer, grants a provisional pension.
  4. Leaving for good and in an AFP? You can move your fundLaw 27883 lets an AFP member who emigrates to settle permanently abroad ask for the fund to be transferred to a foreign pension fund, if they are affiliated to a pension system there. No treaty between the two countries is needed. The transfer may not take more than 90 calendar days from the request. Where: your AFP.
  5. Gather what your AFP asks forAccording to one AFP's leaflet, which cites the Law 27883 regulation (DS 154-2003-EF), a foreign member needs: enrolment in a mandatory pension system in the destination country that pays a pension until death; at least 36 months of contributions to that system, before or after leaving Peru, or that country's retirement age; the last employer's work certificate; and the Migraciones document authorising permanent departure and cancelling residence, although with a temporary visa the leaflet says the permanent-exit stamp is enough. Foreign documents must be legalised by the Peruvian consulate or apostilled, and translated if not in Spanish. The leaflet adds that the member bears the transfer cost. We read neither the decree nor the SBS procedure: confirm with your AFP. Where: your AFP.

What people fail to ask in time

Do you know that the treaty that counts for your pension is not the same one that stops you paying tax twice?

Find out before it matters →

What most people believe — and what the law says

The belief

As a foreigner I don't have to contribute to a pension in Peru.

The law

Law 32123 says foreigners «que se encuentran en una relación laboral de dependencia, se afilian al SNP o SPP» (who are in dependent employment join the SNP or SPP). The only exception it carries is a social security treaty in force whose conditions you meet.

The belief

If I leave Peru, the AFP pays everything out in cash.

The law

What Law 27883 gives is a transfer of the fund «a un fondo previsional del exterior, siempre que se encuentren afiliados a un sistema previsional del exterior» (to a foreign pension fund, provided you are affiliated to a foreign pension system). We found no cash withdrawal for leaving the country in that law. Other extraordinary-withdrawal laws exist, but we did not review them for foreigners.

The belief

To move my fund, my country needs a treaty with Peru.

The law

Law 27883, article 3, says: «La existencia de convenios y acuerdos no es un requisito indispensable para la aceptación del traslado de fondos desde y hacia un sistema de fondos previsionales» (treaties and agreements are not an indispensable requirement for accepting the transfer).

The belief

The years I contributed in Peru are useless back home.

What the authority says

If your country has a treaty with Peru or is in the Ibero-American Multilateral Convention, the ONP states that you can obtain a pension by applying the treaty, and that the benefit is also aimed at foreign members who work or have worked in Peru.

Frequently asked questions

Which countries have a treaty with Peru?

Per the ONP: bilateral treaties with Argentina, Canada, Chile, Korea, Ecuador, Spain and Uruguay; and the Ibero-American Multilateral Social Security Convention, which includes Argentina, Bolivia, Brazil, Chile, Ecuador, El Salvador, Spain, Paraguay, Portugal, the Dominican Republic and Uruguay.

I'm American. Is there a treaty?

The United States is not on the ONP's list. Without a treaty you join like any worker and, if you are in an AFP and move abroad, you can use Law 27883 to transfer your fund to a foreign pension system that meets the conditions.

Do I need to legalise documents for a treaty pension?

Per the ONP, no: documents relating to the treaties do not need to be endorsed or legalised by diplomatic or consular authorities; certification by the liaison body is enough.

I'm in the ONP, not an AFP. Can I move my contributions?

Law 27883 deals with individual account funds in an AFP. Its Second Complementary Provision says contributors to other schemes may use it «previa transferencia» (after first transferring) to the SPP. We did not check how that works today from the ONP.

How long does the transfer take?

The law sets a maximum of 90 calendar days from the request (Law 27883, First Complementary Provision).

The exact law

Ley N.º 32123, Ley de Modernización del Sistema Previsional Peruano (Pension System Modernisation Law)Final Complementary Provision Eleven, items a) and b)read

A foreigner in dependent employment joins the SNP or the SPP with their foreigner ID card, unless they meet the conditions of a social security treaty (consolidated text published by Congress)

«a) En el caso de los ciudadanos extranjeros, que se encuentran en una relación laboral de dependencia, se afilian al SNP o SPP, a través de los documentos de identificación como el carné de extranjería o cualquier otro documento permitido bajo las normas vigentes. b) Quedan exceptuados de la obligación de afiliación, los ciudadanos extranjeros que cumplen con las condiciones establecidas en las disposiciones pertinentes de los convenios internacionales en materia de seguridad social vigentes en el Perú.»
✓ Article read directly in the official sourcePublished 24 September 2024Open official text →

Decreto Supremo N.º 189-2025-EF, Regulation of Law N.º 32123Article 22 (paragraphs 22.1, 22.2, 22.3 and 22.5)read

A 10-calendar-day deadline to join, regular immigration status or a pending refuge application, handing the certificate to the employer, and the treaty exemption repeated. Read in the official El Peruano search version

«22.1. Los extranjeros con vínculo laboral o que perciban rentas de cuarta categoría a que se refiere el literal a) del artículo 33 de la Ley del Impuesto a la Renta y que no estén afiliados a algún régimen previsional y que se encuentre en situación migratoria regular o aquellos que estén en proceso de solicitud de refugio, además de cumplir con los requisitos laborales establecidos en la legislación peruana se afilian obligatoriamente al Sistema y eligen entre el SNP o el SPP. 22.2. El plazo para la afiliación se realiza como máximo a los diez (10) días calendario de iniciado su vínculo laboral o, a partir del 1 de enero de 2028, en caso de iniciar actividades por las que se perciben rentas de cuarta categoría a que se refiere el literal a) del artículo 33 de la Ley del Impuesto a la Renta.»
✓ Article read directly in the official sourcePublished 5 September 2025Open official text →

Ley N.º 27883, law on transferring pension funds between the Private Pension System and foreign pension systemsArticles 1 and 3; First and Second Complementary Provisionsread

An AFP member who emigrates permanently may ask for the fund to go to a foreign pension fund, and no treaty between the two countries is required. El Peruano page of 15/12/2002 archived by Congress, read by OCR

«Los afiliados al Sistema Privado de Pensiones que emigren del país para establecerse de manera permanente en el exterior, podrán solicitar que los fondos de sus cuentas individuales de capitalización sean transferidos a un fondo previsional del exterior, siempre que se encuentren afiliados a un sistema previsional del exterior, conforme a las condiciones y procedimientos establecidos en los reglamentos correspondientes.»
✓ Article read directly in the official sourcePublished 15 December 2002Open official text →

ONP — Solicitar pensión por convenios internacionales (gob.pe)Countries covered, who it is for, requirements and time limitguidance

The ONP page listing the bilateral treaties and the Ibero-American Multilateral Convention, and the 30-calendar-day limit with a provisional pension if exceeded. Last changed 11/08/2025

«Si estás afiliado al Sistema Nacional de Pensiones ( D.L. N° 19990) o al Sistema Privado de Pensiones (SPP) , y vives en Perú, Argentina, Canadá, Chile, Corea, Ecuador, España o Uruguay, podrás acceder a una pensión de jubilación. Además, también podrás acceder a tu pensión a través del Convenio Multilateral Iberoamericano de Seguridad Social que incluye: Argentina, Bolivia, Brasil, Chile, Ecuador, El Salvador, España, Paraguay, Portugal, República Dominicana y Uruguay.»
Authority guidanceThe authority says it; it is not the text of a normPublished 11 August 2025Open official text →

AFP Profuturo — Transferencia de fondo al exterior, Ley N.º 27883 (commercial leaflet)Requirements for foreign memberspress

A commercial leaflet from one AFP, not from the SBS, which cites DS 154-2003-EF and lists the transfer requirements. We opened and read it on 29/11/2026, but it is not an official domain, so it does not carry leidaDirectamente. It shows no date, so the reading date is recorded

«Contar con un mínimo de 36 meses de aportaciones, anteriores o posteriores a tu salida del Perú o cumplir con la edad para acceder a una pensión de jubilación o vejez de la institución de destino.»
! Reported by the press — not an official textPublished 29 November 2026Open official text →

Related

What this page already lets you do

  • Name the rule that protects you
  • Copy the exact article and send it
  • Follow the steps, in order

What this page does not give you yet1 source on this page has not yet been read directly at the official source. See the sources ↑

Was this page helpful?

What was missing? Optional, tick what applies:

Did you spot a wrong fact? Report it with the source.

Thank you. Your answer was added to this page’s weekly total; we keep nothing about you.

You already answered on this visit. Thank you.

← Back to the page

Show this screen. The Spanish below comes from this page’s Spanish version; the English answer is at the bottom.

AFP u ONP siendo trabajador extranjero: ¿estás obligado y qué pasa con tu fondo al irte?

Sí estás obligado. La Ley 32123 dice que el extranjero con relación laboral de dependencia se afilia al SNP (ONP) o al SPP (AFP) con su carné de extranjería u otro documento permitido. La excepción es un convenio de seguridad social vigente que cubra tu caso. El Perú tiene convenios con Argentina, Canadá, Chile, Corea, Ecuador, España y Uruguay, y aplica el Convenio Multilateral Iberoamericano con más países: con ellos puedes sumar tus años de aporte para una pensión. Si estás en una AFP y te vas a vivir afuera de forma permanente, la Ley 27883 te permite trasladar tu fondo a un sistema previsional del exterior.

Ley N.º 32123, Ley de Modernización del Sistema Previsional Peruano Disposición Complementaria Final Décimo Primera, incisos a) y b)
«a) En el caso de los ciudadanos extranjeros, que se encuentran en una relación laboral de dependencia, se afilian al SNP o SPP, a través de los documentos de identificación como el carné de extranjería o cualquier otro documento permitido bajo las normas vigentes. b) Quedan exceptuados de la obligación de afiliación, los ciudadanos extranjeros que cumplen con las condiciones establecidas en las disposiciones pertinentes de los convenios internacionales en materia de seguridad social vigentes en el Perú.»
Fuente oficial
https://www.leyes.congreso.gob.pe/Documentos/2021_2026/ADLP/Texto_Consolidado/32123-TXM.pdf
Estado de la fuente
Artículo leído directamente en la fuente oficial
Verificado el
29 de noviembre de 2026 · Verificación parcial
Esta página
misderechos.pe/es/derechos/afp-u-onp-siendo-trabajador-extranjero-afiliacion-convenios-y-traslado-de-fondos/

La Ley 32123 se leyó en el texto consolidado del Congreso y la Ley 27883 en la página de El Peruano archivada por el Congreso, leída por OCR. El reglamento de la Ley 27883, el D.S. 154-2003-EF, no se pudo abrir: el servidor del MEF bloquea la descarga y no hallamos su fecha de publicación en El Peruano, así que no figura entre nuestras fuentes. Por eso los requisitos del traslado (36 meses de aportes, documento de Migraciones, legalización y traducción) se apoyan en el folleto de una AFP, que cita ese decreto, y no en el texto del decreto mismo; tampoco abrimos el procedimiento de la SBS. No revisamos qué condiciones pide cada convenio para exceptuarte de afiliarte.

In English Yes, you must. Law 32123 says a foreigner in dependent employment joins the SNP (ONP) or the SPP (AFP) using the foreigner ID card or another permitted document. The exception is a social security treaty in force that covers your case. Peru has treaties with Argentina, Canada, Chile, Korea, Ecuador, Spain and Uruguay and applies the Ibero-American Multilateral Convention with more countries: with them you can combine years of contributions for a pension. If you are in an AFP and move abroad permanently, Law 27883 lets you transfer your fund to a foreign pension system.