Uber will withdraw from Denmark in April because of new taxi laws that require drivers to have fare meters and seat sensors.
Local taxi driver unions and politicians have complained that Uber poses unfair competition by not meeting legal standards required for established taxi firms.
According to Uber, 300,000 riders use its app in Denmark and it has around 2,000 drivers.
The service will shut down on 18 April.
In a statement the firm said:
“For us to operate in Denmark again the proposed regulations need to change. We will continue to work with the government in the hope that they will update their proposed regulations and enable Danes to enjoy the benefits of modern technologies like Uber.”
Uber has been operating in Denmark for less than three years.