When a co-borrower on a joint mortgage dies, the surviving partner is responsible for repaying the loan, as the two co-borrowers typically share any burden of debt equally.
If there is a co-signer, the mortgage will remain in place and the co-signer must take over the payments or otherwise fulfill the terms of the mortgage.