A urinal that rises out of the ground will be built in a Surrey town.
The toilet, at North Street, Guildford, can be stored under the pavement in the daytime and is being installed to stop people urinating on the streets.
Known as a Urilift, the 2m tall stainless steel nocturnal lavatory rises from the ground when it is activated by remote control.
A spokesman for Guildford Borough Council said the new facility would help to tackle public urinating.
"We feel that the Urilift will help reduce what appears to be predominantly male anti-social behaviour in the town centre," he said.
"Guildford's retailers and the council's street cleaning crews spend a great deal of time washing and disinfecting areas that have been affected by this problem."
There are already about 100 Urilifts in use around Europe, as well as in many areas in the UK, including Colchester in Essex, and Westminster in London.