The application of competing risk model in the pricing of housing mortgage-backed securities is discussed based on measuring models of prepayment and default.It is put forward that prepayment and default are the main risks which face the investors of housing mortgage-backed securities,and on the premise of accurate measuring for the risk of prepayment and default housing mortgage-backed securities can be priced precisely.