"Turkey will not be a border guard or a refugee camp of the EU", officials said after Austrian Chancellor Sebastian Kurz's remarks that Turkey is a "more suitable place" for Afghan refugees.
The Turkish Foreign Ministry said in a written statement that Ankara read Kurz's statement with "astonishment".
"First of all, Turkey is not a country neighbouring Afghanistan as Chancellor Kurz stated," the statement said.
"Instead of emphasizing joint efforts and cooperation to solve the problem of irregular migration, which affects the whole world and is a common issue for everyone, the attitude that 'migrants should not come here, go elsewhere' is both selfish and unhelpful," it added.
Turkey started to strengthen its border defences to prevent the influx of Afghanistan immigrants by building a concrete wall along its border with Iran.