In most states, the P-trap should be at least 24 inches from the waste's exit point under the sink. This length is usually the tailpiece length. However, in some countries, the length can be up to 36 inches.