Population registration in Sweden (Swedish: folkbokföring) is the civil registration of vital events (e.g. births, deaths, and marriages) of the inhabitants of Sweden. The data is kept in the population registry (folkbokföringsregister) and is administered by the Swedish Tax Agency (Skatteverket). The registry spans back several centuries and is thus often used by genealogists.
One can order a registry extract about oneself, and one is entitled to obtain all records of oneself in the registry according to Section 26 of the Personal Data Act. The information is publicly available, except for people needing secrecy, such as people threatened with violence.
The population registration in Sweden was originally maintained by the Church of Sweden, on the orders of the crown, and it remained the duty of the church until 1991. The oldest preserved records date from the early 17th century - though rolls of farmsteads, estates and local taxation with the names of peasants and nobles dwelling in the places in question have sometimes survived from the later Middle Ages on; these do not belong with the later program of population record keeping though, but are land/tax records. Complete archives are usually found from the mid 18th century onwards, unless records have been lost or destroyed by fire or the like.
The first decrees regarding person registration by local parishes came in 1608. A royal decree in 1631 required the names and dates of those born and passing away to be noted in the parish registry books. The scope of the record keeping was expanded through the 18th and 19th century and the archival corpus today constitutes one of the most in-depth records of an entire national population over centuries to be found anywhere in the world, not least through the records of local hearings of people's knowledge of the catechism (husförhör, the record books are called husförhörslängder); these were held annually in every parish and often provide valuable information on families, on the state of education, living conditions, individual capacity to read or write and even individual personal traits of the locals whom the parish priest would question on the faith. When other churches and congregations than the Church of Sweden were legally recognized (notably through the Dissenter Act of 1873 and the Liberty of Religion Act of 1951) these other congregations and confessions were required to keep records of births, deaths, marriages and so on and to share these with public authorities if it were required.