All persons who are registered in Sweden receive a personal identity number as a means of identification. If you have received a personal identity number, you retain the same number for life. This means that the number does not change if, for example, you move abroad.
The Swedish Tax Agency issues personal identity numbers. In order to be registered and receive a Swedish personal identity number, you must inform the Swedish Tax Agency that you wish to live in Sweden.