Marijuana remains in the body for up to 30 days after the last use.

https://recoverypartnernetwork.com/drug/illicit/smoking-marijuana