Rakowiec is a village in the administrative district of Gmina Gniew, within Tczew County, Pomeranian Voivodeship, in northern Poland. It is located within the ethnocultural region of Kociewie in the historic region of Pomerania.