If you decide to stay in your home, you might have to wait a few months or many years for the market to improve. If the underwater mortgage eventually leads to foreclosure, those negative marks on your credit report can last for up to 10 years. (A short sale also hurts your credit, but not as much as a foreclosure does.)