An ordinary wash wears on all kinds of trousers, so this is a general general rule of thumb when washing trousers. You should also be aware that the color of the pants is affected in washing. Upon repeated washing, it will be obvious that the pants gradually lose their color. The fit of the pants will also be gradually affected, as the stretch will be looser and the pants will thus change the fit.
As you can hear, there are many disadvantages to machine washing your pants, so you need to be aware, that the above factors potentially ruin your pants in the long run. This is therefore not recommended. But do not despair, there are alternatives to machine washing. We recommend that you wash your trousers by hand and then air dry.