In 1409, the Teutonic Knights started producing black gunpowder in the town, and a few decades later in the middle of the fifteenth century merchants from nearby Danzig (Gdańsk) erected an oil mill.
In 1454, King Casimir IV Jagiellon incorporated it to the Kingdom of Poland, which was confirmed in the peace treaty of 1466.
In 1920, as a consequence of the Treaty of Versailles, Neuteich was ceded by Germany to the Free City of Danzig, within which it became part of the district of Großes Werder.
With the capture of the Free City of Danzig at the beginning of World War II in 1939, Neuteich came under German rule.
In the following years, the remaining German population was expelled[citation needed] in accordance with the Potsdam Agreement and the town was repopulated by Poles.