Yes, you can walk away -- it would be good to do the right thing, though, by providing the lender with a deed-in-lieu of foreclosure. This will save the lender having to file a foreclosure action against you to obtain the right to sell the property to satisfy the mortgage. Have you considered selling the property to a 3rd party and having them pay off the loan by getting their own financing? That way, you might come out whole.