Up to a week
Vicoden and Percocet
contain a synthetic opiate which will only test positive on a drug screen which tests for expanded opiates
Routine 5, 6 and 10 panel drugs screens do not test for synthetic opiates so if this is the drug test being performed it will not test positive at all. If the test includes expanded opiates it can be positive for up to a week after the drug was last used.