Depending on the type of bankruptcy you file for, it will stay on your credit report for seven to ten years. Since this will affect your ability to get loans, buy property, and even get jobs, it should only be used as a last resort to resolve your financial difficulties.