Szafarnia was formerly part of the German Empire. In the German Empire, the place was called Forsthausen, Kr. Strasburg (Westpr.).
The place is now called Szafarnia and belongs to Poland.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Schaffarnia | German Empire | Strasburg i. Westpr. | before the Versailles Treaty |
| Szafarnia | Poland | Brodnica | after the Versailles Treaty |
| Forsthausen, Kr. Strasburg (Westpr.) | German Empire | Strasburg (Westpr.) | 1939 |
| Szafarnia | Poland | Nowe Miasto Lubawskie | 1945 |
| Szafarnia | Poland | Toruń | 1992 |