nnFormer is introduced, a powerful segmentation model with an interleaved architecture based on empirical combination of self-attention and convolution that achieves tremendous improvements over previous transformer-based methods on two commonly used datasets Synapse and ACDC.