Toilets are the latest contraceptive in this Welsh town.

The seaside enclave of Porthcrawl plans to install futuristic bathroom fixtures to stop sex in public restrooms, The Guardian reported.

People doing the dirty inside stalls will be soaked with water jets and interrupted by high-pitched alarms, the outlet reported.

The doors will also fling open when the weight-sensitive floors detect more than one user, according to the paper.

The Porthcrawl town council is spending 170,000 euros, about $188,605, for the October project, intended to deter “inappropriate sexual activity and vandalism.”

The new restrooms will also include automated wall and floor cleaners that will activate each night for about 10 minutes.