Metformin will remain in your system for approximately four days, at which time it is excreted out of the body in your urine.