A bankruptcy will remain on your credit report for seven years.  However, in many cases, bankruptcy and restructuring will help give you the tools necessary to rebuild your credit in a way that might not have happened if you did not file.  It is definitely something to consider before you file for bankruptcy.