Yes, you can still take out loans, but they will sometimes be more difficult to receive and come with high-interest rates. A foreclosure will stay on your credit record for at least seven years.