In survival analysis, type traits can be included as covariates to evaluate their use as predictors for survival. One problem in such an analysis is the availability of suitable data. Whereas data on the length of productive life (LPL) of individual cows can be retrieved from milk recording data, for type traits, all cows in the population must be scored for type at least once. In the present analysis, a dataset from the Osnabruck region in northwestern Germany, which fulfilled this requirement in recent years, was used. Data consisted of 169,733 cows with information on LPL for calving years 1980 to 1996 (dataset I) and of 39,233 cows with information on LPL and type for calving years 1990 to 1996 (dataset II). A further dataset (III) contained 43,116 cows from calving years 1987 to 1996 and included information on the housing system for each herd. The basic model included stage of lactation, relative production within herd, change of herd size, and year-season as time dependent effects; age at calving as a time-independent effect; and herd-year-season and sire as random effects. Other effects (information on type, housing system) were included additionally. For data-set II, the scores for 15 linear type traits were also included as corrected phenotypic values, estimated breeding values, and residuals from a previous BLUP analysis. The package Survival Kit 3.0 was used for all analyses. The results indicate a moderate heritability of 0.17 and 0.18 for true and functional LPL (dataset I). Almost all type traits analyzed (dataset II) exceeded a 0.001 level of significance in their effect on survival. The strongest relationships between survival and type were found for udder depth, fore udder attachment, and front teat placement. The main result from the comparison of housing systems (dataset III) was that bedding has a positive effect on survival.