Foreclosures will stay on your credit report for seven years. However, your foreclosure's negative effect on your credit score and your ability to qualify for credit starts to fade before it falls off your credit report. Depending on your lender, you may qualify for a HELOC a few years after your foreclosure.