Thalheim bei Wels is a town in the Wels-Land District in the Austrian state of Upper Austria.
It is situated on the right bank of the river Traun, opposite the city of Wels.
About 11.6% of the municipality is forest, 69% is farmland.