How long does a bankruptcy stay on my credit?

A chapter 7 bankruptcy will remain on your credit for 10 years from the date of filing. A chapter 13 will remain on your credit for 7 years from the date of filing.