If you've only smoked one joint, it will probably only be detectable by a urine test for the 4-10 days afterwards. If you're an occasional weed user (let's say a few times a month), this time goes up to 10-20 days.