Tests have shown that Viagra can stay effective in the system for up to twenty hours. As well, it may take days to be fully eliminated.