48-72 hours. If you are taking large doses (such as 50mg or above) or have been taking it for long periods of time (several months to years) or both it will probably take longer.
XR can stay in your body for more than a week. Regular Adderall, only 3 days