"Accurate information on drug use is essential if associated harms are to be addressed effectively," said Assistant Commissioner Bill Searle.
Mr Searle said the results will also inform treatment and enforcement strategies, allow comparison with international data, measure the effectiveness of education and enforcement and provide intelligence data.
"International studies of wastewater have shown distinct temporal and geographic patterns of drug use."
Mr Searle said in Perth police were able to measure things like peak days for use and the effects big seizures have on their usage rates.
The testing will be undertaken by the Institute of Environmental Science and Research for one week each month for a year.
ESR scientist Andrew Chappell says "this is an exciting new area of research that we are proud to work together with the Police on".
Wastewater testing and analysis is a means of quick and accurate assessment of prevalence of drug use in a community.