This study deals with credit risk modelling and stress testing within the context of a Merton-type one-factor model. We analyse the corporate and household sectors of the Czech Republic and Germany to find determining variables of credit risk in both countries.