Turkey was on Thursday drawing up retaliatory measures after Washington slapped sanctions on two Turkish ministers in the one of the biggest crises between the two NATO allies in recent years.

Tensions have soared over Turkey's detention on terror charges of American pastor Andrew Brunson, who was first held in October 2016 and was moved to house arrest last week.

The sanctions targeting Justice Minister Abdulhamit Gul and Interior Minister Suleyman Soylu freeze any property or assets on US soil held by the two ministers, and bar US citizens from doing business with them.

White House spokeswoman Sarah Sanders told journalists both ministers had "played leading roles in the arrest and detention of Pastor Brunson", who led a Protestant church in the Aegean city of Izmir.

The US Treasury implemented the sanctions under the 2016 Global Magnitsky Act named after Russian lawyer Sergei Magnitsky, who died in a Moscow jail, and which allows the US to sanction foreign officials implicated in rights abuses.