If I smoked marijuana eighteen days ago can i pass a urine test?

It depends on your frequency of use. If you only smoked it once you will pass. However, if you smoke it daily you might not.