Isogeometric analysis is a versatile tool for failure analysis. On the one hand, the excellent control over the inter-element continuity conditions enables a natural incorporation of continuum constitutive relations that incorporate higher-order strain gradients, as in gradient plasticity or damage. On the other hand, the possibility of enhancing a basis with discontinuities by means of knot insertion makes isogeometric finite elements a suitable candidate for modeling discrete cracks. Both possibilities are described and will be illustrated by examples.